diff options
Diffstat (limited to 'converter')
-rwxr-xr-x | converter/convert_darwin_arm64.sh | 2 | ||||
-rwxr-xr-x | converter/convert_darwin_x64.sh | 2 | ||||
-rwxr-xr-x | converter/convert_linux_arm64.sh | 2 | ||||
-rwxr-xr-x | converter/convert_linux_x64.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/converter/convert_darwin_arm64.sh b/converter/convert_darwin_arm64.sh index 2938746..9ff5ef7 100755 --- a/converter/convert_darwin_arm64.sh +++ b/converter/convert_darwin_arm64.sh @@ -21,7 +21,7 @@ echo "$0: Executable found at $executable" echo "$0: Copying launcher" rm -f "$executable" -cp "$me/launcher-darwin-arm64" "$executable" +cp "$me/launcher-darwin-arm64" "$executable" || cp "$me/../Launcher/launcher-darwin-arm64" "$executable" echo "$0: Removing built-in Electron" rm -rf "$1/Contents/Frameworks" diff --git a/converter/convert_darwin_x64.sh b/converter/convert_darwin_x64.sh index 79ba101..17be753 100755 --- a/converter/convert_darwin_x64.sh +++ b/converter/convert_darwin_x64.sh @@ -21,7 +21,7 @@ echo "$0: Executable found at $executable" echo "$0: Copying launcher" rm -f "$executable" -cp "$me/launcher-darwin-x64" "$executable" +cp "$me/launcher-darwin-x64" "$executable" || cp "$me/../Launcher/launcher-darwin-x64" "$executable" echo "$0: Removing built-in Electron" rm -rf "$1/Contents/Frameworks" diff --git a/converter/convert_linux_arm64.sh b/converter/convert_linux_arm64.sh index a6476a5..3a336d6 100755 --- a/converter/convert_linux_arm64.sh +++ b/converter/convert_linux_arm64.sh @@ -30,7 +30,7 @@ echo "$0: Executable found at $executable" echo "$0: Copying launcher" rm -f "$executable" -cp "$me/launcher-linux-arm64" "$executable" +cp "$me/launcher-linux-arm64" "$executable" || cp "$me/../Launcher/launcher-linux-arm64" "$executable" new=$(du -hs "$1" | awk '{print $1;}') diff --git a/converter/convert_linux_x64.sh b/converter/convert_linux_x64.sh index 462641c..9908ff1 100755 --- a/converter/convert_linux_x64.sh +++ b/converter/convert_linux_x64.sh @@ -30,7 +30,7 @@ echo "$0: Executable found at $executable" echo "$0: Copying launcher" rm -f "$executable" -cp "$me/launcher-linux-x64" "$executable" +cp "$me/launcher-darwin-x64" "$executable" || cp "$me/../Launcher/launcher-darwin-x64" "$executable" new=$(du -hs "$1" | awk '{print $1;}') |