fix currentPlatform for correct os download

This commit is contained in:
FTCHD
2025-02-01 16:15:39 +02:00
parent 17596de753
commit b09568c221
+1 -2
View File
@@ -89,8 +89,7 @@ export async function provisionRclone() {
const currentPlatform = platform()
console.log('currentPlatform', currentPlatform)
const currentOs =
currentPlatform === 'macos' ? 'osx' : currentPlatform === 'windows' ? 'win' : 'linux'
const currentOs = currentPlatform === 'macos' ? 'osx' : currentPlatform
console.log('currentOs', currentOs)
let tempDirPath = await tempDir()