Fix a malformed path on proton
This commit is contained in:
parent
b8afd3ab41
commit
0d4533df82
1 changed files with 2 additions and 2 deletions
|
@ -165,9 +165,9 @@ class Settings {
|
|||
if (Platform.isWindows) {
|
||||
paths.add(pth);
|
||||
} else {
|
||||
var rpl = ["Z:"]; // proton's
|
||||
var rpl = []; // proton's
|
||||
rpl.addAll(pth.split('/'));
|
||||
|
||||
rpl[0] = "Z:";
|
||||
paths.add(rpl.join("\\"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue