Update index.js
This commit is contained in:
parent
008835b372
commit
a7d1ce0069
1 changed files with 0 additions and 3 deletions
3
index.js
3
index.js
|
@ -1,11 +1,9 @@
|
||||||
require('v8-compile-cache');
|
require('v8-compile-cache');
|
||||||
const {app} = require('electron');
|
const {app} = require('electron');
|
||||||
const {BrowserWindow} = require("electron-acrylic-window");
|
|
||||||
|
|
||||||
// Creating the Application Window and Calling all the Functions
|
// Creating the Application Window and Calling all the Functions
|
||||||
function CreateWindow() {
|
function CreateWindow() {
|
||||||
if (app.isQuiting) { app.quit(); return; }
|
if (app.isQuiting) { app.quit(); return; }
|
||||||
|
|
||||||
/** CIDER **/
|
/** CIDER **/
|
||||||
const ciderwin = require("./resources/functions/cider-base")
|
const ciderwin = require("./resources/functions/cider-base")
|
||||||
app.win = ciderwin
|
app.win = ciderwin
|
||||||
|
@ -20,7 +18,6 @@ function CreateWindow() {
|
||||||
|
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
if (app.isQuiting) { app.quit(); return; }
|
if (app.isQuiting) { app.quit(); return; }
|
||||||
|
|
||||||
console.log('[Cider] Application is Ready. Creating Window.')
|
console.log('[Cider] Application is Ready. Creating Window.')
|
||||||
CreateWindow()
|
CreateWindow()
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue