From 102af10c89164cff0be68d6b4072de9050b1000b Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Mon, 22 Jun 2020 13:56:15 +1000 Subject: [PATCH] Updated winemenubuilder-Desktop_Icon_Path patchset Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49415 --- ...lder-Create-desktop-shortcuts-with-absolu.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/patches/winemenubuilder-Desktop_Icon_Path/0001-winemenubuilder-Create-desktop-shortcuts-with-absolu.patch b/patches/winemenubuilder-Desktop_Icon_Path/0001-winemenubuilder-Create-desktop-shortcuts-with-absolu.patch index aa45c6b68..2424a7491 100644 --- a/patches/winemenubuilder-Desktop_Icon_Path/0001-winemenubuilder-Create-desktop-shortcuts-with-absolu.patch +++ b/patches/winemenubuilder-Desktop_Icon_Path/0001-winemenubuilder-Create-desktop-shortcuts-with-absolu.patch @@ -1,4 +1,4 @@ -From 5e065400b86307a3ff59324fe4760f2812c3ba6d Mon Sep 17 00:00:00 2001 +From 730dc1618045e8da4b9c825db04d640c48bb99dd Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Wed, 24 Sep 2014 21:13:59 +0200 Subject: [PATCH] winemenubuilder: Create desktop shortcuts with absolute wine @@ -15,7 +15,7 @@ wine, and so on ...). 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/programs/winemenubuilder/Makefile.in b/programs/winemenubuilder/Makefile.in -index 07e2702843b..a4e28adc4b4 100644 +index 07e2702843..a4e28adc4b 100644 --- a/programs/winemenubuilder/Makefile.in +++ b/programs/winemenubuilder/Makefile.in @@ -1,6 +1,7 @@ @@ -27,7 +27,7 @@ index 07e2702843b..a4e28adc4b4 100644 C_SRCS = \ winemenubuilder.c diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c -index d6fc9e29234..88824fc8c46 100644 +index ee53619bb9..d80b94767e 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -106,6 +106,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(menubuilder); @@ -50,13 +50,13 @@ index d6fc9e29234..88824fc8c46 100644 fprintf(file, "Name=%s\n", linkname); if (prefix) - fprintf(file, "Exec=env WINEPREFIX=\"%s\" wine %s %s\n", prefix, path, args); -+ fprintf(file, "Exec=env WINEPREFIX=\"%s\" wine %s %s\n", prefix, wine_path, args); ++ fprintf(file, "Exec=env WINEPREFIX=\"%s\" %s %s %s\n", prefix, wine_path, path, args); else if (home) - fprintf(file, "Exec=env WINEPREFIX=\"%s/.wine\" wine %s %s\n", home, path, args); -+ fprintf(file, "Exec=env WINEPREFIX=\"%s/.wine\" wine %s %s\n", home, wine_path, args); ++ fprintf(file, "Exec=env WINEPREFIX=\"%s/.wine\" %s %s %s\n", home, wine_path, path, args); else - fprintf(file, "Exec=wine %s %s\n", path, args); -+ fprintf(file, "Exec=wine %s %s\n", wine_path, args); ++ fprintf(file, "Exec=%s %s %s\n", wine_path, path, args); + fprintf(file, "Type=Application\n"); fprintf(file, "StartupNotify=true\n"); @@ -77,5 +77,5 @@ index d6fc9e29234..88824fc8c46 100644 fprintf(desktop, "StartupNotify=true\n"); if (openWithIcon) -- -2.25.1 +2.27.0