Skip to content

Commit

Permalink
make window smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
jmullercuber committed Sep 4, 2023
1 parent 0ca4e62 commit cfcff46
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
const { app, BrowserWindow, ipcMain } = require("electron");
const path = require("path");

const IS_DEBUGGING = false


function createWindow() {
const win = new BrowserWindow({
width: 400,
height: 400,
width: IS_DEBUGGING ? 800 : 100 ,
height: IS_DEBUGGING ? 800 : 100,
frame: false,
icon: path.resolve(__dirname, "assets", "logo64x64.png"),
transparent: true,
Expand Down

0 comments on commit cfcff46

Please sign in to comment.