@nativescript/windows 0.1.0-alpha.70 → 0.1.0-alpha.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.ps1
CHANGED
|
@@ -136,10 +136,12 @@ foreach ($t in $Targets) {
|
|
|
136
136
|
|
|
137
137
|
# ── dotnet-tool prebuilt binaries ────────────────────────────────────────────
|
|
138
138
|
Write-Host "`n=== Build dotnet-tool prebuilt binaries ===" -ForegroundColor Cyan
|
|
139
|
-
|
|
139
|
+
# Place prebuilt tools into the framework folder so they are included in the
|
|
140
|
+
# packaged framework (npm publish copies framework/* into the package root).
|
|
141
|
+
$ToolsDir = Join-Path $ScriptDir "framework\tools"
|
|
140
142
|
if (-not (Test-Path $ToolsDir)) { New-Item -ItemType Directory -Force -Path $ToolsDir | Out-Null }
|
|
141
143
|
|
|
142
|
-
|
|
144
|
+
|
|
143
145
|
foreach ($t in $Targets) {
|
|
144
146
|
$arch = $t.Arch
|
|
145
147
|
$rustTarget = $t.RustTarget
|
|
@@ -165,7 +167,7 @@ foreach ($t in $Targets) {
|
|
|
165
167
|
}
|
|
166
168
|
}
|
|
167
169
|
|
|
168
|
-
#
|
|
170
|
+
# Provide a generic `dotnet-tool.exe` fallback (copy x64 if available)
|
|
169
171
|
$x64Path = Join-Path $ToolsDir "dotnet-tool-x64.exe"
|
|
170
172
|
if (Test-Path $x64Path) {
|
|
171
173
|
Copy-Item -Force $x64Path (Join-Path $ToolsDir "dotnet-tool.exe")
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|