remove electron.remote dependency

now in renderer check if we are in dev mode using `'npm_package_name' in process.env`

The logic is that we always run the dev mode via npm/yarn and thus that env var will be available
This commit is contained in:
Araxeus
2023-04-15 20:04:51 +03:00
parent 20db77f965
commit 263a335c96
3 changed files with 35 additions and 15 deletions

View File

@ -137,6 +137,9 @@
"youtubei.js": "^4.3.0",
"ytpl": "^2.3.0"
},
"resolutions": {
"electron-is-dev": "patch:electron-is-dev@npm%3A2.0.0#./.yarn/patches/electron-is-dev-npm-2.0.0-9d41637d91.patch"
},
"devDependencies": {
"@playwright/test": "^1.29.2",
"auto-changelog": "^2.4.0",