Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using spacers #5

Open
l-mbert opened this issue Feb 1, 2023 · 0 comments
Open

Error when using spacers #5

l-mbert opened this issue Feb 1, 2023 · 0 comments

Comments

@l-mbert
Copy link

l-mbert commented Feb 1, 2023

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";}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant