mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 995310 - Only create metro folder in metro environment. r=Yoric
This commit is contained in:
parent
68ad33b4bc
commit
ab58b8f2fa
@ -171,7 +171,9 @@ this.CrashMonitor = {
|
||||
);
|
||||
|
||||
CrashMonitorInternal.initialized = true;
|
||||
OS.File.makeDir(OS.Path.join(OS.Constants.Path.profileDir, "metro"));
|
||||
if (Services.metro && Services.metro.immersive) {
|
||||
OS.File.makeDir(OS.Path.join(OS.Constants.Path.profileDir, "metro"));
|
||||
}
|
||||
return promise;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user