mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #5271 from rhysd/github-electron/add-getAppPath
Add GitHubElectron.App.getAppPath()
This commit is contained in:
commit
0a756b54be
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