rikumi / iconsur Goto Github PK
View Code? Open in Web Editor NEWmacOS Big Sur Adaptive Icon Generator
License: MIT License
macOS Big Sur Adaptive Icon Generator
License: MIT License
Using iconsur I get…
(node:58030) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Generating adaptive icon…
The command worked, but just for you to know what something is about to break.
please add an option to set background color instead of white when using the --local
parameter
Hello, would it be possible to use no mask when the icon is square? I want to apply the round icon effect to an iOS Theme and it would be nice to have that feature. (when using a local square icon it isn't rounded, rather fit and set with a white background)
When the input file is ICNS, iconsur still attempts to apply the background and mask. Can we have an option for applying ICNS icon directly without any edits?
This is the same as copy/paste to the get info window but I would like to include all commands in a single shell script
Some apps like transmission
and appcleaner
throws this kind of unsupported
image format
This seems interesting, but I’d like to know if there’s any way to get an icon background other than white when an App Store icon cannot be found.
Hi
I am testing the macOS 12.3 beta, and iconsur stopped working there as a consequence of Python 2 being removed, which made fileicon stop working.
I managed to make it work again for myself by simply updating the version of fileicon that is used from https://github.com/mklement0/fileicon and that fixed it, as it does not depend on Python 2 anymore, so I would suggest doing that as a fix.
$ sudo iconsur set /Applications/GeoGebra\ Classic\ 6.app
Processing /Applications/GeoGebra Classic 6.app...
Searching iOS App with name: GeoGebra Classic 6
Error: request to https://itunes.apple.com/search?media=software&entity=software%2CiPadSoftware&term=GeoGebra%20Classic%206&country=us&limit=1 failed, reason: unable to get local issuer certificate
Hey
Thanks for this beautiful project. I used it to change about 10 icons. After that, it suddenly broke. Seems like there's an issue with Python executions in background. Here's the error:
Found iOS app: Spotify: Discover new music with icon: https://is1-ssl.mzstatic.com/image/thumb/Purple125/v4/0f/6e/0e/0f6e0ecd-e5b6-fe2a-ab1a-edb4d7a54cfd/source/512x512bb.jpg If this app is incorrect, specify the correct name with -k or --keyword, or generate an icon locally with option -l or --local Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/Cocoa/__init__.py", line 8, in <module> import objc File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/__init__.py", line 27, in <module> from objc._convenience import * File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 24, in <module> import collections File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py", line 24, in <module> import heapq as _heapq File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/heapq.py", line 132, in <module> from itertools import islice, count, imap, izip, tee, chain ImportError: cannot import name islice fileicon-033326.sh: ERROR: ABORTING due to unexpected error. Failed to set custom icon: fileicon script exited with error 1
Hello,
Whenever I try to apply an icon from macosicons.com with IconSur, it adds a white background around it. Is there a way to use the icon unmodified?
Thanks in advance.
They have a bunch of icons, so maybe make a command to set the icon source to this repo instead?
Hi!
first of thanks for the handy script, yesterday I download the iconsur then added my PATH from the downloads folder then I proceed with changing app icons most of them I generated the icon from the local asset using -l.
only 2 apps add problems:
Karabiner-Element & Karabiner-EventViewer saying that I had no write access while using sudo of course
Slidepad after generating the icons then unset it, when I try to set again I was getting a corrupt file like error
Sorry that I can add the error as I just got working again to try to reproduce it again
I am not entirely sure if iconsur is the culprit since after reboot before the system becomes unresponsive again I managed to see the crash report and it related to SMC but event after resetting the SMC several times the problem still persist event in safe mode the computer was a bit slow with high CPU usage
After unsetting all the icons in safe mode then a reboot everything is back to normal
I would to not that sudo iconsur cache
does not work for me, I get the errors below
find: /private/var/folders//0y/45ssbl4j1xzdng53lhf1gj580000gn/C/com.apple.iconservices: No such file or directory
find: /private/var/folders//zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.iconservices: No such file or directory
touch: cannot touch '/Applications/Batman Arkham City GOTY.app': No such file or directory
touch: setting times of '/Applications/Karabiner-Elements.app': Operation not permitted
touch: setting times of '/Applications/Karabiner-EventViewer.app': Operation not permitted
touch: cannot touch '/Applications/Tomb Raider Anniversary.app': No such file or directory
Error: Command failed: sleep 3; sudo touch /Applications/*
Arkham & Tomb Raider are symlinks but drive in there is not connected
so I get not being apple to cache is the reason why I experiencing this
I will try to move the apps but remain the folder in /private/...
I really like iconsur, so much easier to set icons than drag and drop plus generating icons on the fly is also great
In some cases, you already have a proper Big Sur Icon, e.g. from this wonderful website, and you just want to set your apps in a batch. -i
can be used for a local file, however the image is still processed. In some cases, this is not necessary at all.
Telegram Icon changes to stock icon when app is running
Excellent tool! Thanks.
When there is an iOS icon available, they seem about 10% too small next to stock Big Sur icons. Using the -s flag to scale them to 1.1 or 1.2 does not work. Firefox is a good example of this.
Hi, I'm trying to update the WhatsApp icon on my mac and it throws an error saying I don't have permissions. I guess that this is because it is downloaded from the AppStore. Any idea on how to fix this?
Any plan to add one click to replace all icon with '--local'
When I try to run sudo iconsur set myAppDir I get this error
/tmp/fileicon-112962.sh: line 203: /usr/bin/python: No such file or directory
It seems to disable all of my safari extensions
Please add homebrew support
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.