1.更换软件协议为AGPL
2.切换项目名称为Hua.Todo
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$ScriptPath = $PSScriptRoot
|
||||
$ProjectDir = Join-Path $ScriptPath "src\TodoList.Maui"
|
||||
$ProjectFile = Join-Path $ProjectDir "TodoList.Maui.csproj"
|
||||
$ProjectDir = Join-Path $ScriptPath "src\Hua.Todo.Maui"
|
||||
$ProjectFile = Join-Path $ProjectDir "Hua.Todo.Maui.csproj"
|
||||
$SetupScript = Join-Path $ProjectDir "setup.iss"
|
||||
|
||||
# Read version from project file
|
||||
@@ -34,7 +34,7 @@ if (Test-Path $SetupScript) {
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "Building TodoList.Maui (Release)..." -ForegroundColor Cyan
|
||||
Write-Host "Building Hua.Todo.Maui (Release)..." -ForegroundColor Cyan
|
||||
dotnet publish $ProjectFile -f net10.0-windows10.0.19041.0 -c Release --self-contained false
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Error "MAUI build failed"
|
||||
|
||||
Reference in New Issue
Block a user