Skip to content

Commit

Permalink
fix: open openAboutWindow after pack
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Jul 25, 2019
1 parent 714cd5d commit a7f1b62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/app/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ module.exports = {
DEFAULT_LANG,
ICON_PATH,
PRODUCT_NAME,
resolvePath,
};
2 changes: 2 additions & 0 deletions public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const {
PRODUCT_NAME,
DEFAULT_LANG,
DEFAULT_DEVELOPER_MODE,
resolvePath,
} = require('./app/config/config');
const {
LOAD_SPACE_CHANNEL,
Expand Down Expand Up @@ -157,6 +158,7 @@ const generateMenu = () => {
label: 'About',
click: () => {
openAboutWindow({
base_path: resolvePath(app.getAppPath()),
icon_path: ICON_PATH,
copyright: 'Copyright © 2019 React',
product_name: PRODUCT_NAME,
Expand Down

0 comments on commit a7f1b62

Please sign in to comment.