This repository has been archived on 2021-02-15. You can view files and clone it, but cannot push or open issues or pull requests.
Files
offpass-desktop/dist/main.js
Nicolas 36b3fd6d3c + Add FontAwesome
+ Close, Minimize (doesn't work yet)
2019-10-24 16:05:31 +02:00

24 lines
591 B
JavaScript

"use strict";
exports.__esModule = true;
var electron_1 = require("electron");
var win = null;
electron_1.app.on('ready', function () {
win = new electron_1.BrowserWindow({
height: 600,
width: 1000,
frame: false,
resizable: false,
alwaysOnTop: true,
title: "OffPass",
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true
}
});
//win.loadURL("https://google.de")
win.loadFile('../src/index.html');
});
electron_1.app.on('window-all-closed', function () {
win = null;
});