diff options
| -rw-r--r-- | .local/share/applications/mesen.desktop | 11 | ||||
| -rwxr-xr-x | bin/doctor.rb | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.local/share/applications/mesen.desktop b/.local/share/applications/mesen.desktop new file mode 100644 index 0000000..d7cdf2e --- /dev/null +++ b/.local/share/applications/mesen.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Mesen +Comment=Multi-system emulator +Exec=/usr/bin/Mesen +Icon=/usr/share/pixmaps/mesen.png +Terminal=false +Categories=Game;Emulator; +Keywords=NES;SNES;GameBoy;Emulator;Nintendo; +MimeType=
\ No newline at end of file diff --git a/bin/doctor.rb b/bin/doctor.rb index 8dee594..e443687 100755 --- a/bin/doctor.rb +++ b/bin/doctor.rb @@ -193,6 +193,12 @@ extra = [] extra << "ln -s #{src} #{dst}" unless File.exist?(dst) end +# Mesen is installed manually. +src = SOURCE.join('.local/share/applications/mesen.desktop') +extra << "ln -s #{src} /usr/share/applications/mesen.desktop" +extra << "cp <Mesen> /usr/bin/Mesen" +extra << "cp <mesen.png> /usr/share/pixmaps/mesen.png" + if extra.size.positive? print "\n=> Extra work: run the following while being *root*.\n\n" puts extra.join("\n") |
