figuring out icons and such
This commit is contained in:
@@ -19,7 +19,9 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"config": {
|
"config": {
|
||||||
"forge": {
|
"forge": {
|
||||||
"packagerConfig": {},
|
"packagerConfig": {
|
||||||
|
"icon": "./src/assets/1024x1024"
|
||||||
|
},
|
||||||
"makers": [
|
"makers": [
|
||||||
{
|
{
|
||||||
"name": "@electron-forge/maker-squirrel",
|
"name": "@electron-forge/maker-squirrel",
|
||||||
|
|||||||
Binary file not shown.
@@ -2,6 +2,7 @@ import { BrowserWindow, app, ipcMain } from "electron";
|
|||||||
import Channels, { Dimensions } from "./electron/constants";
|
import Channels, { Dimensions } from "./electron/constants";
|
||||||
|
|
||||||
import { handleLogin } from "./electron/handleLogin";
|
import { handleLogin } from "./electron/handleLogin";
|
||||||
|
import path from "path";
|
||||||
import store from "./electron/store";
|
import store from "./electron/store";
|
||||||
|
|
||||||
// This allows TypeScript to pick up the magic constant that's auto-generated by Forge's Webpack
|
// This allows TypeScript to pick up the magic constant that's auto-generated by Forge's Webpack
|
||||||
@@ -28,6 +29,7 @@ const createWindow = (): void => {
|
|||||||
preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
|
preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
|
||||||
sandbox: true,
|
sandbox: true,
|
||||||
},
|
},
|
||||||
|
icon: "./src/assets/1024x1024",
|
||||||
});
|
});
|
||||||
|
|
||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
|
|||||||
Reference in New Issue
Block a user