|
@@ -5,12 +5,11 @@
|
|
[Parameter()]
|
|
[Parameter()]
|
|
[string]$outputPath,
|
|
[string]$outputPath,
|
|
|
|
|
|
- [Parameter()]
|
|
|
|
|
|
+ [Parameter()]
|
|
[string]$appVersion
|
|
[string]$appVersion
|
|
)
|
|
)
|
|
-
|
|
|
|
# Define the core project path relative to the script's location
|
|
# Define the core project path relative to the script's location
|
|
-$coreProjectPath = Join-Path -Path $PSScriptRoot -ChildPath "../src/PicView.Core/PicView.Core.csproj"
|
|
|
|
|
|
+$coreProjectPath = Join-Path -Path $PSScriptRoot -ChildPath "..\src\PicView.Core\PicView.Core.csproj"
|
|
|
|
|
|
# Load the .csproj file as XML
|
|
# Load the .csproj file as XML
|
|
[xml]$coreCsproj = Get-Content $coreProjectPath
|
|
[xml]$coreCsproj = Get-Content $coreProjectPath
|
|
@@ -134,4 +133,4 @@ if ($IsLinux -or $IsMacOS) {
|
|
|
|
|
|
# Set proper ownership and permissions for the entire .app bundle
|
|
# Set proper ownership and permissions for the entire .app bundle
|
|
chmod -R 755 $appBundlePath
|
|
chmod -R 755 $appBundlePath
|
|
-}
|
|
|
|
|
|
+}
|