mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
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:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user