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 #24

Closed
alabotski opened this issue Jan 3, 2025 · 4 comments
Closed

Portable #24

alabotski opened this issue Jan 3, 2025 · 4 comments

Comments

@alabotski
Copy link

Hi

Are you planning to implement a portable version in the future?

@flexits
Copy link
Owner

flexits commented Jan 3, 2025

Hi! Basically, the app is portable right as it is – just perform installation, copy the contents of its folder from Program files to a thumb drive and you're good to go. The two issues may arise here, as follows:

If the destination PC happens to have no .NET runtime installed, the app won't start, obviosly. I can deploy it as a self-containing app to address this possible issue, but the size is going to be huge then.

Secondly, the settings are stored at current user Application data folder, thus they won't be accessible on another PC. One may either use some custom launcher to copy the settings file on every new destination (but then the app won't be truly portable, in my understanding) or I could be storing the settings in the app's installation folder (but then the app will have the same settings for all users and additionally it'll trigger the UAC warning upon every launch).

So, both solutions don't seem great at all to me, and I'm not aware of any common approach to this situation by far.

@alabotski
Copy link
Author

@flexits Thanks for the answer

If the destination PC happens to have no .NET runtime installed, the app won't start, obviosly. I can deploy it as a self-containing app to address this possible issue, but the size is going to be huge then.

Is it possible to make a standalone archive in releases so that I don't have to use the installer every time? Let's assume that .NET runtime is installed

Secondly, the settings are stored at current user Application data folder, thus they won't be accessible on another PC. 

And if you do it in the same way as VSCode (https://code.visualstudio.com/docs/editor/portable)
After unzipping the VS Code download, create a data folder within VS Code's folder

@flexits
Copy link
Owner

flexits commented Jan 5, 2025

do it in the same way as VSCode

Yes, I think it's doable. Let's consider this a planned feature.

Is it possible to make a standalone archive in releases

Sure, I'll add the archive when this feature will be available.

@flexits
Copy link
Owner

flexits commented Jan 7, 2025

Added in v0.9.1

@flexits flexits closed this as completed Jan 7, 2025
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

2 participants