From b9d9179537c917a764f804b30e205104e70b6d38 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Sat, 1 Jul 2023 01:44:57 +0200 Subject: [PATCH] Add env option to configure maFiles path (#258) I'd like to add this awesome tool to Scoop (https://github.com/ScoopInstaller/Scoop) which works best with portable programs. Currently the problem is that steamguard-cli doesn't look for a local/relative maFiles folder. The alternative I opted for would be to use an env var which Scoop can also set to its persist dir. --- src/commands.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands.rs b/src/commands.rs index fa76653..c9c910d 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -93,6 +93,7 @@ pub(crate) struct GlobalArgs { #[clap( short, long, + env = "STEAMGUARD_CLI_MAFILES", help = "Specify which folder your maFiles are in. This should be a path to a folder that contains manifest.json. Default: ~/.config/steamguard-cli/maFiles" )] pub mafiles_path: Option,