mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
Add GitHubElectron.App.getAppPath()
Electron v0.30.0 introduced it. https://github.com/atom/electron/releases/tag/v0.30.0
This commit is contained in:
Vendored
+4
@@ -855,6 +855,10 @@ declare module GitHubElectron {
|
||||
* cleanup code will not run.
|
||||
*/
|
||||
terminate(): void;
|
||||
/**
|
||||
* Returns the current application directory.
|
||||
*/
|
||||
getAppPath(): string;
|
||||
/**
|
||||
* @param name One of: home, appData, userData, cache, userCache, temp, userDesktop, exe, module
|
||||
* @returns The path to a special directory or file associated with name.
|
||||
|
||||
Reference in New Issue
Block a user