Skip to content

Commit

Permalink
chg: Build script updated !minor
Browse files Browse the repository at this point in the history
  • Loading branch information
lcgamboa committed Jul 21, 2024
1 parent 3d5986d commit 8d346cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bscripts/build_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VERSION_="${VERSION}_${DATE}"

export VERSION=${VERSION_}

sudo apt-get -y install libminizip-dev wget fuse
sudo apt-get -y install libminizip-dev wget
install -d build_all
cd build_all
git clone https://github.com/lcgamboa/lxrad_nogui.git
Expand Down Expand Up @@ -41,7 +41,7 @@ echo "export XDG_DATA_DIRS=\"\$APPDIR/usr/share/:/usr/share/:\$XDG_DATA_DIRS\""
echo "" >> /tmp/AppRun
echo "\$APPDIR/usr/bin/picsimlab \$@" >> /tmp/AppRun
chmod a+x /tmp/AppRun
/tmp/linuxdeploy-x86_64.AppImage --plugin gtk --custom-apprun=/tmp/AppRun --appdir AppDir --output appimage
/tmp/linuxdeploy-x86_64.AppImage --appimage-extract-and-run --plugin gtk --custom-apprun=/tmp/AppRun --appdir AppDir --output appimage
install -d "release_${VERSION}"
#remove libgmodule
#wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
Expand Down Expand Up @@ -76,7 +76,7 @@ cd -
install -d AppDir/usr/lib/picsimlab/
cp -Rv lib/qemu AppDir/usr/lib/picsimlab/

/tmp/linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
/tmp/linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --output appimage
if [[ -n "$1" ]]; then
mv -f PICSimLab_NOGUI-${VERSION}-x86_64.AppImage ../release_${VERSION}/PICSimLab_NOGUI-${VERSION}_${lversion}_experimental_x86_64.AppImage
else
Expand Down

0 comments on commit 8d346cf

Please sign in to comment.