|
|
|
@ -127,15 +127,34 @@ jobs:
|
|
|
|
|
chmod u+x linuxdeploy
|
|
|
|
|
|
|
|
|
|
./linuxdeploy --appdir AppDir
|
|
|
|
|
|
|
|
|
|
pushd AppDir
|
|
|
|
|
# Copy WebKit files.
|
|
|
|
|
find /usr/lib* -name WebKitNetworkProcess -exec mkdir -p $(dirname '{}') \; -exec cp --parents '{}' "." \; || true
|
|
|
|
|
find /usr/lib* -name WebKitWebProcess -exec mkdir -p $(dirname '{}') \; -exec cp --parents '{}' "." \; || true
|
|
|
|
|
find /usr/lib* -name libwebkit2gtkinjectedbundle.so -exec mkdir -p $(dirname '{}') \; -exec cp --parents '{}' "." \; || true
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p AppDir/usr/share/icons/hicolor/512x512/apps
|
|
|
|
|
build_dir="build/linux/tiny-rdm_${{ steps.normalise_version.outputs.version }}_amd64"
|
|
|
|
|
|
|
|
|
|
cp -r $build_dir/usr/share/icons/hicolor/512x512/apps/tiny-rdm.png AppDir/usr/share/icons/hicolor/512x512/apps/
|
|
|
|
|
cp $build_dir/usr/local/bin/tiny-rdm AppDir/usr/bin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i 's#/usr/local/bin/tiny-rdm#tiny-rdm#g' $build_dir/usr/share/applications/tiny-rdm.desktop
|
|
|
|
|
|
|
|
|
|
curl -o linuxdeploy-plugin-gtk.sh "https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
|
|
|
|
|
|
|
|
|
|
sed -i '/XDG_DATA_DIRS/a export WEBKIT_DISABLE_COMPOSITING_MODE=1' linuxdeploy-plugin-gtk.sh
|
|
|
|
|
chmod +x linuxdeploy-plugin-gtk.sh
|
|
|
|
|
|
|
|
|
|
curl -o AppDir/AppRun https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-${{ steps.normalise_platform_arch.outputs.arch }} -L
|
|
|
|
|
|
|
|
|
|
./linuxdeploy --appdir AppDir \
|
|
|
|
|
--output=appimage \
|
|
|
|
|
--plugin=gtk \
|
|
|
|
|
-e $build_dir/usr/local/bin/tiny-rdm \
|
|
|
|
|
-d $build_dir/usr/share/applications/tiny-rdm.desktop
|
|
|
|
|
|
|
|
|
|