-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71d9853
commit bd943c0
Showing
5 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Icon=Mesen | ||
Exec=Mesen %f | ||
Terminal=false | ||
Type=Application | ||
Categories=Game;Emulator; | ||
Name=Mesen | ||
GenericName=Multi-system emulator | ||
Comment=Multi-system emulator (NES, SNES, GB, PCE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
export PUBLISHFLAGS="-r linux-x64 --no-self-contained false -p:PublishSingleFile=true -p:PublishReadyToRun=true" | ||
make -j$(nproc) -O LTO=true STATICLINK=true SYSTEM_LIBEVDEV=false | ||
|
||
curl -SL https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -o appimagetool | ||
|
||
mkdir -p AppDir/usr/bin | ||
cp bin/linux-x64/Release/linux-x64/publish/Mesen AppDir/usr/bin | ||
chmod +x AppDir/usr/bin | ||
ln -sr AppDir/usr/bin/Mesen AppDir/AppRun | ||
|
||
cp Linux/appimage/Mesen.48x48.png AppDir/Mesen.png | ||
cp Linux/appimage/Mesen.desktop AppDir/Mesen.desktop | ||
mkdir -p AppDir/usr/share/applications && cp ./AppDir/Mesen.desktop ./AppDir/usr/share/applications | ||
mkdir -p AppDir/usr/share/icons && cp ./AppDir/Mesen.png ./AppDir/usr/share/icons | ||
mkdir -p AppDir/usr/share/icons/hicolor/48x48/apps && cp ./AppDir/Mesen.png ./AppDir/usr/share/icons/hicolor/48x48/apps | ||
|
||
chmod a+x appimagetool | ||
./appimagetool AppDir/ Mesen.AppImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters