mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
build script update
This commit is contained in:
Binary file not shown.
BIN
buildapp/appimagetool-aarch64.AppImage
Normal file
BIN
buildapp/appimagetool-aarch64.AppImage
Normal file
Binary file not shown.
BIN
buildapp/appimagetool-x86_64.AppImage
Executable file → Normal file
BIN
buildapp/appimagetool-x86_64.AppImage
Executable file → Normal file
Binary file not shown.
@@ -2,7 +2,7 @@
|
|||||||
if (( $EUID == 0 )); then echo "The build process is not meant to be run with root privilege, exiting now." >&2; exit 1; fi
|
if (( $EUID == 0 )); then echo "The build process is not meant to be run with root privilege, exiting now." >&2; exit 1; fi
|
||||||
|
|
||||||
cd "${0%/*}"
|
cd "${0%/*}"
|
||||||
APPIMAGETOOL="appimagetool-x86_64.AppImage"
|
APPIMAGETOOL="appimagetool-aarch64.AppImage" # Note to self: run this on Asahi
|
||||||
SRCFILES="terrarumlinux_arm"
|
SRCFILES="terrarumlinux_arm"
|
||||||
DESTDIR="TerrarumLinux.arm"
|
DESTDIR="TerrarumLinux.arm"
|
||||||
RUNTIME="runtime-linux-arm"
|
RUNTIME="runtime-linux-arm"
|
||||||
@@ -35,7 +35,7 @@ mv $DESTDIR/assets_release $DESTDIR/assets
|
|||||||
cp "../out/$JARNAME" $DESTDIR/out/
|
cp "../out/$JARNAME" $DESTDIR/out/
|
||||||
|
|
||||||
# Pack everything to AppImage
|
# Pack everything to AppImage
|
||||||
ARCH=arm_aarch64 "./$APPIMAGETOOL" $DESTDIR "out/$DESTDIR.AppImage" || { echo 'Building AppImage failed' >&2; exit 1; }
|
"./$APPIMAGETOOL" $DESTDIR "out/$DESTDIR.AppImage" || { echo 'Building AppImage failed' >&2; exit 1; }
|
||||||
chmod +x "out/$DESTDIR.AppImage"
|
chmod +x "out/$DESTDIR.AppImage"
|
||||||
rm -rf $DESTDIR || true
|
rm -rf $DESTDIR || true
|
||||||
echo "Build successful: $DESTDIR"
|
echo "Build successful: $DESTDIR"
|
||||||
|
|||||||
@@ -21,8 +21,10 @@ rm $DESTDIR/mods/basegame/blocks/*.txt
|
|||||||
rm $DESTDIR/mods/basegame/weathers/*.txt
|
rm $DESTDIR/mods/basegame/weathers/*.txt
|
||||||
rm $DESTDIR/mods/basegame/weathers/*.md
|
rm $DESTDIR/mods/basegame/weathers/*.md
|
||||||
rm $DESTDIR/mods/basegame/weathers/*.kra
|
rm $DESTDIR/mods/basegame/weathers/*.kra
|
||||||
rm -r $DESTDIR/mods/basegame/sounds
|
rm -r $DESTDIR/mods/basegame/audio/music/
|
||||||
rm -r $DESTDIR/mods/dwarventech
|
rm -r $DESTDIR/mods/dwarventech
|
||||||
|
rm -r $DESTDIR/mods/myawesomemod
|
||||||
|
rm -r $DESTDIR/mods/musicplayer
|
||||||
|
|
||||||
for s in .directory .DS_Store Thumbs.db thumbs.db; do
|
for s in .directory .DS_Store Thumbs.db thumbs.db; do
|
||||||
rm $DESTDIR/$s
|
rm $DESTDIR/$s
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ basegame
|
|||||||
// Commit counts up to the Release 0.3.3: 3020
|
// Commit counts up to the Release 0.3.3: 3020
|
||||||
|
|
||||||
val VERSION_SNAPSHOT = if (App.IS_DEVELOPMENT_BUILD) Snapshot(0) else null
|
val VERSION_SNAPSHOT = if (App.IS_DEVELOPMENT_BUILD) Snapshot(0) else null
|
||||||
|
// val VERSION_SNAPSHOT = ForcedSnapshot("24w04a")
|
||||||
|
|
||||||
const val VERSION_TAG: String = ""
|
const val VERSION_TAG: String = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user