Skip to content

Commit

Permalink
chore(pkg): upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
xlsdg committed Aug 3, 2019
1 parent a82b361 commit a81580e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
19 changes: 14 additions & 5 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const fixPath = require('fix-path');
const userEnv = require('user-env');
const menuBar = require('menubar');
const { menubar } = require('menubar');
const electron = require('electron');
const psl = require('psl');
const urlite = require('urlite');
Expand All @@ -16,18 +16,27 @@ const globalShortcut = electron.globalShortcut;


const opts = {
'tooltip': '花密',
'dir': __dirname,
// index: ,
'browserWindow': {
// x: ,
// y: ,
'width': 300,
'height': 334,
// 'alwaysOnTop': true,
},
'icon': path.join(__dirname, 'images', 'IconTemplate.png'),
'width': 300,
'height': 334,
'tooltip': '花密',
// tray: ,
'preloadWindow': true,
// showOnAllWorkspaces: ,
// windowPosition: ,
'resizable': false,
'showDockIcon': false,
'showOnRightClick': false
};

const fpMenuBar = menuBar(opts);
const fpMenuBar = menubar(opts);

main();

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
"dependencies": {
"fix-path": "^2.1.0",
"flowerpassword.js": "^2.0.0",
"menubar": "^5.2.3",
"psl": "^1.1.31",
"menubar": "^6.0.7",
"psl": "^1.3.0",
"urlite": "^2.0.2",
"user-env": "^2.0.0"
},
"devDependencies": {
"electron": "^4.0.0",
"electron-packager": "^13.0.1",
"electron": "^6.0.0",
"electron-packager": "^14.0.4",
"electron-prebuilt": "^1.4.13",
"publish-release": "^1.6.0",
"standard": "^12.0.1"
"standard": "^13.1.0"
},
"standard": {
"ignore": [
Expand Down

0 comments on commit a81580e

Please sign in to comment.