Fix some apps can't start

pull/9/head
reionwong 4 years ago
parent c2ac413d8d
commit d01c6721f4

@ -310,6 +310,7 @@ void LauncherModel::addApp(const QString &fileName)
appExec.remove(QRegularExpression("%."));
appExec.remove(QRegularExpression("^\""));
// appExec.remove(QRegularExpression(" *$"));
appExec = appExec.replace("\"", "");
appExec = appExec.simplified();
LauncherItem *item = new LauncherItem;

Loading…
Cancel
Save