From e9643c5eb1c870370619b3b3ecf9cedc5a925ebe Mon Sep 17 00:00:00 2001 From: Mohammed Date: Sat, 2 Nov 2024 05:10:55 +0330 Subject: [PATCH] fix missing log level value in config for Mac and Windows --- scripts/mac_installer/install_scripts/postinstall | 2 +- scripts/mac_installer/update_scripts/postinstall | 2 +- scripts/win_installer/skywire.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/mac_installer/install_scripts/postinstall b/scripts/mac_installer/install_scripts/postinstall index daf62651c2..eca9b04065 100755 --- a/scripts/mac_installer/install_scripts/postinstall +++ b/scripts/mac_installer/install_scripts/postinstall @@ -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 diff --git a/scripts/mac_installer/update_scripts/postinstall b/scripts/mac_installer/update_scripts/postinstall index 2953aa3601..30243f6055 100755 --- a/scripts/mac_installer/update_scripts/postinstall +++ b/scripts/mac_installer/update_scripts/postinstall @@ -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 diff --git a/scripts/win_installer/skywire.bat b/scripts/win_installer/skywire.bat index ee39bd3477..dc267088d2 100644 --- a/scripts/win_installer/skywire.bat +++ b/scripts/win_installer/skywire.bat @@ -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