umbrella22 / electron-vite-template

This project is a vue3 + Vite + electron project template composed of Vite and rollup. It has the same functions as my previous electron+Vue+template project
Other
419 stars 111 forks source link

Update `BlackHole1/electron-devtools-vendor` to use v3.0.0 to support Manifest V3 #132

Closed KSneijders closed 5 months ago

KSneijders commented 5 months ago

When using the template I got the following warning:

┏ Electron -------------------

  (node:78916) ExtensionLoadWarning: Warnings loading extension at C:\Users\<user>\<path>\node_modules\electron-devtools-vendor\extensions\vuejs-devtools:
    'host_permissions' requires manifest version of at least 3.
    Manifest version 2 is deprecated, and support will be removed in 2024. See https://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline for details.
    'scripting' requires manifest version of at least 3.

  (Use `electron --trace-warnings ...` to show where the warning was created)

┗ ----------------------------

This originated from: BlackHole1/electron-devtools-vendor where the maintainer updated the package to using manifest V3.

# package.json
- "electron-devtools-vendor": "^2.1.0",
+ "electron-devtools-vendor": "^3.0.0",
mlmdflr commented 5 months ago

Thank you for your issues,I've submitted a pull request !

umbrella22 commented 5 months ago

Merged and updated