mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-14 12:30:47 +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:
1 parent
a95ee80de0
commit
3c596c097d
1 file changed
+4
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