added arg: control

This commit is contained in:
Mikhail Tergoev
2026-01-23 12:30:50 +03:00
parent 32070ec065
commit 2fe7a31b54

View File

@@ -1566,7 +1566,7 @@ wine_regfile () {
wine_run () {
local wh_add_args win_file_exec win_file_path win_file_name
if [[ $1 =~ (winecfg|regedit|winefile|wineconsole) ]] ; then
if [[ $1 =~ (winecfg|regedit|winefile|wineconsole|control) ]] ; then
win_file_exec="$1"
win_file_name="$win_file_exec"
win_file_path="$DRIVE_C"
@@ -2628,6 +2628,7 @@ case "$arg1" in
winereg|regedit) prepair_wine ; wine_run "regedit" ;;
winefile|explorer) prepair_wine ; wine_run "winefile" ;;
wineconsole|cmd) prepair_wine ; wine_run "wineconsole" ;;
control) prepair_wine ; wine_run "control" ;;
winetricks) prepair_wine ; "$WH_WINETRICKS" -q "$@" ;;
desktop) create_desktop "$@" ; exit 0 ;;
install|-i) run_autoinstall "$@" ;;