Closed elevenwin closed 1 year ago
Scaffold:npm create @quick-start/electron
In debug mode, it is worked that icon was setted to the BrowserWindow 's property. After released, it is not worked. It's not allowed to add picture to the window, like Electron's Tray.(it was required a parameter as the icon path).
create-electron
npm
@elevenwin , you can create a folder in root. e.g.
├──src ├──resources # as public dir │ └──icon.ico └──package.json
It works,Thank you!!!
Describe the bug
Scaffold:npm create @quick-start/electron
In debug mode, it is worked that icon was setted to the BrowserWindow 's property. After released, it is not worked. It's not allowed to add picture to the window, like Electron's Tray.(it was required a parameter as the icon path).
Used Scaffolding
create-electron
Used Package Manager
npm
Validations