-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreate_windows_release.ps1
More file actions
24 lines (17 loc) · 906 Bytes
/
create_windows_release.ps1
File metadata and controls
24 lines (17 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Simple Windows Release Script
# Copy only the essential files for the Windows release
$exePath = "build\exe.win-amd64-3.14\X-Plane Dataref Bridge.exe"
$destPath = "X-Plane Dataref Bridge-Windows"
# Create destination directory if it doesn't exist
if (-not (Test-Path $destPath)) {
New-Item -ItemType Directory -Path $destPath -Force
}
Write-Host "Copying main executable..."
Copy-Item $exePath "$destPath\X-Plane Dataref Bridge.exe" -Force
Write-Host "Copying license file..."
Copy-Item "build\exe.win-amd64-3.14\frozen_application_license.txt" "$destPath\frozen_application_license.txt" -Force
Write-Host "Copying Python DLLs..."
Copy-Item "build\exe.win-amd64-3.14\python3*.dll" "$destPath\" -Force
Write-Host "Copying resources..."
Copy-Item "build\exe.win-amd64-3.14\resources" "$destPath\resources" -Recurse -Force
Write-Host "Windows release created successfully!" -ForegroundColor Green