@@ -20,8 +20,6 @@ import 'dart:async';
2020import 'dart:convert' ;
2121import 'dart:math' ;
2222
23- import 'package:intl/intl.dart' ;
24-
2523import 'package:http/http.dart' as http;
2624import 'package:retry/retry.dart' ;
2725
@@ -427,6 +425,16 @@ rm /tmp/wps.deb"""},
427425 static const wineCommands = [{"name" : "Wine配置" , "command" : "winecfg" },
428426 {"name" : "修复方块字" , "command" : "regedit Z:\\\\ home\\\\ tiny\\\\ .local\\\\ share\\\\ tiny\\\\ extra\\\\ chn_fonts.reg && wine reg delete \" HKEY_LOCAL_MACHINE\\ Software\\ Microsoft\\ Windows NT\\ CurrentVersion\\ FontSubstitutes\" /va /f" },
429427 {"name" : "开始菜单文件夹" , "command" : "wine explorer \" C:\\\\ ProgramData\\\\ Microsoft\\\\ Windows\\\\ Start Menu\\\\ Programs\" " },
428+ {"name" : "开启DXVK" , "command" : """WINEDLLOVERRIDES="d3d8=n,d3d9=n,d3d10core=n,d3d11=n,dxgi=n" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d8 /d native /f >/dev/null 2>&1
429+ WINEDLLOVERRIDES="d3d8=n,d3d9=n,d3d10core=n,d3d11=n,dxgi=n" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d9 /d native /f >/dev/null 2>&1
430+ WINEDLLOVERRIDES="d3d8=n,d3d9=n,d3d10core=n,d3d11=n,dxgi=n" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d10core /d native /f >/dev/null 2>&1
431+ WINEDLLOVERRIDES="d3d8=n,d3d9=n,d3d10core=n,d3d11=n,dxgi=n" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d11 /d native /f >/dev/null 2>&1
432+ WINEDLLOVERRIDES="d3d8=n,d3d9=n,d3d10core=n,d3d11=n,dxgi=n" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v dxgi /d native /f >/dev/null 2>&1""" },
433+ {"name" : "关闭DXVK" , "command" : """WINEDLLOVERRIDES="d3d8=b,d3d9=b,d3d10core=b,d3d11=b,dxgi=b" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d8 /d builtin /f >/dev/null 2>&1
434+ WINEDLLOVERRIDES="d3d8=b,d3d9=b,d3d10core=b,d3d11=b,dxgi=b" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d9 /d builtin /f >/dev/null 2>&1
435+ WINEDLLOVERRIDES="d3d8=b,d3d9=b,d3d10core=b,d3d11=b,dxgi=b" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d10core /d builtin /f >/dev/null 2>&1
436+ WINEDLLOVERRIDES="d3d8=b,d3d9=b,d3d10core=b,d3d11=b,dxgi=b" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v d3d11 /d builtin /f >/dev/null 2>&1
437+ WINEDLLOVERRIDES="d3d8=b,d3d9=b,d3d10core=b,d3d11=b,dxgi=b" wine reg add 'HKEY_CURRENT_USER\\ Software\\ Wine\\ DllOverrides' /v dxgi /d builtin /f >/dev/null 2>&1""" },
430438 {"name" : "我的电脑" , "command" : "wine explorer" },
431439 {"name" : "记事本" , "command" : "notepad" },
432440 {"name" : "扫雷" , "command" : "winemine" },
0 commit comments