Selaa lähdekoodia

use real file modes for zmodem uploads - fixes #4141

Eugene Pankov 4 vuotta sitten
vanhempi
sitoutus
cfc9333c02
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tabby-terminal/src/features/zmodem.ts

+ 1 - 1
tabby-terminal/src/features/zmodem.ts

@@ -163,7 +163,7 @@ export class ZModemDecorator extends TerminalDecorator {
         const offer = {
             name: transfer.getName(),
             size: transfer.getSize(),
-            mode: 0o755,
+            mode: transfer.getMode(),
             files_remaining: filesRemaining,
             bytes_remaining: sizeRemaining,
         }