mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Add function to find default video save path
On windows this will return the documents\video directory, but on linux/mac it'll just return $HOME for the time being because I don't know if there really are any other appropriate adequate paths to use. Perhaps someone else can be willing to fill this in if they wish.
This commit is contained in:
@@ -101,3 +101,8 @@ bool InitApplicationBundle()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
string GetDefaultVideoSavePath()
|
||||
{
|
||||
return string(getenv("HOME"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user