Use native APIs instead of env vars or finding Windows paths
Fixes #202 Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
c411946ccf
commit
56305eb037
3 changed files with 41 additions and 13 deletions
|
@ -41,6 +41,14 @@ namespace window {
|
|||
void generateScreenshot();
|
||||
}
|
||||
|
||||
#ifdef ARCH_WIN
|
||||
enum SpecialPath {
|
||||
kSpecialPathUserProfile,
|
||||
kSpecialPathCommonProgramFiles,
|
||||
};
|
||||
std::string getSpecialPath(SpecialPath type);
|
||||
#endif
|
||||
|
||||
} // namespace rack
|
||||
|
||||
namespace patchUtils {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue