Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F61506
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
689 B
Subscribers
None
View Options
diff --git a/electron.js b/electron.js
index b873e92..fb36aa4 100644
--- a/electron.js
+++ b/electron.js
@@ -1,17 +1,18 @@
const {app,BrowserWindow} = require("electron");
let window; //global reference is needed for garbage collection
function createWindow()
{
window = new BrowserWindow({icon:"favicon.ico",backgroundColor:"#000",show:false});
window.loadFile("index.html");
window.once("ready-to-show",window.show);
window.on("closed",function(){window=null});
window.autoHideMenuBar = true;
+ window.setMenuBarVisibility(false);
}
app.on("ready",createWindow);
app.on("window-all-closed",app.quit);
app.on('activate',function(){if(!window) createWindow()});
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Aug 14, 2:11 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10761
Attached To
rTDCWEB 3DCycles Web
Event Timeline
Log In to Comment