mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-02-04 12:41:47 -06:00
Change method name to something more meaningful
This commit is contained in:
parent
47b8370751
commit
e24b46d291
@ -85,7 +85,7 @@ namespace linuxdeploy {
|
||||
std::vector<desktopfile::DesktopFile> deployedDesktopFiles();
|
||||
|
||||
// create symlinks for AppRun, desktop file and icon in the AppDir root directory
|
||||
bool createLinksInAppDirRoot(const desktopfile::DesktopFile& desktopFile, boost::filesystem::path customAppRunPath = "");
|
||||
bool setUpAppDirRoot(const desktopfile::DesktopFile& desktopFile, boost::filesystem::path customAppRunPath = "");
|
||||
|
||||
// list all executables in <AppDir>/usr/bin
|
||||
// this function does not perform a recursive search, but only searches the bin directory
|
||||
|
||||
@ -80,7 +80,7 @@ namespace linuxdeploy {
|
||||
try {
|
||||
desktopfile::DesktopFile desktopFile = getMainDesktopFile(desktopFilePaths, deployedDesktopFiles);
|
||||
ldLog() << "Deploying desktop file:" << desktopFile.path() << std::endl;
|
||||
return appDir.createLinksInAppDirRoot(desktopFile, customAppRunPath);
|
||||
return appDir.setUpAppDirRoot(desktopFile, customAppRunPath);
|
||||
} catch (const DeployError& er) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -704,7 +704,7 @@ namespace linuxdeploy {
|
||||
return desktopFiles;
|
||||
}
|
||||
|
||||
bool AppDir::createLinksInAppDirRoot(const DesktopFile& desktopFile, boost::filesystem::path customAppRunPath) {
|
||||
bool AppDir::setUpAppDirRoot(const DesktopFile& desktopFile, boost::filesystem::path customAppRunPath) {
|
||||
ldLog() << "Deploying desktop file to AppDir root:" << desktopFile.path() << std::endl;
|
||||
|
||||
// copy desktop file to root directory
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user