Skip to content

Commit

Permalink
Update Build Avalonia.MacOS.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben2776 authored Dec 26, 2024
1 parent 20fdfcb commit 6482d80
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Build/Build Avalonia.MacOS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
[Parameter()]
[string]$outputPath,

[Parameter()]
[Parameter()]
[string]$appVersion
)

# 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
[xml]$coreCsproj = Get-Content $coreProjectPath
Expand Down Expand Up @@ -134,4 +133,4 @@ if ($IsLinux -or $IsMacOS) {

# Set proper ownership and permissions for the entire .app bundle
chmod -R 755 $appBundlePath
}
}

0 comments on commit 6482d80

Please sign in to comment.