From e3b66cdbbaf04710df01be04d664da35ae0a5789 Mon Sep 17 00:00:00 2001 From: Tzikas Date: Thu, 22 Jul 2021 17:38:48 -0400 Subject: [PATCH] resizing --- main.js | 4 ++-- package-lock.json | 7 ++++++- package.json | 2 +- webpack.browser.js | 14 +++++++++++++- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/main.js b/main.js index 2b95bea..c56f90e 100644 --- a/main.js +++ b/main.js @@ -231,8 +231,8 @@ function createJitsiMeetWindow() { width: windowState.width, height: windowState.height, icon: path.resolve(basePath, './resources/icon.png'), - minWidth: 800, - minHeight: 800, + minWidth: 600, + minHeight: 600, show: false, webPreferences: { enableBlinkFeatures: 'RTCInsertableStreams,WebAssemblySimd', diff --git a/package-lock.json b/package-lock.json index df9718d..1d7efaf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "CowBellClub", - "version": "1.7.7", + "version": "1.8.7", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -13086,6 +13086,11 @@ "readable-stream": "^2.0.0" } }, + "fs": { + "version": "0.0.1-security", + "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", + "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" + }, "fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", diff --git a/package.json b/package.json index 67aa0b7..9e8e1a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "CowBellClub", - "version": "1.8.7", + "version": "1.8.8", "description": "Electron application for Cowbell Club", "main": "./build/main.js", "productName": "CowbellClub", diff --git a/webpack.browser.js b/webpack.browser.js index e458313..d513fd0 100644 --- a/webpack.browser.js +++ b/webpack.browser.js @@ -13,13 +13,25 @@ const smp = new SpeedMeasurePlugin(); module.exports = { // The renderer code runs in BrowserWindow without node support so we must // target a web platform. - //target: 'electron-renderer', + //target: 'electron-renderer', //I uncommented this out + // target: 'node', entry: { app: './app/index-browser.js' }, + + // node: { + // fs: 'empty', + // }, + // resolve: { + // fallback: { + // "fs": false + // }, + // }, + // devtool: 'source-map', // performance: { // maxAssetSize: 1.5 * 1024 * 1024, // maxEntrypointSize: 1.5 * 1024 * 1024 // }, + // mode: 'development', devServer: { contentBase: path.resolve('./build-browser'), allowedHosts: ['local.cowbell.club'],