Files
nixpkgs/pkgs/by-name/me/mesen/desktop-make-non-absolute-exec.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
677 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/UI/Config/FileAssociationHelper.cs b/UI/Config/FileAssociationHelper.cs
index bcd40ce..4965c7a 100644
--- a/UI/Config/FileAssociationHelper.cs
+++ b/UI/Config/FileAssociationHelper.cs
@@ -152,7 +152,7 @@ namespace Mesen.Config
"Comment=Emulator" + Environment.NewLine +
"Keywords=game;emulator;emu" + Environment.NewLine +
"Categories=GNOME;GTK;Game;Emulator;" + Environment.NewLine +
- "Exec=" + mainModule.FileName + " %f" + Environment.NewLine +
+ "Exec=" + "Mesen" + " %f" + Environment.NewLine +
"NoDisplay=false" + Environment.NewLine +
"StartupNotify=true" + Environment.NewLine +
"Icon=MesenIcon" + Environment.NewLine;