disabled Decorated for maincontroller.exe

This commit is contained in:
Mikhail Tergoev
2025-11-06 14:37:43 +03:00
parent 7a990ca99c
commit ea6799fbf2

View File

@@ -1183,6 +1183,9 @@ init_wineprefix () {
get_and_set_reg_file --delete 'Software\Wine\X11 Driver' 'UseXVidMode'
fi
# отключаем декоратор для maincontroller.exe
get_and_set_reg_file --add 'Software\Wine\AppDefaults\maincontroller.exe\X11 Driver' 'Decorated' 'REG_SZ' "N" "user"
# добавление ассоциаций файлов для запуска нативного приложения из wine
# пример переменной: WH_XDG_OPEN="txt doc pdf"
check_variables WH_XDG_OPEN "0"