mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-12 21:25:04 -05:00
Move desktop file deployment away from desktop file lookup
This commit is contained in:
@@ -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