Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DevcadeGame/DevcadeGame.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RollForward>Major</RollForward>
<PublishReadyToRun>false</PublishReadyToRun>
<TieredCompilation>false</TieredCompilation>
Expand Down
4 changes: 2 additions & 2 deletions publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down