Installer osu-osulazer-1
该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本。
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json
files:
- archive: https://github.com/ppy/osu/archive/refs/tags/2022.205.0.zip
game:
exe: run.sh
installer:
- extract:
file: archive
- execute:
command: dotnet build -c Release osu.Desktop
- write_file:
content: "#!/bin/bash\ndotnet run --project osu.Desktop -c Release "
file: $GAMEDIR/run.sh
- chmodx: $GAMEDIR/run.sh
require-binaries: dotnet
{
"files": [
{
"archive": "https://github.com/ppy/osu/archive/refs/tags/2022.205.0.zip"
}
],
"game": {
"exe": "run.sh"
},
"installer": [
{
"extract": {
"file": "archive"
}
},
{
"execute": {
"command": "dotnet build -c Release osu.Desktop"
}
},
{
"write_file": {
"content": "#!/bin/bash\ndotnet run --project osu.Desktop -c Release ",
"file": "$GAMEDIR/run.sh"
}
},
{
"chmodx": "$GAMEDIR/run.sh"
}
],
"require-binaries": "dotnet"
}