5.0.5 • Published 6 months ago
@types/auto-launch v5.0.5
Installation
npm install --save @types/auto-launch
Summary
This package contains type definitions for auto-launch (https://github.com/Teamwork/node-auto-launch).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auto-launch.
index.d.ts
// Type definitions for auto-launch 5.0
// Project: https://github.com/Teamwork/node-auto-launch, https://github.com/4ver/node-auto-launch
// Definitions by: rhysd <https://github.com/rhysd>, Daniel Perez Alvarez <https://github.com/unindented>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface AutoLaunchOptions {
/**
* Application name.
*/
name: string;
/**
* Path to application. Default is `process.execPath`.
*/
path?: string | undefined;
/**
* Hidden on launch. Default is `false`.
*/
isHidden?: boolean | undefined;
/**
* For Mac-only options.
*/
mac?: {
/**
* By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`.
*/
useLaunchAgent?: boolean | undefined;
} | undefined;
}
declare class AutoLaunch {
constructor(options: AutoLaunchOptions);
/**
* Enables auto-launch at start up.
*/
enable(): Promise<void>;
/**
* Disables auto-launch at start up.
*/
disable(): Promise<void>;
/**
* Returns true if auto-launch is enabled.
*/
isEnabled(): Promise<boolean>;
}
export = AutoLaunch;
Additional Details
- Last updated: Wed, 07 Jul 2021 21:44:39 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by rhysd, and Daniel Perez Alvarez.
5.0.5
6 months ago
5.0.4
7 months ago
5.0.3
8 months ago
5.0.2
3 years ago
5.0.1
5 years ago
5.0.0
7 years ago
0.1.29
8 years ago
0.1.28
8 years ago
0.1.27-alpha
8 years ago
0.1.26-alpha
8 years ago
0.1.25-alpha
8 years ago
0.1.24-alpha
8 years ago
0.1.23-alpha
8 years ago
0.1.22-alpha
8 years ago
0.1.21-alpha
8 years ago
0.1.16-alpha
8 years ago
0.1.15-alpha
8 years ago