Giter Site home page Giter Site logo

iconsur's People

Contributors

dependabot[bot] avatar donavanbecker avatar leejongyoung avatar rikumi avatar steffion avatar szhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iconsur's Issues

The `punycode` module is deprecated

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.

Use square icons with the mask

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)

能否提供一个选项设置底部阴影

你好,根据官方提供的bigsur图标模板下方是有阴影和其他细节的,是不是作为一个可选项选择添加/不添加

我导出了一个1024x1024px的透明素材,你可以看下
画板备份 28

Apply ICNS Icon Directly Without Scaling

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

Kindle.app Icon is set to iBooks

Love this utility!

I don't know when this issue started, but it first occurred for me the other day when I updated my icons: sudo iconsur set /Applications/Kindle.app results in the Kindle app having the iBook icon.

IMG_4642

White icon background

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.

Python execution error

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

Use macosicons.com Icon with IconSur

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.

Setting icons makes the System unresponsive

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

Cannot build on Apple Silicon mac?

It's very strange that the lastest release file can run very well on my M1 sillion Mac a few days ago, but it crashes today after I restart. Then I do the chmod+x line but still useless.


截屏2021-03-21 下午1 25 51

By the way I've noticed that the release is named "x64", but how can it run well at first?

Error generating icon

Idk what triggered it, but starting yesterday I can't set the icon for any apps, whenever I try running Iconsur it just throws an error, I believe it has something to do with python
Screenshot 2024-02-26 at 10 51 56 am

iOS icons are small

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.