-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add RUSTIC_HOME
and update precedence for platform specific app directories
#859
Comments
Hi, just to let you know, the latest release (0.6.1) doesn't contain any binaries for Windows so the Scoop package is out of date currently. |
Yes, the last release didn't contain a windows binary (@aawsome), we need to investigate that, fortunately we will have another release soon. Thank you a lot for the heads-up, though! |
With the new release, packages should be updated, hashes are attached and packages are signed. So we should be able to update our scoop package at this point. |
Hash for rustic has been updated: ScoopInstaller/Main#5494
|
Update: The hash has been updated, but because I needed to rebuild the artifacts once again when I discovered the internal hierarchy was breaking |
scoop
manifest and CI needs updateRUSTIC_HOME
and update precedence for platform specific app directories
We need to think that through, as that could become a problem. We may only set @tech189 Is there a usual way to handle that for |
Installations of apps with Scoop are not meant to be portable as far as I know. Users should know that if they move executables away from their Scoop directory, they will no longer be managed by Scoop and updates/environment variables will no longer work properly. |
yeah, users can set a custom location with the environment variable, but
"RUSTIC_HOME": "$dir"
is defined in manifest,$env:RUSTIC_HOME
will be reset to$dir
every update.If you want to make the program more portable.
rustic_home
should be set in order and fallback to the first existing path:$env:RUSTIC_HOME
<program_root>\home
$env:USERPROFILE\.config\rustic
or$env:USERPROFILE\.rustic
$env:APPDATA\rustic
$env:ProgramData\rustic
...
note, this just a example or suggestion, or a feature request for your project.
Originally posted by @HUMORCE in ScoopInstaller/Main#5042 (comment)
Furthermore, we need to make sure, that the next release:
cargo-auditable
and includeconfig/
directory into package #843)The text was updated successfully, but these errors were encountered: