neutralino-appimage-bundler
Version:
Bundles your Neutralino project in AppImage
64 lines (63 loc) • 1.51 kB
TypeScript
declare type Params = {
/**
* Application version
*/
version: string;
desktop: {
/**
* Desktop name entry value
*/
name: string;
/**
* Path to the icon
*/
icon: string;
/**
* Desktop type entry value
*/
type?: string;
/**
* Desktop categories entry value
*/
categories?: string[] | string;
};
binary: {
/**
* Project folder (and binaries) name
*/
name: string;
/**
* Path to the folder with binaries made by neutralino
*/
dist: string;
};
/**
* Should AppImage include neutralino's dependencies or not
*
* If specified as true - then AppImage will contain binary file shared libraries
*/
includeLibraries?: boolean;
/**
* Object of files or folders to copy
*
* "Relative path inside AppDir": "Absolute path to file or folder"
*/
copy?: Map<string, string>;
/**
* (optional) If set to true, the AppImage will run only with root privileges
*/
sudo?: boolean;
/**
* Output AppImage path
*/
output?: string;
};
export declare class Bundler {
readonly appDir: string;
params: Params;
constructor(params: Params);
bundle(): Promise<void>;
protected downloadAppImageTool(): Promise<void>;
protected downloadLinuxDeploy(): Promise<void>;
}
export type { Params };