mirror of https://github.com/aminya/setup-cpp
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:
parent
49ca00ee9f
commit
921e77430b
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue