From bd74e452c733036a8056ea2d5f2375631a1ec9e9 Mon Sep 17 00:00:00 2001 From: Gcenx Date: Fri, 3 Jan 2020 21:56:07 -0500 Subject: [PATCH] Fixed WSS-wineserverkill --- WineskinLauncher/WineskinLauncherAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WineskinLauncher/WineskinLauncherAppDelegate.m b/WineskinLauncher/WineskinLauncherAppDelegate.m index 8650735..4f502e2 100644 --- a/WineskinLauncher/WineskinLauncherAppDelegate.m +++ b/WineskinLauncher/WineskinLauncherAppDelegate.m @@ -398,7 +398,7 @@ - (void)mainRun:(NSArray*)filesToOpen if ([wssCommand isEqualToString:@"WSS-wineserverkill"]) { NSString* pathEnv = [NSString stringWithFormat:@"%@/wswine.bundle/bin:$PATH:/opt/local/bin:/opt/local/sbin",frameworksFold]; - [NSTask runProgram:@"wineserver" withFlags:@[@"-k"] withEnvironment:@{@"PATH":pathEnv, @"WINEPREFIX":winePrefix}]; + [NSTask runProgram:[NSString stringWithFormat:@"%@/wswine.bundle/bin/wineserver",frameworksFold] withFlags:@[@"-k"] withEnvironment:@{@"PATH":pathEnv, @"WINEPREFIX":winePrefix}]; //****** if "IsFnToggleEnabled" is enabled if ([[self.portManager plistObjectForKey:WINESKIN_WRAPPER_PLIST_KEY_ENABLE_FNTOGGLE] intValue] == 1)