+ Add FontAwesome
+ Close, Minimize (doesn't work yet)
This commit is contained in:
6
dist/index.html
vendored
6
dist/index.html
vendored
@@ -1,6 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>This is a title</h1>
|
||||
<p>This is normal text</p>
|
||||
</body>
|
||||
</html>
|
||||
16
dist/main.js
vendored
16
dist/main.js
vendored
@@ -5,7 +5,19 @@ var win = null;
|
||||
electron_1.app.on('ready', function () {
|
||||
win = new electron_1.BrowserWindow({
|
||||
height: 600,
|
||||
width: 800
|
||||
width: 1000,
|
||||
frame: false,
|
||||
resizable: false,
|
||||
alwaysOnTop: true,
|
||||
title: "OffPass",
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
enableRemoteModule: true
|
||||
}
|
||||
});
|
||||
win.loadFile('index.html');
|
||||
//win.loadURL("https://google.de")
|
||||
win.loadFile('../src/index.html');
|
||||
});
|
||||
electron_1.app.on('window-all-closed', function () {
|
||||
win = null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user