Installer osu-osulazer-20202291

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- archive: https://github.com/ppy/osu/archive/2020.229.1.zip
game:
  exe: run.sh
installer:
- extract:
    file: archive
- execute:
    command: dotnet build osu.Desktop /p:Configuration=Release /p:GenerateFullPaths=true
      /m /verbosity:m /p:Version=2020.229.1
- write_file:
    content: '#!/bin/bash


      script_path="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

      app_path="$script_path"/osu.Desktop/bin/Release/netcoreapp3.1


      LD_LIBRARY_PATH="$app_path" dotnet "$app_path"/osu\!.dll

      '
    file: $GAMEDIR/run.sh
- chmodx: $GAMEDIR/run.sh
require-binaries: dotnet
{
  "files": [
    {
      "archive": "https://github.com/ppy/osu/archive/2020.229.1.zip"
    }
  ],
  "game": {
    "exe": "run.sh"
  },
  "installer": [
    {
      "extract": {
        "file": "archive"
      }
    },
    {
      "execute": {
        "command": "dotnet build osu.Desktop /p:Configuration=Release /p:GenerateFullPaths=true /m /verbosity:m /p:Version=2020.229.1"
      }
    },
    {
      "write_file": {
        "content": "#!/bin/bash\n\nscript_path=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\" && pwd)\"\napp_path=\"$script_path\"/osu.Desktop/bin/Release/netcoreapp3.1\n\nLD_LIBRARY_PATH=\"$app_path\" dotnet \"$app_path\"/osu\\!.dll\n",
        "file": "$GAMEDIR/run.sh"
      }
    },
    {
      "chmodx": "$GAMEDIR/run.sh"
    }
  ],
  "require-binaries": "dotnet"
}
Back to game