mirror of
https://github.com/ayozetr/bloodborne_linux.git
synced 2026-11-07 09:46:04 -10:00
AppImage build: the new image is renamed into dist/
packaging/appimage-in-arch.sh copied the new AppImage over dist/Bloodborne-bbport-x86_64.AppImage. When the previous build was still open (its launcher, or the game), that changed the file under its mount and the running program could crash. The new image is now copied next to it and renamed over it: the open one keeps running from the old file, and the next start uses the new one.
This commit is contained in:
1 parent
7c6b25a560
commit
62dbeefa6b
1 file changed
+4
-1
@@ -34,5 +34,8 @@ docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/home/builder
|
||||
bash tools/build_dlss.sh
|
||||
bash packaging/appimage-sharun.sh'
|
||||
mkdir -p dist
|
||||
cp "$work/src/dist/Bloodborne-bbport-x86_64.AppImage" dist/
|
||||
# Renamed into place: an AppImage of the last build that is still open keeps running from the
|
||||
# old file (copying over it would change the image under its mount).
|
||||
cp "$work/src/dist/Bloodborne-bbport-x86_64.AppImage" dist/.Bloodborne-bbport-x86_64.AppImage.new
|
||||
mv -f dist/.Bloodborne-bbport-x86_64.AppImage.new dist/Bloodborne-bbport-x86_64.AppImage
|
||||
sha256sum dist/Bloodborne-bbport-x86_64.AppImage
|
||||
Reference in new issue
Block a user