export PW_SELECTION_DB_LOC="Найдено более одного DB файла для запускаемого приложения.\nВыберите необходимый, или перед следующим запуском удалите лишний DB файл.\n"
...
...
@@ -52,11 +70,11 @@ then
export loc_delete_shortcut="Удалить ярлык для запускаемого файла."
export loc_debug="Запуск c созданием .log файла в корне ${portname}"
export loc_launch="Запустить файл..."
export loc_winecfg="Запустить winecfg для редактирования настроек префикса ${portname}"
export loc_winecfg="Запустить winecfg для редактирования настроек выбранного префикса"
export loc_winefile="Запустить файловый менеждер встроенный в wine"
export PW_SELECTION_DB_LOC="More than one DB file found for the application being launched.\nSelect the required one, or delete the extra DB file before the next run.\n"
export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
##export PW_HEAP_DELAY_FREE=1
##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
[$(id-u)-eq 0 ]&&echo"Do not run the script from the superuser!"&& zenity --error--text"Do not run the script from the superuser!" 2> /dev/null &&exit 1
if[$?-eq 1 ];then echo"Installation language not set!"&&exit 1 ;fi
case$PW_SET_LANGin
"Russian")
INFO_TEXT="Вы запустили установщик PortWINE ${portname} версии ${port_ver}. \n\nЭто не коммерческий продукт и развивается исключительно за идею и Ваши пожертвования. \nВсе права сторонего програмного обеспечения принадлежат их владельцам! \nПродолжая установку вы автоматически соглашаетесь с данными условиями."> /dev/null 2>&1 ;;
"English")
INFO_TEXT="You run the installer PortWINE ${portname} v. ${port_ver}. \n\nThis is not a commercial product and developed exclusively for the idea and donate. \nAll rights to third-party software belong to their respective owners! \nContinuing the installation of you agree to these terms."> /dev/null 2>&1 ;;
"$RUS_LANG")
INFO_TEXT="Вы запустили установщик PortWINE ${portname} версии ${port_ver}. \n\nЭто некоммерческий продукт и развивается исключительно за идею и Ваши пожертвования. \nВсе права стороннего программного обеспечения принадлежат их владельцам! \nПродолжая установку, Вы автоматически соглашаетесь с данными условиями."> /dev/null 2>&1 ;;
"$ENG_LANG")
INFO_TEXT="You’ve started PortWINE ${portname} installer v.${port_ver}. \n\nIt is a non-commercial product and is developed only for the idea and with the help of your donations. \nAll third-party software rights belong to their respective owners! \nIf you continue installation, you agree to these terms."> /dev/null 2>&1 ;;
@@ -70,30 +75,30 @@ if [ "${PW_SILENT_INSTALL}" = "1" ] ; then
D_PATH="${deflink}"
else
case$PW_SET_LANGin
"Russian")
inst1=`zenity --title"Install ${portname}"--text"Выберите путь для установки (обновления) порта,\nили оставьте его по умолчанию."--list--radiolist--width=350 --height=220 \
--column="Выбор"--column"Путь:"\
TRUE "${deflink}"\
FALSE "Другой путь..."` 2> /dev/null
if[$?-eq 1 ];then exit 1 ;fi
"$RUS_LANG")
inst1=$(zenity --title"Установка ${portname}"--text"Выберите путь для установки (обновления) PortWINE \nили оставьте его по умолчанию."--list--radiolist--width=350 --height=220 \
--column=""--column"Путь:"\
TRUE "${deflink}"\
FALSE "Другой путь...") 2> /dev/null
if[$?-eq 1 ];then echo"Installation path not set!"&&exit 1 ;fi
inst1=`zenity --title"Install ${portname}"--text"Select the installation path (update) port,\nor leave it in default."--list--radiolist--width=350 --height=220 \
--column="Set..."--column"Path:"\
TRUE "${deflink}"\
FALSE "Other path..."` 2> /dev/null
if[$?-eq 1 ];thenexit 1;fi
"$ENG_LANG")
inst1=$(zenity --title"Install ${portname}"--text"Choose path to install (update) PortWINE \nor leave it as default."--list--radiolist--width=350 --height=220 \
--column=""--column"Path:"\
TRUE "${deflink}"\
FALSE "Other path...") 2> /dev/null
if[$?-eq 1 ];then echo"Installation path not set!"&&exit 1;fi
case$inst1in
"${deflink}")
D_PATH="${deflink}";;
D_PATH="${deflink}";;
"Other path...")
D_PATH=`zenity --file-selection--directory--title="Select the path..."`
D_PATH=$(zenity --file-selection--directory--title="Choose your path...")