build: remove .sh executables

- The size difference is not much
- sh executables are slower to load
- running sh requires chmod similar to downloaded exe
This commit is contained in:
Amin Yahyaabadi 2021-09-15 01:42:02 -05:00
parent 49ca00ee9f
commit 921e77430b
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ function main() {
if (process.platform === "win32") { if (process.platform === "win32") {
exes = [".exe"] exes = [".exe"]
} else if (process.platform === "darwin") { } else if (process.platform === "darwin") {
exes = [".app", ".sh"] exes = [""]
} else { } else {
exes = ["", ".sh"] exes = [""]
} }
return Promise.all( return Promise.all(