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

Retain Pinned Programs on External Volumes #1308

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

EclipsedButter
Copy link

This adds a property to bottle pins that notes whether or not a pinned program is on an internal drive. If not, it is "removable," such that if the drive is removed, the program will not display in the Bottle Pins or Installed Programs list, but is still read from and written to the metadata plist as if it still exists. If I've covered all my bases, the user should not be able to see or interact with any hidden programs. When Whisky is next opened or refreshed when the drive is plugged in, the programs will show again. If the drive is mounted but the program is not found, it is removed like usual.

This should build on #455, except in this case a Bottle can be on an internal drive and pin programs on external ones.

makes note of when a pinned program is on a non-internal volume
only existing pins are added; missing pins on mounted external volumes are still removed
filter pinned, unpinned, and blocklist for existing programs only
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

Successfully merging this pull request may close these issues.

1 participant