Commit c5b04396 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'Boria138-cli-clean' into devel

parents 76adfe99 9fcad099
...@@ -14,6 +14,8 @@ then ...@@ -14,6 +14,8 @@ then
flatpak run ru.linux_gaming.PortProton "$@" flatpak run ru.linux_gaming.PortProton "$@"
exit exit
fi fi
if [[ "${1,,}" != "cli" ]] ; then
echo ' echo '
█░░ █ █▄░█ █░█ ▀▄▀ ▄▄ █▀▀ ▄▀█ █▀▄▀█ █ █▄░█ █▀▀ ░ █▀█ █░█ █░░ █ █▄░█ █░█ ▀▄▀ ▄▄ █▀▀ ▄▀█ █▀▄▀█ █ █▄░█ █▀▀ ░ █▀█ █░█
█▄▄ █ █░▀█ █▄█ █░█ ░░ █▄█ █▀█ █░▀░█ █ █░▀█ █▄█ ▄ █▀▄ █▄█ █▄▄ █ █░▀█ █▄█ █░█ ░░ █▄█ █▀█ █░▀░█ █ █░▀█ █▄█ ▄ █▀▄ █▄█
...@@ -25,6 +27,7 @@ echo ' ...@@ -25,6 +27,7 @@ echo '
██║░░░░░╚█████╔╝██║░░██║░░░██║░░░██║░░░░░██║░░██║╚█████╔╝░░░██║░░░╚█████╔╝██║░╚███║ ██║░░░░░╚█████╔╝██║░░██║░░░██║░░░██║░░░░░██║░░██║╚█████╔╝░░░██║░░░╚█████╔╝██║░╚███║
╚═╝░░░░░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░░╚════╝░╚═╝░░╚══╝ ╚═╝░░░░░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░░╚════╝░╚═╝░░╚══╝
' '
fi
$PW_DEBUG $PW_DEBUG
if [[ $(id -u) = 0 ]] \ if [[ $(id -u) = 0 ]] \
...@@ -231,10 +234,10 @@ if [[ -z "$BRANCH" ]] ; then ...@@ -231,10 +234,10 @@ if [[ -z "$BRANCH" ]] ; then
export BRANCH="master" export BRANCH="master"
fi fi
if [[ "$BRANCH" == "master" ]] ; then if [[ "$BRANCH" == "master" ]] ; then
print_info "Branch in used: STABLE\n" [[ "${PW_CLI}" != 1 ]] && print_info "Branch in used: STABLE\n"
export BRANCH_VERSION="" export BRANCH_VERSION=""
else else
print_warning "Branch in used: DEVEL\n" [[ "${PW_CLI}" != 1 ]] && print_warning "Branch in used: DEVEL\n"
export BRANCH_VERSION="-dev" export BRANCH_VERSION="-dev"
fi fi
...@@ -252,9 +255,9 @@ fi ...@@ -252,9 +255,9 @@ fi
if [[ $USE_ONLY_LG_RU == "1" ]] ; then if [[ $USE_ONLY_LG_RU == "1" ]] ; then
export MIRROR="CLOUD" export MIRROR="CLOUD"
edit_user_conf_from_gui MIRROR USE_ONLY_LG_RU edit_user_conf_from_gui MIRROR USE_ONLY_LG_RU
print_info "Force used linux-gaming.ru for all updates.\n" [[ "${PW_CLI}" != 1 ]] && print_info "Force used linux-gaming.ru for all updates.\n"
fi fi
print_info "The first mirror in used: $MIRROR\n" [[ "${PW_CLI}" != 1 ]] && print_info "The first mirror in used: $MIRROR\n"
# choose downloading covers from SteamGridDB or not # choose downloading covers from SteamGridDB or not
if [[ -z "$DOWNLOAD_STEAM_GRID" ]] ; then if [[ -z "$DOWNLOAD_STEAM_GRID" ]] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment