Installer uu-steam-decklinux-2-wine-uu
该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本。
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json
custom-name: Wine UU加速器(已过时) files: - setup: https://uu.gdl.netease.com/4041/UU-4.22.0.exe - gamesel: https://gitee.com/winegame/lutris/raw/master/scripts/sel-game-exec.py game: args: $GAMEDIR/launcher.bat $GAMEDIR/UU.exe exe: $GAMEDIR/sel-game-exec.py installer: - move: dst: $GAMEDIR/UU.exe src: setup - move: dst: $GAMEDIR/sel-game-exec.py src: gamesel - chmodx: $GAMEDIR/sel-game-exec.py - write_file: content: "@echo off\n\nset LOCK=%WINEPREFIX:/=_%.installed\nset UU64DIR=C:\\\\\ Program Files (x86)\\\\Netease\\\\UU\nset UU64=%UU64DIR%\\\\uu.exe\nset UU32DIR=C:\\\ \\Program Files\\\\Netease\\\\UU\nset UU32=%UU32DIR%\\\\uu.exe\n\nif exist \"\ %LOCK%\" (\n\tif exist \"%UU64%\" (\n\t\techo UU已安装,直接启动\n\t\tcd /D \"%UU64DIR%\"\ \n\t\t\"%UU64%\"\n\t) else {\n\t\tif exist \"%UU32%\" (\n\t\t\techo UU已安装,直接启动\n\ \t\t\tcd /D \"%UU32DIR%\"\n\t\t\t\"%UU32%\"\n\t\t) else (\n\t\t\techo UU已安装但不存在,重新安装\n\ \t\t\tstart UU.exe\n\t\t)\n\t}\n) else (\n\techo UU未安装,开始安装\n\techo 1 > \"%LOCK%\"\ \n\tstart UU.exe\n)\n" file: $GAMEDIR/launcher.bat - write_file: content: |- #!/bin/sh rm '$GAMEDIR'/*.installed file: $GAMEDIR/reinstall.sh - chmodx: $GAMEDIR/reinstall.sh require-binaries: zenity, python3 system: manual_command: $GAMEDIR/reinstall.sh
{ "custom-name": "Wine UU\u52a0\u901f\u5668\uff08\u5df2\u8fc7\u65f6\uff09", "files": [ { "setup": "https://uu.gdl.netease.com/4041/UU-4.22.0.exe" }, { "gamesel": "https://gitee.com/winegame/lutris/raw/master/scripts/sel-game-exec.py" } ], "game": { "args": "$GAMEDIR/launcher.bat $GAMEDIR/UU.exe", "exe": "$GAMEDIR/sel-game-exec.py" }, "installer": [ { "move": { "dst": "$GAMEDIR/UU.exe", "src": "setup" } }, { "move": { "dst": "$GAMEDIR/sel-game-exec.py", "src": "gamesel" } }, { "chmodx": "$GAMEDIR/sel-game-exec.py" }, { "write_file": { "content": "@echo off\n\nset LOCK=%WINEPREFIX:/=_%.installed\nset UU64DIR=C:\\\\Program Files (x86)\\\\Netease\\\\UU\nset UU64=%UU64DIR%\\\\uu.exe\nset UU32DIR=C:\\\\Program Files\\\\Netease\\\\UU\nset UU32=%UU32DIR%\\\\uu.exe\n\nif exist \"%LOCK%\" (\n\tif exist \"%UU64%\" (\n\t\techo UU\u5df2\u5b89\u88c5\uff0c\u76f4\u63a5\u542f\u52a8\n\t\tcd /D \"%UU64DIR%\"\n\t\t\"%UU64%\"\n\t) else {\n\t\tif exist \"%UU32%\" (\n\t\t\techo UU\u5df2\u5b89\u88c5\uff0c\u76f4\u63a5\u542f\u52a8\n\t\t\tcd /D \"%UU32DIR%\"\n\t\t\t\"%UU32%\"\n\t\t) else (\n\t\t\techo UU\u5df2\u5b89\u88c5\u4f46\u4e0d\u5b58\u5728\uff0c\u91cd\u65b0\u5b89\u88c5\n\t\t\tstart UU.exe\n\t\t)\n\t}\n) else (\n\techo UU\u672a\u5b89\u88c5\uff0c\u5f00\u59cb\u5b89\u88c5\n\techo 1 > \"%LOCK%\"\n\tstart UU.exe\n)\n", "file": "$GAMEDIR/launcher.bat" } }, { "write_file": { "content": "#!/bin/sh\nrm '$GAMEDIR'/*.installed", "file": "$GAMEDIR/reinstall.sh" } }, { "chmodx": "$GAMEDIR/reinstall.sh" } ], "require-binaries": "zenity, python3", "system": { "manual_command": "$GAMEDIR/reinstall.sh" } }