Skip to content

Commit

Permalink
fix missing log level value in config for Mac and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Nov 2, 2024
1 parent 45d1128 commit e9643c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/mac_installer/install_scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chown -R "${USER}" "$skywire_dir"

echo "generating skywire config if it doesn't exist"
if [[ ! -f "${skywire_dir}"/skywire-config.json ]]; then
/Applications/Skywire.app/Contents/MacOS/skywire cli config gen -bpio "${skywire_dir}"/skywire-config.json
/Applications/Skywire.app/Contents/MacOS/skywire cli config gen --loglvl info -bpio "${skywire_dir}"/skywire-config.json
fi
chown "${USER}" "${skywire_dir}"/skywire-config.json

Expand Down
2 changes: 1 addition & 1 deletion scripts/mac_installer/update_scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ if [[ -L /usr/local/bin/skywire-cli ]]; then
unlink /usr/local/bin/skywire-cli
fi

/Applications/Skywire.app/Contents/MacOS/skywire cli config gen -bprio "${skywire_dir}"/skywire-config.json
/Applications/Skywire.app/Contents/MacOS/skywire cli config gen --loglvl info -bprio "${skywire_dir}"/skywire-config.json
chown "${USER}" "${skywire_dir}"/skywire-config.json

2 changes: 1 addition & 1 deletion scripts/win_installer/skywire.bat
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if exist "%HOMEPATH%\skywire-config.json" (

:: Generating new config file if not exist
if not exist "skywire-config.json" (
skywire cli config gen -birpw --disableapps vpn-server -S services-config.json -D dmsghttp-config.json >nul 2>&1
skywire cli config gen -birpw --disableapps vpn-server -S services-config.json -D dmsghttp-config.json --loglvl info >nul 2>&1
)

:: Regenerating config file after update and install new version of Skywire
Expand Down

0 comments on commit e9643c5

Please sign in to comment.