windows cli fixes

Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
FTCHD
2025-09-23 20:27:35 +02:00
parent 98c985dad4
commit d2e0d1018a
5 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ async function startRclone() {
command.addListener('close', async (event) => {
console.log('close', event)
if (event.code === 1 || event.code === 143) {
if (event.code === 143 || (platform() === 'windows' && event.code === 1)) {
Sentry.captureException(new Error('Rclone has crashed'))
const confirmed = await ask('Rclone has crashed', {
title: 'Error',