1.0.0 • Published 4 years ago
set-icon v1.0.0
set-icon
Node.js wrapper around NSWorkspace.setIcon(_:forFile:options:). You can use this to change icons for .apps.
Install
yarn add set-icon
# or
npm install set-iconCLI usage
set-icon <file_path> <icon_path> # to change
set-icon <file_path> # to resetUsage
import setIcon from 'set-icon'
// to change
await setIcon('/Applications/Foo.app', 'icon.png')
// to reset
await setIcon('/Applications/Foo.app', null)1.0.0
4 years ago