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

Fully self-contained portable #72

Open
crschnick opened this issue Aug 11, 2023 · 2 comments
Open

Fully self-contained portable #72

crschnick opened this issue Aug 11, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@crschnick
Copy link
Contributor

Add the option to save all data within the location of a portable installation.

@crschnick crschnick added the enhancement New feature or request label Aug 11, 2023
@furious
Copy link

furious commented May 12, 2024

Since this is in the source code:

dataDir = Optional.ofNullable(System.getProperty("io.xpipe.app.dataDir"))

We can add this property at app/app/xpiped.cfg under the [JavaOptions], for example:

java-options=-Dio.xpipe.app.dataDir=./data

So it will write all data in the same path as the executable is in a folder "data" for the portable release, unless it is planned as a new setting...

Well I hope this helps...

@crschnick
Copy link
Contributor Author

Yeah that is true that this option exists, but it's not really exposed and documented.

Note that you can also pass properties by launching app/xpiped.exe -Dio.xpipe.app.dataDir=./data or app/bin/xpiped -Dio.xpipe.app.dataDir=./data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants