0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-12 17:10:44 -05:00

Fix build script copying Aki_Data into a nested Aki_Data folder (!43)

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Launcher#43
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
This commit is contained in:
DrakiaXYZ 2024-03-06 00:12:05 +00:00 committed by Refringe
parent ebbadb6719
commit 42e85e5886

View File

@ -14,9 +14,9 @@ foreach ($folder in $foldersToCreate) {
}
# Move built files to the build folder
Copy-Item -Path "$launcherExeFolder\Aki.Launcher.exe" -Destination $buildFolder
Copy-Item -Path $launcherAssetFolder -Destination "$buildFolder\Aki_Data" -Recurse
Copy-Item -Path "$launcherExeFolder\Aki.Launcher.exe" -Destination "$buildFolder"
Copy-Item -Path "$launcherAssetFolder" -Destination "$buildFolder" -Recurse
# (If any new DLLs need to be copied, add here)
# Write the contents of the license file to a txt in the build folder.
Get-Content $licenseFile | Out-File "$buildFolder\LICENSE-Launcher.txt"
Get-Content "$licenseFile" | Out-File "$buildFolder\LICENSE-Launcher.txt"