We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf95082 commit b5e1093Copy full SHA for b5e1093
1 file changed
source/globals.h
@@ -54,9 +54,9 @@ struct wxWindow;
54
55
//where to find various Unity things on windows
56
static const std::filesystem::path executable = "Editor\\Unity.exe";
57
- static const std::vector<std::filesystem::path> defaultInstall = {"\\Program Files\\Unity\\Hub\\Editor"};
+ static const std::vector<std::filesystem::path> defaultInstall = { homedrive / "\\Program Files\\Unity\\Hub\\Editor"};
58
59
- static const std::filesystem::path hubDefault = "\\Program Files\\Unity Hub\\Unity Hub.exe";
+ static const std::filesystem::path hubDefault = homedrive / "\\Program Files\\Unity Hub\\Unity Hub.exe";
60
static const std::filesystem::path templatesDir = "Editor\\Data\\Resources\\PackageManager\\ProjectTemplates\\";
61
62
/**
0 commit comments