From 3c596c097db08555d7a56e15fd2872b991a6da07 Mon Sep 17 00:00:00 2001 From: rhysd Date: Sat, 8 Aug 2015 12:09:43 +0900 Subject: [PATCH] Add GitHubElectron.App.getAppPath() Electron v0.30.0 introduced it. https://github.com/atom/electron/releases/tag/v0.30.0 --- github-electron/github-electron.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/github-electron/github-electron.d.ts b/github-electron/github-electron.d.ts index 81896fcc5..5df526bfc 100644 --- a/github-electron/github-electron.d.ts +++ b/github-electron/github-electron.d.ts @@ -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.