Compare commits
No commits in common. "2f20870d7454ecd85b26bf22a14bb569a2a69153" and "10ad6ee5b4173cf50e3d037ace6a31318f593f13" have entirely different histories.
2f20870d74
...
10ad6ee5b4
|
@ -127,34 +127,15 @@ 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
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
7d8fc3991382d09b7c9aa07b9d551a05
|
||||
0d716149856646a7939a157fbfa27913
|
Loading…
Reference in New Issue