mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-12-23 03:59:27 +00:00
28 lines
771 B
TypeScript
28 lines
771 B
TypeScript
|
|
// init - {Object}
|
|
// :appName - {String}
|
|
// :appPath - {String}
|
|
// :options - {Object}
|
|
// :launchInBackground - (Optional) {String} If set, either use default --hidden arg or specified one.
|
|
// :mac - (Optional) {Object}
|
|
// :useLaunchAgent - (Optional) {Boolean} If `true`, use filed-based Launch Agent. Otherwise use AppleScript
|
|
// to add Login Item
|
|
// :extraArguments - (Optional) {Array}
|
|
|
|
export interface AutoLaunchInit {
|
|
appName: string;
|
|
appPath: string;
|
|
options: AutoLaunchOptions;
|
|
}
|
|
|
|
export interface AutoLaunchOptions {
|
|
launchInBackground?: string | boolean;
|
|
mac?: {
|
|
useLaunchAgent?: boolean;
|
|
},
|
|
linux?: {
|
|
version?: string;
|
|
comment?: string;
|
|
},
|
|
extraArguments?: string[];
|
|
}
|