Skip to content

Commit

Permalink
Fixed WSS-wineserverkill
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcenx committed Jan 4, 2020
1 parent 88bbea0 commit bd74e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WineskinLauncher/WineskinLauncherAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd74e45

Please sign in to comment.