File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ Set-StrictMode -Version Latest
99
1010$root = $PSScriptRoot
1111$target = Join-Path $root ' target'
12- $exampleName = ' AppleChu.example.toml'
12+ $exampleName = ' example.toml'
13+ $fullName = ' full.toml'
1314$artifacts = @ (
1415 @ {
1516 Name = ' winhttp.dll'
4748 $exampleDestination = Join-Path $target $exampleName
4849 Copy-Item - LiteralPath $exampleSource - Destination $exampleDestination - Force
4950 Write-Host " 已复制到 $exampleDestination "
51+ $fullSource = Join-Path $target " i686-pc-windows-msvc\release\$fullName "
52+ $fullDestination = Join-Path $target $fullName
53+ Copy-Item - LiteralPath $fullSource - Destination $fullDestination - Force
54+ Write-Host " 已复制到 $fullDestination "
5055
5156 if ($Deploy ) {
5257 $deployDirectory = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath ($Deploy )
5762 Copy-Item - LiteralPath $source - Destination $deployDirectory - Force
5863 }
5964 Copy-Item - LiteralPath $exampleDestination - Destination $deployDirectory - Force
65+ Copy-Item - LiteralPath $fullDestination - Destination $deployDirectory - Force
6066
6167 Write-Host " 已部署到 $deployDirectory "
6268 }
You can’t perform that action at this time.
0 commit comments