From 0cdaa09dc811c9c2cc8344d124acd319befdc243 Mon Sep 17 00:00:00 2001 From: "Elijah C. Voigt" Date: Fri, 31 May 2024 16:11:15 -0700 Subject: [PATCH] standardize MartianChess package naming --- platforms/linux/MartianChess.AppDir/martian-chess.desktop | 4 ++-- scripts/icons-linux.sh | 2 +- scripts/package-windows.ps1 | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/platforms/linux/MartianChess.AppDir/martian-chess.desktop b/platforms/linux/MartianChess.AppDir/martian-chess.desktop index 2c3acb3..ed2e329 100644 --- a/platforms/linux/MartianChess.AppDir/martian-chess.desktop +++ b/platforms/linux/MartianChess.AppDir/martian-chess.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=MartianChess -Exec=martian-chess -Icon=martian-chess +Exec=MartianChess +Icon=MartianChess Type=Application Categories=Game;BoardGame; diff --git a/scripts/icons-linux.sh b/scripts/icons-linux.sh index 1b846a4..450cbba 100755 --- a/scripts/icons-linux.sh +++ b/scripts/icons-linux.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -cp media/MartianChess.png platforms/linux/MartianChess.AppDir/martian-chess.png +cp media/MartianChess.png platforms/linux/MartianChess.AppDir/MartianChess.png diff --git a/scripts/package-windows.ps1 b/scripts/package-windows.ps1 index 7e16392..cdc7f41 100644 --- a/scripts/package-windows.ps1 +++ b/scripts/package-windows.ps1 @@ -1,9 +1,11 @@ cargo build --release +Copy-Item -Force "./target/release/martian-chess.exe" "./target/release/MartianChess.exe" + $compress = @{ - Path = "./target/release/martian-chess.exe", "./fmod_vc.lib", "./fmodstudio_vc.lib", "fmodstudio.dll", "fmod.dll", "./assets" + Path = "./target/release/MartianChess.exe", "./fmod_vc.lib", "./fmodstudio_vc.lib", "fmodstudio.dll", "fmod.dll", "./assets" CompressionLevel = "Optimal" - DestinationPath = "./martian-chess-beta.zip" + DestinationPath = "./packages/MartianChess-windows.zip" } Compress-Archive @compress \ No newline at end of file