electron-userland / electron-userland/electron-webpack

getAppPath returns default_app.asar

Open
#243 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
902
Forks
168
PR merge metrics
No merged PRs in 30d

Description

## Code

```js
console.log(require('electron').app.getAppPath());
```

## Expected

Should return the current application directory.

## Current behaviour

It returns:

```
/Users/.../appDir/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.