Skip to content

Commit 36c1430

Browse files
committed
Fixed a bug
1 parent ec54eff commit 36c1430

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

menu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ module.exports = function createMainMenu() {
134134
icon_path: join(__dirname, 'build/icon.png'),
135135
license: 'MIT',
136136
description: 'Unofficial HackMD.io Desktop App',
137+
win_options: { autoHideMenuBar: true },
137138
})
138139
},
139140
]

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "HackmdDesktop",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Desktop app for HackMD packaged with Electron",
55
"author": "A-Lang <alang.hsu@gmail.com> (http://www.osslab.tw)",
66
"license": "MIT",
@@ -22,7 +22,7 @@
2222
"clean": "rm -rf ./dist",
2323
"clean:linux": "rm -rf ./dist/*-linux-*/",
2424
"clean:win": "rm -rf ./dist/*-win32-*/",
25-
"dist:linux64": "npm run clean && build --linux",
25+
"dist:linux": "npm run clean && build --linux",
2626
"dist:linux32": "npm run clean && build --linux --ia32",
2727
"dist:mac": "npm run clean && build --mac",
2828
"dist:win": "npm run clean && build --win",
@@ -70,8 +70,8 @@
7070
"electron-debug": "^1.0.1"
7171
},
7272
"devDependencies": {
73-
"electron": "^1.8.8",
73+
"electron": "^4.1.4",
7474
"electron-builder": "^20.34.0",
7575
"standard": "^10.0.3"
7676
}
77-
}
77+
}

0 commit comments

Comments
 (0)