9 namespace linuxdeploy {
12 * Wrapper for an AppDir that encapsulates all functionality to set up the AppDir root directory.
14 class AppDirRootSetup {
18 std::shared_ptr<Private> d;
21 explicit AppDirRootSetup(const appdir::AppDir& appdir);
24 * Deploy files to the AppDir root directory using the provided desktop file and the information within it.
25 * Optionally, a custom AppRun path can be provided which is deployed instead of following the internal
26 * default mechanism, which usually just places a symlink to the main binary as AppRun.
29 * @param customAppRunPath
32 bool run(const desktopfile::DesktopFile& desktopFile, const boost::filesystem::path& customAppRunPath = "") const;