mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 18:47:27 +08:00
13 lines
563 B
PowerShell
13 lines
563 B
PowerShell
$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=Get-Content "osu.Desktop.slnf" | ConvertFrom-Json
|
|
$TMP=New-TemporaryFile
|
|
$SLNF.solution.projects += ("../osu-resources/osu.Game.Resources/osu.Game.Resources.csproj")
|
|
ConvertTo-Json $SLNF | Out-File $TMP -Encoding UTF8
|
|
Move-Item -Path $TMP -Destination "osu.Desktop.slnf" -Force
|