mirror of https://github.com/OpenRCT2/OpenRCT2.git
Do not distribute openrct2.dll anymore
This commit is contained in:
parent
f051430ea3
commit
fb112ce779
|
@ -13,7 +13,6 @@
|
|||
|
||||
!if "${PLATFORM}" == "Win32"
|
||||
!define OPENRCT2_EXE "openrct2.exe"
|
||||
!define OPENRCT2_DLL "openrct2.dll"
|
||||
!define APPBITS 32
|
||||
!define APPARCH "win32"
|
||||
|
||||
|
@ -156,9 +155,6 @@ Section "!OpenRCT2" Section1
|
|||
|
||||
; Copy executable
|
||||
File /oname=${OPENRCT2_EXE} ${BINARY_DIR}\${OPENRCT2_EXE}
|
||||
!ifdef OPENRCT2_DLL
|
||||
File /oname=${OPENRCT2_DLL} ${BINARY_DIR}\${OPENRCT2_DLL}
|
||||
!endif
|
||||
|
||||
; Create the Registry Entries
|
||||
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenRCT2" "Comments" "Visit ${APPURLLINK}"
|
||||
|
@ -226,9 +222,6 @@ Section "Uninstall"
|
|||
Delete "$INSTDIR\readme.txt"
|
||||
Delete "$INSTDIR\contributors.md"
|
||||
Delete "$INSTDIR\${OPENRCT2_EXE}"
|
||||
!ifdef OPENRCT2_DLL
|
||||
Delete "$INSTDIR\${OPENRCT2_DLL}"
|
||||
!endif
|
||||
Delete "$INSTDIR\INSTALL.LOG"
|
||||
|
||||
; Data files
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
<NsisScript>$(DistDir)windows\install.nsi</NsisScript>
|
||||
|
||||
<OutputDll Condition="'$(Platform)'=='Win32'">$(TargetDir)openrct2.dll</OutputDll>
|
||||
<OutputExe Condition="'$(Platform)'=='Win32'">$(TargetDir)openrct2.exe</OutputExe>
|
||||
<OutputExe Condition="'$(Platform)'=='x64'">$(TargetDir)openrct2_x64.exe</OutputExe>
|
||||
<g2Output>$(TargetDir)data\g2.dat</g2Output>
|
||||
|
@ -73,18 +72,15 @@
|
|||
<ItemGroup>
|
||||
<g2Inputs Include="$(RootDir)resources\g2\*" />
|
||||
<SignItems Include="$(OutputExe)" />
|
||||
<SignItems Condition="'$(Platform)'=='Win32'" Include="$(OutputDll)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Symbol Items">
|
||||
<SymbolItems Condition="'$(Platform)'=='Win32'" Include="$(OutputDll)" />
|
||||
<SymbolItems Include="$(OutputExe)" />
|
||||
<SymbolItems Include="$([System.IO.Path]::ChangeExtension($(OutputExe), '.pdb'))" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Label="Publish Items">
|
||||
<PublishItems Include="$(OutputExe)" />
|
||||
<PublishItems Include="$(OutputDll)" Condition="'$(Platform)'=='Win32'" />
|
||||
<PublishItems Include="$(TargetDir)data" />
|
||||
<PublishItems Include="$(RootDir)curl-ca-bundle.crt" />
|
||||
<PublishItems Include="$(DistDir)changelog.txt" />
|
||||
|
@ -197,7 +193,7 @@
|
|||
StandardOutputImportance="low" />
|
||||
</Target>
|
||||
|
||||
<!-- Target to sign OpenRCT2 (exe and dll)
|
||||
<!-- Target to sign OpenRCT2
|
||||
This requires the project parameter SIGN_PASSWORD to be set -->
|
||||
<Target Name="Sign" AfterTargets="Build" Inputs="@(SignItems)" Outputs="%(SignItems.Identity).signed">
|
||||
<Warning Condition="'$(SIGN_PASSWORD)'==''" Text="SIGN_PASSWORD was not set, skipping signing of %(SignItems.Filename)%(SignItems.Extension)." />
|
||||
|
|
Loading…
Reference in New Issue