build.sh: hapus AppImage lama sebelum packaging
File yang sedang dijalankan tidak bisa ditimpa (Text file busy).
This commit is contained in:
1 parent
1935b5d83d
commit
f00662627a
1 file changed
+2
@@ -47,6 +47,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "==> bundle + package AppImage"
|
echo "==> bundle + package AppImage"
|
||||||
|
# hapus output lama dulu: file yang sedang dijalankan tidak bisa ditimpa langsung
|
||||||
|
rm -f "$OUT"/lazyrun-*.AppImage "$OUT"/lazyrun-*.AppImage.zsync
|
||||||
"$TOOLS/linuxdeploy" --appimage-extract-and-run \
|
"$TOOLS/linuxdeploy" --appimage-extract-and-run \
|
||||||
--appdir "$APPDIR" \
|
--appdir "$APPDIR" \
|
||||||
--desktop-file "$APPDIR/lazyrun.desktop" \
|
--desktop-file "$APPDIR/lazyrun.desktop" \
|
||||||
|
|||||||
Reference in new issue
Block a user