mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated winemenubuilder-Desktop_Icon_Path patchset
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49415
This commit is contained in:
parent
3d9a927266
commit
102af10c89
@ -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 <sebastian@fds-team.de>
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user