1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Update readme and standalone build process

This commit is contained in:
tobspr
2020-05-31 08:15:07 +02:00
parent 56080ea25a
commit 3f385b01e0
2 changed files with 11 additions and 8 deletions

View File

@@ -155,10 +155,7 @@ function gulptasksStandalone($, gulp, buildFolder) {
fs.writeFileSync(path.join(appPath, ".itch.toml"), tomlFile);
if (platform === "linux" || platform === "darwin") {
fs.writeFileSync(
path.join(appPath, "play.sh"),
"#!/usr/bin/env bash\r\n./shapezio\r\n"
);
fs.writeFileSync(path.join(appPath, "play.sh"), "#!/usr/bin/env bash\n./shapezio\n");
fs.chmodSync(path.join(appPath, "play.sh"), 0o775);
} else if (platform === "win32") {
// Optional: Create a playable copy. Shouldn't be required