mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 03:17:28 +08:00
12 lines
438 B
Bash
12 lines
438 B
Bash
|
CSPROJ="osu.Game/osu.Game.csproj"
|
||
|
SLN="osu.sln"
|
||
|
|
||
|
dotnet remove $CSPROJ package ppy.osu.Game.Resources;
|
||
|
dotnet sln $SLN add ../osu-resources/osu.Game.Resources/osu.Game.Resources.csproj
|
||
|
dotnet add $CSPROJ reference ../osu-resources/osu.Game.Resources/osu.Game.Resources.csproj
|
||
|
|
||
|
SLNF="osu.Desktop.slnf"
|
||
|
TMP=$(mktemp)
|
||
|
jq '.solution.projects += ["../osu-resources/osu.Game.Resources/osu.Game.Resources.csproj"]' $SLNF > $TMP
|
||
|
mv -f $TMP $SLNF
|