diff --git a/include/linuxdeploy/core/appdir.h b/include/linuxdeploy/core/appdir.h index 290d6cc..d3f2323 100644 --- a/include/linuxdeploy/core/appdir.h +++ b/include/linuxdeploy/core/appdir.h @@ -85,7 +85,7 @@ namespace linuxdeploy { std::vector 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 /usr/bin // this function does not perform a recursive search, but only searches the bin directory diff --git a/src/core.cpp b/src/core.cpp index 920f3f5..0a8f58e 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -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; } diff --git a/src/core/appdir.cpp b/src/core/appdir.cpp index 861fa48..656dfbc 100644 --- a/src/core/appdir.cpp +++ b/src/core/appdir.cpp @@ -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