Commit e640323d authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'Htylol-debug'

parents 6f640f85 092fa04b
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
# Author: Castro-Fidel (linux-gaming.ru) # Author: Castro-Fidel (linux-gaming.ru)
# shellcheck disable=SC2140,SC2034 # shellcheck disable=SC2140,SC2034
######################################################################## ########################################################################
$PW_DEBUG
print_error () { printf "\E[31m%s Error: $@ %s\e[0m\n" ;} print_error () { printf "\E[31m%s Error: $@ %s\e[0m\n" ;}
export -f print_error export -f print_error
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# Development assistants: Cefeiko; Dezert1r; Taz_mania; Anton_Famillianov; gavr; RidBowt; chal55rus; UserDiscord; Boria138; Vano; Akai; Htylol # Development assistants: Cefeiko; Dezert1r; Taz_mania; Anton_Famillianov; gavr; RidBowt; chal55rus; UserDiscord; Boria138; Vano; Akai; Htylol
# shellcheck disable=SC2140,SC2119,SC2206 # shellcheck disable=SC2140,SC2119,SC2206
######################################################################## ########################################################################
$PW_DEBUG
echo ' echo '
█░░ █ █▄░█ █░█ ▀▄▀ ▄▄ █▀▀ ▄▀█ █▀▄▀█ █ █▄░█ █▀▀ ░ █▀█ █░█ █░░ █ █▄░█ █░█ ▀▄▀ ▄▄ █▀▀ ▄▀█ █▀▄▀█ █ █▄░█ █▀▀ ░ █▀█ █░█
█▄▄ █ █░▀█ █▄█ █░█ ░░ █▄█ █▀█ █░▀░█ █ █░▀█ █▄█ ▄ █▀▄ █▄█ █▄▄ █ █░▀█ █▄█ █░█ ░░ █▄█ █▀█ █░▀░█ █ █░▀█ █▄█ ▄ █▀▄ █▄█
...@@ -353,6 +354,9 @@ use: [--reinstall] [--autoinstall] ...@@ -353,6 +354,9 @@ use: [--reinstall] [--autoinstall]
echo " echo "
--generate-pot generated pot file --generate-pot generated pot file
" "
echo "
--debug debug scripts for PortProton
"
exit 0 ;; exit 0 ;;
'--reinstall' ) '--reinstall' )
...@@ -367,6 +371,11 @@ use: [--reinstall] [--autoinstall] ...@@ -367,6 +371,11 @@ use: [--reinstall] [--autoinstall]
'--generate-pot' ) '--generate-pot' )
generate_pot generate_pot
exit 0 ;; exit 0 ;;
'--debug' )
export PW_DEBUG="set -x"
/usr/bin/env bash -c "${PORT_WINE_PATH}/data/scripts/start.sh"
exit 0 ;;
esac esac
### GUI ### ### GUI ###
......
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