mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 06:18:39 +02:00
add empty style.less, don't allow window re-size
This commit is contained in:
parent
c50852a46f
commit
c7a7f9cd69
2 changed files with 7 additions and 2 deletions
0
console/src/css/style.less
Normal file
0
console/src/css/style.less
Normal file
|
@ -18,7 +18,7 @@ require('crash-reporter').start();
|
|||
// Keep a global reference of the window object, if you don't, the window will
|
||||
// be closed automatically when the JavaScript object is garbage collected.
|
||||
var mainWindow = null;
|
||||
var appIcon = null;
|
||||
var tray = null;
|
||||
|
||||
var path = require('path');
|
||||
var TRAY_ICON = path.join(__dirname, '../resources/console-tray.png');
|
||||
|
@ -67,7 +67,12 @@ app.on('ready', function() {
|
|||
require('electron-compile').init();
|
||||
|
||||
// Create the browser window.
|
||||
mainWindow = new BrowserWindow({width: 800, height: 600, icon: APP_ICON});
|
||||
mainWindow = new BrowserWindow({
|
||||
width: 800,
|
||||
height: 600,
|
||||
icon: APP_ICON,
|
||||
resizable: false
|
||||
});
|
||||
|
||||
// and load the index.html of the app.
|
||||
mainWindow.loadURL('file://' + __dirname + '/index.html');
|
||||
|
|
Loading…
Reference in a new issue