[20.10.x] "icon directory [...]/build doesn't contain icons" when targetting linux/deb/x64
See original GitHub issue- Version: 20.10.5
- Electron Version: 12.0.0
- Electron Type (current, beta, nightly): current
- Target: linux/deb/x64
Getting a build failure of electron-builder
trying to load icons:
⨯ icon directory /home/avi/projects/electron-app/build doesn't contain icons
github.com/develar/app-builder/pkg/icons.CollectIcons
/Volumes/data/Documents/app-builder/pkg/icons/collect-icons.go:73
github.com/develar/app-builder/pkg/icons.doConvertIcon
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:191
github.com/develar/app-builder/pkg/icons.ConvertIcon
/Volumes/data/Documents/app-builder/pkg/icons/icon-converter.go:66
My config is fairly simple:
{
"appId": "com.test.electron-app",
"productName": "electron-app",
"directories": {
"output": "./build"
},
"files": ["node_modules", "dist"],
"asar": false,
"linux": {
"target": [
{
"target": "deb",
"arch": ["x64"]
}
]
},
"win": {
"publisherName": "Test",
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
]
},
"mac": {
"target": [
{
"target": "dmg",
"arch": ["x64"]
}
]
}
}
v22.9.1 is the last working version when it doesn’t fail because of the icons. Needless to say, I don’t have any icons that I’m trying to set.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6
Top Results From Across the Web
Failed to fetch security undetermined error [IP: 91.189.91.38 ...
Revert your repositories list to the original Ubuntu Focal list by running the following command in the terminal:
Read more >Can't Add Icon To Electron App With Electron Builder
buildResources should include resource files like icons. If you are not going to set this buildResources manually then the default will be ...
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated based on the packages in this Spack version....
Read more >Docker Desktop release notes - Docker Documentation
Fixed an issue where Compose v2 was not always enabled by default on Windows. Docker Desktop now deletes the C:\Program Files\Docker folder at...
Read more >Lubuntu 20.04 Is an Absolute Nightmare of a Linux Distribution
Also, the same keyboard shortcuts issue is still there; You create a new shortcut, only to discover that it doesn't work. LXQt does...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice catch. Will fix this asap.
@AviVahl looks like the problem was on my side. I had
assets/icons
folder with some images and when I changed the name of the directory everything worked smoothly.Thank you for your help. Looks like this issue can be closed.