-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathcore.h
More file actions
27 lines (23 loc) · 922 Bytes
/
Copy pathcore.h
File metadata and controls
27 lines (23 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include <iostream>
#include "linuxdeploy/core/appdir.h"
namespace linuxdeploy {
/**
* Deploy the application ".desktop", icon, and runnable files in the AppDir root path. According to the
* AppDir spec at: https://docs.appimage.org/reference/appdir.html
*
* @param desktopFilePaths to be deployed in the AppDir root
* @param customAppRunPath AppRun to be used, if empty the application executable will be used instead
* @param appDir
* @return true on success otherwise false
*/
bool deployAppDirRootFiles(std::vector<std::string> desktopFilePaths, std::string customAppRunPath,
linuxdeploy::core::appdir::AppDir& appDir);
/**
*
* @param desktopFile
* @param executableFileName
* @return
*/
bool addDefaultKeys(desktopfile::DesktopFile& desktopFile, const std::string& executableFileName);
}