Skip to content

Commit

Permalink
fix(api): isDev uses wrong app.isPackaged condition
Browse files Browse the repository at this point in the history
  • Loading branch information
megahertz committed Jul 22, 2021
1 parent 0104047 commit a0c2e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electronApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function isDev() {
var app = getApp();

if (app && app.isPackaged !== undefined) {
return app.isPackaged;
return !app.isPackaged;
}

if (typeof process.execPath === 'string') {
Expand Down

0 comments on commit a0c2e89

Please sign in to comment.