Fix finding jsfx on Windows
Closes #265 Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
697e5ea677
commit
5f558c0d84
3 changed files with 8 additions and 1 deletions
|
|
@ -77,8 +77,11 @@ std::string getSpecialPath(const SpecialPath type)
|
|||
case kSpecialPathCommonProgramFiles:
|
||||
csidl = CSIDL_PROGRAM_FILES_COMMON;
|
||||
break;
|
||||
case kSpecialPathProgramFiles:
|
||||
csidl = CSIDL_PROGRAM_FILES;
|
||||
break;
|
||||
case kSpecialPathAppData:
|
||||
csidl = CSIDL_COMMON_APPDATA;
|
||||
csidl = CSIDL_APPDATA;
|
||||
break;
|
||||
default:
|
||||
return {};
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ bool isStandalone();
|
|||
enum SpecialPath {
|
||||
kSpecialPathUserProfile,
|
||||
kSpecialPathCommonProgramFiles,
|
||||
kSpecialPathProgramFiles,
|
||||
kSpecialPathAppData,
|
||||
};
|
||||
std::string getSpecialPath(SpecialPath type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue