Skip to content

Commit 8558113

Browse files
committed
[+] build script configuration
1 parent cbf2680 commit 8558113

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

AquaMai.Mods/Utils/UnstableRate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace AquaMai.Mods.Utils;
1111

1212
[ConfigSection(
1313
name: "稳定度指示器",
14-
zh: "在屏幕中心显示每个击打的确切时间信息",
14+
zh: "在屏幕中心显示每次判定的精确区间",
1515
en: "Show information about the exact timing for each hit during gameplay in the center of the screen.")]
1616
public class UnstableRate
1717
{

build.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ try {
5757
# 3. Build
5858
# ==========================================
5959
Write-Host "Building Solution..." -ForegroundColor Cyan
60+
6061
$Configuration = "Release"
61-
if ($args.Count -gt 0 -and $args[0] -eq "-Configuration") {
62-
$Configuration = $args[1]
62+
if ($args.Count -gt 0) {
63+
$Configuration = $args[0].ToLower()
6364
}
6465

66+
Write-Host "Configuration: $Configuration" -ForegroundColor Yellow
6567
dotnet build "./AquaMai.slnx" -c $Configuration
6668
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }

0 commit comments

Comments
 (0)