
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@morgul/macos-folder-icons
Advanced tools
A cli tool to create macOS style folders from SVG files.
Creates .png
and .icns
files from SVGs.
Tested with various icon types via svg-icon.
create-mac-folder
will attempt to make all SVGs compatible though there are limitations of what can be done.
Most SVGs will work just fine (See examples below).
npm install --global macos-folder-icons
Option | Alias | Type | Default | Description |
---|---|---|---|---|
<input> | n.a. | string | n.a. | Default command |
--out-dir | -o | string | ./macos-folder-icons | Defines the output directory |
--ignore | -i | string | undefined | Defines ignore patterns |
--port | -p | number | 1337 | Change the port if 1337 is taken |
--size | -s | number | 424 | Change the size of the icon viewBox |
Core options
Option | Description |
---|---|
--help | prints help |
--version | prints version |
create-mac-folder path/to/my.svg
create-mac-folder one.svg two.svg
create-mac-folder '{one,two,four}.svg'
create-mac-folder 'path/to/my/*.svg'
Input is required. It allows using multiple strings or glob patterns,
string
path/to/my.svg
-->./macos-folder-icons/my.svg
create-mac-folder path/to/my.svg
Glob patterns
Make sure to put your glob patterns in quotes
'**/glob/*/pattern'
.
create-mac-folder 'path/to/my/*.svg'
Defines the output directory relative to the current working directory (process.cwd()
).
string
path/to/my.svg
-->./out/my.svg
create-mac-folder path/to/my.svg -o out
Defines files to ignore. Allows glob patterns and multiple definitions
Make sure to put your glob patterns in quotes
'**/glob/*/pattern'
.
string
**/*.svg, !**/qux/*.svg, !foo/bar/baz.svg
-->./macos-folder-icons/*
create-mac-folder '**/*.svg' --ignore '**/qux/*.svg' --ignore 'foo/bar/baz.svg'
Change the port in case 1337
is already in use
number
create-mac-folder path/to/my.svg --port 3000
Define the size of the icon. The default is optimized to use circular icons from
svg-icon/simple
(e.g. )
number
create-mac-folder path/to/my.svg --size 300
Take a look at the Example files.
FAQs
custom folder icons for macOS
We found that @morgul/macos-folder-icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.