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:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user