Skip to content

Error when using spacers #5

@l-mbert

Description

@l-mbert

If you have spacers in your dock, which can be added with a command, the App will throw this error:

node:internal/process/task_queues:96
    runMicrotasks();
    ^

TypeError: Cannot read properties of undefined (reading '0')
    at getAppNamesToIconPaths (/snapshot/dist/index.cjs)
    at getDockContents (/snapshot/dist/index.cjs)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Command for adding spacers:

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions