Loading pkgs/by-name/me/mesen/desktop-make-non-absolute-exec.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line 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; pkgs/by-name/me/mesen/package.nix +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ buildDotnetModule rec { ./dont-use-nightly-avalonia.patch # upstream has a weird library loading mechanism, which we override with a more sane alternative ./dont-zip-libraries.patch # without this the generated .desktop file uses an absolute (and incorrect) path for the binary ./desktop-make-non-absolute-exec.patch ]; dotnet-sdk = dotnetCorePackages.sdk_8_0; Loading Loading
pkgs/by-name/me/mesen/desktop-make-non-absolute-exec.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line 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;
pkgs/by-name/me/mesen/package.nix +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ buildDotnetModule rec { ./dont-use-nightly-avalonia.patch # upstream has a weird library loading mechanism, which we override with a more sane alternative ./dont-zip-libraries.patch # without this the generated .desktop file uses an absolute (and incorrect) path for the binary ./desktop-make-non-absolute-exec.patch ]; dotnet-sdk = dotnetCorePackages.sdk_8_0; Loading