From e5862fcb956af2fe5076911ecf1cbf5c6874bd48 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Tue, 31 Dec 2024 17:14:56 -0600 Subject: [PATCH] Add a few more executable formats https://github.com/TurboWarp/scratch-gui/issues/969#issuecomment-2566729092 --- src/components/tw-security-manager-modal/download.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/tw-security-manager-modal/download.jsx b/src/components/tw-security-manager-modal/download.jsx index 91692ca43e1..09cc1b0610b 100644 --- a/src/components/tw-security-manager-modal/download.jsx +++ b/src/components/tw-security-manager-modal/download.jsx @@ -24,8 +24,11 @@ const DEFINITELY_EXECUTABLE = [ 'appxbundle', 'reg', 'iso', + 'drv', + 'sys', // Mac executable formats + 'app', 'dmg', 'pkg', @@ -60,6 +63,7 @@ const DEFINITELY_EXECUTABLE = [ 'asp', 'vbs', 'vbe', + 'ws', 'wsf', 'wsc', 'ahk', @@ -80,7 +84,7 @@ const DEFINITELY_EXECUTABLE = [ // Unix scripting languages 'sh', - // Common languages with interpreters that could be executed by double clicking on the file + // Common cross-platform languages with interpreters that could be executed by double clicking on the file 'js', 'py' ];