Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build/CreateRelease.WPF.ps1')
-rw-r--r--build/CreateRelease.WPF.ps110
1 files changed, 5 insertions, 5 deletions
diff --git a/build/CreateRelease.WPF.ps1 b/build/CreateRelease.WPF.ps1
index f3d3827..79d12b1 100644
--- a/build/CreateRelease.WPF.ps1
+++ b/build/CreateRelease.WPF.ps1
@@ -32,10 +32,10 @@ Set-Location $PSScriptRoot\..
####################################
### Configuration ###
####################################
-$enableMSI = $true
+#$enableMSI = $true
#$buildOnly = 'linux-x64'
-#$buildOnly = 'win-x64'
-$enableNugetPublish = $true
+$buildOnly = 'osx-x64'
+#$enableNugetPublish = $true
# Profilling
$stopWatch = New-Object -TypeName System.Diagnostics.Stopwatch
$deployStopWatch = New-Object -TypeName System.Diagnostics.Stopwatch
@@ -122,7 +122,7 @@ $runtimes =
"osx-x64" = @{
"extraCmd" = "-p:PublishReadyToRun=true"
"exclude" = @()
- "include" = @("libcvextern.dylib")
+ "include" = @("libcvextern.dylib", "libusb-1.0.0.dylib")
}
}
@@ -212,7 +212,7 @@ Building: $runtime"
wsl cp -a "$publishFolder/$runtime/." "$macPublishFolder/Contents/MacOS"
wsl cd "$publishFolder/" `&`& pwd `&`& zip -r "../$targetZip" "$macAppFolder/*"
- wsl cd "$publishFolder/$runtime" `&`& pwd `&`& zip -r "../../$macTargetZipLegacy" .
+ #wsl cd "$publishFolder/$runtime" `&`& pwd `&`& zip -r "../../$macTargetZipLegacy" .
}
else {