fix currentPlatform for correct os download
This commit is contained in:
+1
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user