Skip to content

Commit

Permalink
v2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jsj1027 committed Jan 17, 2021
1 parent 5c3500e commit f080714
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 463 deletions.
27 changes: 9 additions & 18 deletions create_appimage.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

set -e

cd Ishiiruka

ZSYNC_STRING="gh-releases-zsync|Birdthulu|FPM-AppImage|latest|Faster_Project_Plus-x86_64.AppImage.zsync"

LINUXDEPLOY_PATH="https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous"
Expand All @@ -14,7 +18,7 @@ UPDATETOOL_PATH="https://github.com/AppImage/AppImageUpdate/releases/download/co
UPDATETOOL_FILE="appimageupdatetool-x86_64.AppImage"
UPDATETOOL_URL="${UPDATETOOL_PATH}/${UPDATETOOL_FILE}"

APPDIR_BIN="./AppDir/usr/bin"
APPDIR_BIN="./build/AppDir/usr/bin"

# Grab various appimage binaries from GitHub if we don't have them
if [ ! -e ./Tools/linuxdeploy ]; then
Expand All @@ -30,27 +34,14 @@ if [ ! -e ./Tools/appimageupdatetool ]; then
chmod +x ./Tools/appimageupdatetool
fi

# Delete the AppDir folder to prevent build issues
rm -rf ./AppDir/

# Build the AppDir directory for this image
mkdir -p AppDir
./Tools/linuxdeploy \
--appdir=./AppDir \
-e ./build/Binaries/ishiiruka \
-d ./Data/ishiiruka.desktop \
-i ./Data/ishiiruka.png
./Tools/linuxdeploy --appdir=./build/AppDir --executable ./build/Binaries/ishiiruka -d ./Data/ishiiruka.desktop -i ./Data/ishiiruka.png

# Add the Sys dir to the AppDir for packaging
cp -r Data/Sys ${APPDIR_BIN}

# echo "Using Netplay build config"

# rm -f ${NETPLAY_APPIMAGE_STRING}

# Package up the update tool within the AppImage
cp ./Tools/appimageupdatetool ./AppDir/usr/bin/
cp ./Tools/appimageupdatetool ${APPDIR_BIN}

# Bake an AppImage with the update metadata
UPDATE_INFORMATION="${ZSYNC_STRING}" \
./Tools/linuxdeploy-update-plugin --appdir=./AppDir/
export UPDATE_INFORMATION="${ZSYNC_STRING}";
./Tools/linuxdeploy-update-plugin --appdir=./build/AppDir/;
10 changes: 0 additions & 10 deletions faster-project-plus-2.2.desktop

This file was deleted.

Loading

0 comments on commit f080714

Please sign in to comment.