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

Boxxy creates and deletes all targets at once #251

Closed
mesaprotector opened this issue Aug 27, 2024 · 1 comment
Closed

Boxxy creates and deletes all targets at once #251

mesaprotector opened this issue Aug 27, 2024 · 1 comment

Comments

@mesaprotector
Copy link
Contributor

Could be a duplicate of #228 but I'm not sure.

I'm trying out boxxy and have it set for six applications, all of which run fine with it. But what seems to be happening is that boxxy creates all six of the target directories when one application is run through boxxy, and then deletes all six of them when a program exits, instead of just creating and deleting the single one for the relevant program.

This causes problems if I have more than one boxxed application running at once - closing Firefox also deletes .golly even though it's still in use, and it complains about not being able to save preferences.

I'll look into the code myself but the most difficult programming task I've ever done is writing a 40-line R script.

@mesaprotector mesaprotector changed the title Boxxy creates and deletes every Boxxy creates and deletes all targets at once Aug 27, 2024
@mesaprotector
Copy link
Contributor Author

Actually I think it was just my fault not understanding how the "only" field worked and now I feel silly. Spent an hour reading through mod.rs and kind of get what it does now.

I do think "boxxy scan" needs some work; aside from mixing up file/directory it also suggests "Only: []" by default, which causes the above issue. Closing.

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