atom-custom-app-icon
atom-custom-app-icon copied to clipboard
Could not install plugin on Windows7 x64 (EBADPLATFORM)
Installation fails with on Win7x64(SP1):
npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Users\Home\AppData\Local\atom\app-1.8.0\resources\app\apm\bin\node.exe" "C:\Users\Home\AppData\Local\atom\app-1.8.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Home.atom.apm.apmrc" "--userconfig" "C:\Users\Home.atom.apmrc" "install" "C:\Users\Home\AppData\Local\Temp\d-116519-4932-1dxvcl9\package.tgz" "--target=0.36.8" "--arch=ia32" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your operating system or architecture: [email protected] npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: ia32
@radiocity From the README:
NOTE that this package is mac only for now; you couldn't pay me enough to use Windows… but pull requests are welcome.
PRs welcome from Windows users 😉
It's a pity.
How to change atom`s icon for Windows platform
No any warranties provided. You follow next instruction on your own risks. It can cause application damage or data loss.
- Create or download single icon file with several demensions (16x16, 24x24, 32x32, 64x64)
- Replace it with
C:\Users\<user name>\AppData\Local\atom\app.ico
- Download and run Resource Hacker
- Open
C:\Users\<user name>\AppData\Local\atom\app-1.8.0\atom.exe
with Resource Hacker - Select
Icon Group/1
. Now you should see icon preview - Press
CTRL+R
. "Replace icon in" window will appear. - Press "Open file with new icon" and locate icon you`ve create or download
- Press Replace button. Window should close.
- Press
CTRL+S
in main Resource Hacker window. Executable should be saved anb backup silently created - Restart the operating system in order to reset the system cache.
Seems like a lot of manual steps and a system restart! There must be a better way? Even on Windows! 😷
May be a registry magic. Dont know, newbee with Atom.
Well if you figure out a way that can be automated and incorporated into this package, then let me know or maybe do a PR. I don't have (or want) a copy of Windows to go hacking around myself… and with a different icon format (.ico) too!