mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
Add temp environment variables to fix GetTempPath(2)W
This commit is contained in:
@@ -119,6 +119,10 @@ namespace
|
||||
env_map[u"USERNAME"] = u"momo";
|
||||
env_map[u"SystemDrive"] = u"C:";
|
||||
env_map[u"SystemRoot"] = u"C:\\WINDOWS";
|
||||
env_map[u"SystemTemp"] = u"C:\\Windows\\SystemTemp";
|
||||
env_map[u"TMP"] = u"C:\\Users\\momo\\AppData\\Temp";
|
||||
env_map[u"TEMP"] = u"C:\\Users\\momo\\AppData\\Temp";
|
||||
env_map[u"USERPROFILE"] = u"C:\\Users\\momo";
|
||||
|
||||
for (const auto& key : keys_to_expand)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user