OSDN Git Service
(root)
/
bytom
/
bytom-electron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d143b78
)
fix: hide titlebar in mac
author
j
<coffce404@gmail.com>
Fri, 2 Jul 2021 06:09:00 +0000
(14:09 +0800)
committer
j
<coffce404@gmail.com>
Fri, 2 Jul 2021 06:09:00 +0000
(14:09 +0800)
main.js
patch
|
blob
|
history
diff --git
a/main.js
b/main.js
index
2dfd3da
..
a87c717
100644
(file)
--- a/
main.js
+++ b/
main.js
@@
-30,6
+30,7
@@
function initialize () {
win = new BrowserWindow({
width: 1024 + 238,
height: 768,
+ titleBarStyle: 'hidden',
'webPreferences': {
'webSecurity': !process.env.DEV_URL,
'preload': path.join(__dirname, '/modules/preload.js')