Appimage builds #28

Merged
piplup55 merged 10 commits from appimage into master 2024-10-26 12:31:37 +00:00
3 changed files with 8 additions and 1 deletions
Showing only changes of commit 9fb679137f - Show all commits

View File

@ -166,6 +166,8 @@ jobs:
mv Ryujinx.AppImage.zsync ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync
popd
qurious-pixel commented 2024-10-21 21:20:16 +00:00 (Migrated from github.com)
Review

same:

chmod +x distribution/linux/appimage/build-appimage.sh
same: ``` chmod +x distribution/linux/appimage/build-appimage.sh ```
piplup55 commented 2024-10-21 21:40:54 +00:00 (Migrated from github.com)
Review

it should have the exec bit set but it wouldn't hurt to double check it

it should have the exec bit set but it wouldn't hurt to double check it
shell: bash
env:
RELEASE=1
- name: Pushing new release
uses: ncipollo/release-action@v1

2
.gitignore vendored
View File

@ -16,6 +16,8 @@ x64/
build/
[Bb]in/
[Oo]bj/
AppDir/
publish_appimage/
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/

View File

@ -15,6 +15,7 @@ cp distribution/linux/Ryujinx.desktop AppDir/Ryujinx.desktop
cp distribution/linux/appimage/AppRun AppDir/AppRun
cp src/Ryujinx.UI.Common/Resources/Logo_Ryujinx.png AppDir/Ryujinx.svg
Samueru-sama commented 2024-10-24 17:52:35 +00:00 (Migrated from github.com)
Review

You might want to change this to AppDir/Ryujinx.png as well.

And also add ln -s Ryujinx.png AppDir/.DirIcon

You might want to change this to `AppDir/Ryujinx.png` as well. And also add `ln -s Ryujinx.png AppDir/.DirIcon`
piplup55 commented 2024-10-26 12:22:48 +00:00 (Migrated from github.com)
Review

after discussion i have decided to keep it as svg for scaling reasons

after discussion i have decided to keep it as svg for scaling reasons
cp -r "$BUILDDIR"/* AppDir/usr/bin/
qurious-pixel commented 2024-10-21 21:25:03 +00:00 (Migrated from github.com)
Review

publish_ava creates a publish folder inside.

cp -r "$BUILDDIR"/publish/* AppDir/usr/bin/

to capture the contents inside the folder.

publish_ava creates a publish folder inside. ``` cp -r "$BUILDDIR"/publish/* AppDir/usr/bin/ ``` to capture the contents inside the folder.
piplup55 commented 2024-10-21 21:42:46 +00:00 (Migrated from github.com)
Review

idk how i missed this

idk how i missed this
# Ensure necessary bins are set as executable
@ -27,4 +28,6 @@ appimagetool --comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 2
AppDir "$OUTDIR"/Ryujinx.AppImage
# Move zsync file needed for delta updates
mv ./*.AppImage.zsync "$OUTDIR"
if [ "$RELEASE" = "1" ]; then
mv ./*.AppImage.zsync "$OUTDIR"
fi