Skip to content

Commit

Permalink
linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed May 9, 2024
1 parent 174e580 commit bbff764
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CI/build-appimg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ convert -resize 256x256 CI/librecad.svg appdir/usr/share/icons/hicolor/256x256/a
do
for f in $(find ../Qt -iname "${q_lib}*.so*" -print)
do
cp -Lv $f appdir/usr/bin/$(basename $f)
chmod 755 appdir/usr/bin/$(basename $f)
cp -Lv $f appdir/usr/lib/$(basename $f)
chmod 755 appdir/usr/lib/$(basename $f)
#cp -Lv $f appdir/usr/lib/$(echo $(basename $f)|sed -e 's:\.so.*$::').so
done
done
find appdir/

wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
chmod +x appimagetool-*.AppImage
./appimagetool-*.AppImage -s deploy appdir/usr/share/applications/librecad.desktop
./appimagetool-*.AppImage deploy appdir/usr/share/applications/librecad.desktop
VERSION=`git describe --tags --always` ./appimagetool-*.AppImage appdir/
#wget -q https://github.com/omergoktas/linuxdeployqt/releases/download/latest/linuxdeployqt-x86_64.AppImage
#chmod +x linuxdeployqt-x86_64.AppImage
Expand Down

0 comments on commit bbff764

Please sign in to comment.