Browse Source

Update Build Avalonia.Win32.ps1

Ruben 1 năm trước cách đây
mục cha
commit
60556537ee
1 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 5 4
      Build/Build Avalonia.Win32.ps1

+ 5 - 4
Build/Build Avalonia.Win32.ps1

@@ -1,8 +1,9 @@
 param (
 param (
-    [string]$Platform = "x64"  # Default to x64 if no parameter is passed
-)
-param (
-    [string]$outputPath = $PSScriptRoot
+    [Parameter()]
+    [string]$Platform,
+    
+    [Parameter()]
+    [string]$outputPath
 )
 )
 
 
 # Define the core project path relative to the script's location
 # Define the core project path relative to the script's location