diff --git a/DevcadeGame/DevcadeGame.csproj b/DevcadeGame/DevcadeGame.csproj index 201f709..113b8d9 100644 --- a/DevcadeGame/DevcadeGame.csproj +++ b/DevcadeGame/DevcadeGame.csproj @@ -1,7 +1,7 @@ WinExe - net6.0 + net10.0 Major false false diff --git a/publish.ps1 b/publish.ps1 index e9c55b0..1dd9030 100644 --- a/publish.ps1 +++ b/publish.ps1 @@ -17,7 +17,7 @@ if ($args.Length -eq 2) { if (Test-Path $icon_path -PathType Leaf) { echo "Icon found. Moving to root directory" - Copy-Item $banner_path -Destination "." + Copy-Item $icon_path -Destination "." } else { echo "No file found at icon path" exit 1 @@ -82,7 +82,7 @@ if (Test-Path "./publish" -PathType Container) { Remove-Item "./publish" } -Move-Item "./bin/Release/net6.0/linux-x64/publish" "./" +Move-Item "./bin/Release/net10.0/linux-x64/publish" "./" Write-Host "Zipping..." -NoNewline Compress-Archive -Path "./publish", $banner_path, $icon_path -DestinationPath "$basename.zip" diff --git a/publish.sh b/publish.sh index 6a438f8..ef98ce8 100755 --- a/publish.sh +++ b/publish.sh @@ -74,7 +74,7 @@ function package_game() { mkdir -p $WORK_DIR # Copy assets to temporary directory - PUB="$GAME/bin/Release/net6.0/linux-x64/publish" + PUB="$GAME/bin/Release/net10.0/linux-x64/publish" cp -r $BANNER $ICON $PUB $WORK_DIR