11 lines
436 B
PowerShell
11 lines
436 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
Set-Location (Join-Path $PSScriptRoot '..')
|
|
$publishDir = '.\src\Ikar.Client\bin\Release\net10.0-android\publish'
|
|
|
|
if (Test-Path $publishDir) {
|
|
Remove-Item $publishDir -Recurse -Force
|
|
}
|
|
|
|
dotnet publish .\src\Ikar.Client\Ikar.Client.csproj -f net10.0-android -c Release -p:AndroidPackageFormat=apk
|
|
Get-ChildItem $publishDir | Where-Object { $_.Name -like 'com.seven.massenger*' } | Remove-Item -Force
|