You've already forked linuxdeploy
mirror of
https://github.com/encounter/linuxdeploy.git
synced 2026-03-30 11:18:58 -07:00
Move desktop file deployment away from desktop file lookup
This commit is contained in:
+11
-10
@@ -61,19 +61,20 @@ namespace linuxdeploy {
|
||||
<< desktopFile.path() << std::endl;
|
||||
}
|
||||
|
||||
ldLog() << "Deploying desktop file:" << desktopFile.path() << std::endl;
|
||||
}
|
||||
|
||||
bool rv;
|
||||
ldLog() << "Deploying desktop file:" << desktopFile.path() << std::endl;
|
||||
|
||||
if (!customAppRunPath.empty()) {
|
||||
rv = appDir.createLinksInAppDirRoot(desktopFile, customAppRunPath);
|
||||
} else {
|
||||
rv = appDir.createLinksInAppDirRoot(desktopFile);
|
||||
}
|
||||
bool rv;
|
||||
|
||||
if (!rv) {
|
||||
return 1;
|
||||
}
|
||||
if (!customAppRunPath.empty()) {
|
||||
rv = appDir.createLinksInAppDirRoot(desktopFile, customAppRunPath);
|
||||
} else {
|
||||
rv = appDir.createLinksInAppDirRoot(desktopFile);
|
||||
}
|
||||
|
||||
if (!rv) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user