Replace uses of SWA with UnleashedRecomp & rebrand the recompilers. (#138)

This commit is contained in:
Skyth (Asilkan) 2025-01-19 23:21:05 +03:00 committed by GitHub
parent 312f913a92
commit 1efb4943b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 147 additions and 153 deletions

View file

@ -1,8 +1,8 @@
[Desktop Entry]
Name=Unleashed Recompiled
Exec=/app/bin/SWA
Exec=/app/bin/UnleashedRecomp
Type=Application
Icon=io.github.hedge_dev.unleashedrecomp
Categories=Game;
Comment=Static recompilation of Sonic Unleashed.
MimeType=x-scheme-handler/unleashedrecomp
MimeType=x-scheme-handler/unleashedrecomp

View file

@ -20,10 +20,10 @@
"name": "UnleashedRecomp",
"buildsystem": "simple",
"build-commands": [
"cmake --preset linux-release -DSWA_FLATPAK=ON -DSDL2MIXER_VORBIS=VORBISFILE",
"cmake --preset linux-release -DUNLEASHED_RECOMP_FLATPAK=ON -DSDL2MIXER_VORBIS=VORBISFILE",
"cmake --build out/build/linux-release",
"mkdir -p /app/bin",
"cp out/build/linux-release/UnleashedRecomp/SWA /app/bin/SWA",
"cp out/build/linux-release/UnleashedRecomp/UnleashedRecomp /app/bin/UnleashedRecomp",
"install -Dm644 UnleashedRecompResources/images/game_icon.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
"install -Dm644 flatpak/io.github.hedge_dev.unleashedrecomp.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
"install -Dm644 flatpak/io.github.hedge_dev.unleashedrecomp.desktop /app/share/applications/${FLATPAK_ID}.desktop"