Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

AppImage: fix zsync file name

Kabir Oberai65c120fd0067
diff --git a/Linux/build.sh b/Linux/build.sh
index b21798a..8a269f7 100755
--- a/Linux/build.sh
+++ b/Linux/build.sh
@@ -44,7 +44,7 @@ mkdir -p staging/tmp/AppDir/usr/bin
find "${bin}"/ -name '*.resources' -print0 | xargs -0 -I {} cp -a {} "${PWD}/staging/tmp/AppDir/usr/bin/"
env \
-LDAI_OUTPUT="staging/tmp/xtool.AppImage" \
+LDAI_OUTPUT="staging/tmp/xtool-${curr_arch}.AppImage" \
LDAI_UPDATE_INFORMATION="gh-releases-zsync|xtool-org|xtool|latest|xtool-${curr_arch}.AppImage.zsync" \
./staging/linuxdeploy/linuxdeploy.AppImage \
--appdir staging/tmp/AppDir \
@@ -53,8 +53,7 @@ LDAI_UPDATE_INFORMATION="gh-releases-zsync|xtool-org|xtool|latest|xtool-${curr_a
-d xtool.desktop \
-i xtool.png
mkdir -p packages
-mv -f staging/tmp/xtool.AppImage "packages/xtool-${curr_arch}.AppImage"
-mv -f ./xtool.AppImage.zsync "packages/xtool-${curr_arch}.AppImage.zsync"
+mv -f "staging/tmp/xtool-${curr_arch}.AppImage" "./xtool-${curr_arch}.AppImage.zsync" packages/
rm -rf staging/tmp