Added electron-forge version

This commit is contained in:
2022-08-08 21:09:51 -04:00
parent 5deb45001e
commit 74fe630a94
16 changed files with 1902 additions and 3 deletions

View File

@ -1,5 +1,4 @@
import {app, BrowserWindow, screen} from 'electron';
import * as fs from 'fs';
import * as path from 'path';
// Window factory
@ -28,7 +27,7 @@ function createWindow() {
});
window.loadFile(path.join(__dirname, "../index.html"));
// window.webContents.openDevTools();
window.webContents.openDevTools();
}
// Start

View File

@ -1,4 +1,4 @@
const {GRAVITY} = require('./dist/constants.js');
const {GRAVITY} = require('./constants.js');
const {SpriteSheet} = require('./sprite-sheet');
export type NPCOptions = {