Fixed launching some Wine applications

Replaces "\\" ocurrences in appExec with "\".
This commit is contained in:
Clement Lefebvre 2016-10-05 10:21:21 +01:00
parent 31be61508f
commit eafbd9d7ef

View File

@ -294,7 +294,7 @@ class ApplicationLauncher( easyButton ):
self.appName = self.strip_accents(desktopItem.getName())
self.appGenericName = self.strip_accents(desktopItem.getGenericName())
self.appComment = self.strip_accents(desktopItem.getComment())
self.appExec = self.strip_accents(desktopItem.getExec())
self.appExec = self.strip_accents(desktopItem.getExec().replace('\\\\', '\\'))
self.appIconName = desktopItem.getIcon()
self.appCategories = desktopItem.getCategories()
self.appMateDocPath = desktopItem.get( "X-MATE-DocPath" ) or ""