1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 15:23:01 +01:00

update build / publish scripts for new VS dependencies

This commit is contained in:
IntelOrca
2016-01-09 17:53:25 +00:00
parent df279b178b
commit 27c8cf126f
3 changed files with 3 additions and 6 deletions

View File

@@ -141,7 +141,6 @@ Section "!OpenRCT2" Section1
; Copy executable ; Copy executable
File /oname=openrct2.exe ${BINARY_DIR}\openrct2.exe File /oname=openrct2.exe ${BINARY_DIR}\openrct2.exe
File /oname=openrct2.dll ${BINARY_DIR}\openrct2.dll File /oname=openrct2.dll ${BINARY_DIR}\openrct2.dll
File /oname=SDL2.dll ${BINARY_DIR}\SDL2.dll
; Create the Registry Entries ; Create the Registry Entries
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenRCT2" "Comments" "Visit ${APPURLLINK}" WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenRCT2" "Comments" "Visit ${APPURLLINK}"
@@ -207,7 +206,6 @@ Section "Uninstall"
Delete "$INSTDIR\contributors.md" Delete "$INSTDIR\contributors.md"
Delete "$INSTDIR\openrct2.exe" Delete "$INSTDIR\openrct2.exe"
Delete "$INSTDIR\openrct2.dll" Delete "$INSTDIR\openrct2.dll"
Delete "$INSTDIR\SDL2.dll"
Delete "$INSTDIR\licence.txt" Delete "$INSTDIR\licence.txt"
Delete "$INSTDIR\INSTALL.LOG" Delete "$INSTDIR\INSTALL.LOG"
Delete "$INSTDIR\crash.log" Delete "$INSTDIR\crash.log"

View File

@@ -13,13 +13,13 @@ $scriptsPath = Split-Path $Script:MyInvocation.MyCommand.Path
Import-Module "$scriptsPath\common.psm1" -DisableNameChecking Import-Module "$scriptsPath\common.psm1" -DisableNameChecking
# Constants # Constants
$libsUrl = "https://openrct2.website/files/orctlibs-vs.zip" $libsUrl = "https://openrct2.website/files/openrct2-libs-vs2015.zip"
$libsVersion = 4 $libsVersion = 5
# Get paths # Get paths
$rootPath = Get-RootPath $rootPath = Get-RootPath
$libsPath = Join-Path $rootPath "lib" $libsPath = Join-Path $rootPath "lib"
$zipPath = Join-Path $libsPath "orctlibs.zip" $zipPath = Join-Path $libsPath "openrct2-libs-vs2015.zip"
$libsVersionPath = Join-Path $libsPath "libversion" $libsVersionPath = Join-Path $libsPath "libversion"
# Check if we need to update the dependencies # Check if we need to update the dependencies

View File

@@ -80,7 +80,6 @@ function Do-Package()
Copy-Item -Force "$releaseDir\openrct2.exe" $tempDir -ErrorAction Stop Copy-Item -Force "$releaseDir\openrct2.exe" $tempDir -ErrorAction Stop
Copy-Item -Force "$releaseDir\openrct2.dll" $tempDir -ErrorAction Stop Copy-Item -Force "$releaseDir\openrct2.dll" $tempDir -ErrorAction Stop
Copy-Item -Force "$releaseDir\curl-ca-bundle.crt" $tempDir -ErrorAction Stop Copy-Item -Force "$releaseDir\curl-ca-bundle.crt" $tempDir -ErrorAction Stop
Copy-Item -Force "$releaseDir\SDL2.dll" $tempDir -ErrorAction Stop
Copy-Item -Force "$distDir\changelog.txt" $tempDir -ErrorAction Stop Copy-Item -Force "$distDir\changelog.txt" $tempDir -ErrorAction Stop
Copy-Item -Force "$distDir\known_issues.txt" $tempDir -ErrorAction Stop Copy-Item -Force "$distDir\known_issues.txt" $tempDir -ErrorAction Stop
Copy-Item -Force "$distDir\readme.txt" $tempDir -ErrorAction Stop Copy-Item -Force "$distDir\readme.txt" $tempDir -ErrorAction Stop