Skip to content

Commit 4d5ea7b

Browse files
committed
fixed extra platform folder nesting
1 parent 11358f8 commit 4d5ea7b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: ts/home.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,7 @@ async function ensureSyncFolders(game: URL): Promise<string> {
455455
}
456456
}
457457

458-
let url = 'special/approot:/Games/';
459-
if (platform !== null) {
460-
url = url + platform + '/';
461-
}
462-
url = url + gameDir;
458+
let url = 'special/approot:/Games/' + gameDir;
463459
let response = await SYNC.makeRequest(url, {
464460
method: 'PUT',
465461
headers: {'Content-Type': 'application/json'},

0 commit comments

Comments
 (0)