From b09568c221c68dcf73c868475d9392fb174c2782 Mon Sep 17 00:00:00 2001 From: FTCHD Date: Sat, 1 Feb 2025 16:15:39 +0200 Subject: [PATCH] fix currentPlatform for correct os download --- lib/rclone/init.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/rclone/init.ts b/lib/rclone/init.ts index 999b782..14550bd 100644 --- a/lib/rclone/init.ts +++ b/lib/rclone/init.ts @@ -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()