mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-23 12:23:41 +00:00
feat: Added Torzu's AppImageBuilder
Added support for building AppImages using Torzu's AppImageBuilder. Signed-off-by: Boss.sfc <boss.sfc@citron-emu.org>
This commit is contained in:
42
AppImage-build-local.sh
Executable file
42
AppImage-build-local.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILE=build/bin/citron
|
||||
if test -f "$FILE"; then
|
||||
# remove any previously made AppImage in the base citron git folder
|
||||
rm ./citron.AppImage
|
||||
|
||||
# enter AppImage utility folder
|
||||
cd AppImageBuilder
|
||||
|
||||
# run the build script to create the AppImage
|
||||
# (usage) ./build.sh [source citron build folder] [destination .AppImage file]
|
||||
./build.sh ../build ./citron.AppImage
|
||||
|
||||
FILE=./citron.AppImage
|
||||
if test -f "$FILE"; then
|
||||
# move the AppImage to the main citron folder
|
||||
mv citron.AppImage ..
|
||||
# return to main citron folder
|
||||
cd ..
|
||||
# show contents of current folder
|
||||
echo
|
||||
ls
|
||||
# show AppImages specifically
|
||||
echo
|
||||
ls *.AppImage
|
||||
echo
|
||||
echo "'citron.AppImage' is now located in the current folder."
|
||||
echo
|
||||
else
|
||||
cd ..
|
||||
echo "AppImage was not built."
|
||||
fi
|
||||
else
|
||||
echo
|
||||
echo "$FILE does not exist."
|
||||
echo
|
||||
echo "No citron executable found in the /citron/build/bin folder!"
|
||||
echo
|
||||
echo "You must first build a native linux version of citron before running this script!"
|
||||
echo
|
||||
fi
|
||||
Reference in New Issue
Block a user