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

Portable #390

Open
alabotski opened this issue Oct 10, 2023 · 3 comments
Open

Portable #390

alabotski opened this issue Oct 10, 2023 · 3 comments

Comments

@alabotski
Copy link

Why does the Portable version store its settings and logs on the user's system?
It turns out that there is a dependence on the machine where the settings were made

@equeim
Copy link
Owner

equeim commented Oct 10, 2023

That's because it's not a portable build, it's just archive without installer. Initially there wasn't msi installer at all, just zip archive. When I added installer I just kept publishing archive too. Not sure whether adding proper portable build is worth it, what do you want to use it for?

@alabotski
Copy link
Author

I have keenetic 1810
I want to manage torrents from both my home and work computers
Run app from USB flash

@elisimpson
Copy link

My suggestion would be to check for a zero-byte file "portable" in the same directory as the app's exe. If the portable file exists save all the settings/logs/etc in the app directory. If it doesn't exist use the user's APPDATA directory as it does now.

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

3 participants