MatN work for versatile appimage creation for all types of os
[goodguy/cinelerra.git] / cinelerra-5.1 / tools / makeappimagetool / includes / core.h
1 #pragma once
2
3 #include <iostream>
4 #include <boost/filesystem/path.hpp>
5
6 #include "appdir.h"
7
8 namespace linuxdeploy {
9     /**
10      * Deploy the application ".desktop", icon, and runnable files in the AppDir root path. According to the
11      * AppDir spec at: https://docs.appimage.org/reference/appdir.html
12      *
13      * @param desktopFilePaths to be deployed in the AppDir root
14      * @param customAppRunPath AppRun to be used, if empty the application executable will be used instead
15      * @param appDir
16      * @return true on success otherwise false
17      */
18     bool deployAppDirRootFiles(std::vector<std::string> desktopFilePaths, std::string customAppRunPath,
19                                linuxdeploy::core::appdir::AppDir& appDir);
20
21     /**
22      *
23      * @param desktopFile
24      * @param executableFileName
25      * @return
26      */
27     bool addDefaultKeys(desktopfile::DesktopFile& desktopFile, const std::string& executableFileName);
28 }