Distribute Privacy policy in all the artifacts

This commit is contained in:
Michał Janiszewski 2024-11-19 23:56:49 +01:00
parent e77b284f44
commit 41b13197d1
6 changed files with 22 additions and 6 deletions

View file

@ -436,6 +436,7 @@ if (NOT MACOS_BUNDLE OR (MACOS_BUNDLE AND WITH_TESTS))
add_definitions(-DDOCDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DOCDIR}") add_definitions(-DDOCDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DOCDIR}")
file(GLOB DOC_FILES "${ROOT_DIR}/distribution/*.txt") file(GLOB DOC_FILES "${ROOT_DIR}/distribution/*.txt")
list(APPEND DOC_FILES "${ROOT_DIR}/contributors.md" list(APPEND DOC_FILES "${ROOT_DIR}/contributors.md"
"${ROOT_DIR}/PRIVACY.md"
"${ROOT_DIR}/licence.txt" "${ROOT_DIR}/licence.txt"
"${ROOT_DIR}/distribution/scripting.md" "${ROOT_DIR}/distribution/scripting.md"
"${ROOT_DIR}/distribution/openrct2.d.ts") "${ROOT_DIR}/distribution/openrct2.d.ts")

View file

@ -1,4 +1,4 @@
Last updated: 2024-08-04 Last updated: 2024-11-19
------------------------------------------------------------------------ ------------------------------------------------------------------------
@ -13,7 +13,8 @@ Table of contents
6.0) Translation 6.0) Translation
7.0) Troubleshooting 7.0) Troubleshooting
8.0) Licensing 8.0) Licensing
9.0) Credits 9.0) Privacy policy
10.0) Credits
1.0) About 1.0) About
---- ----- ---- -----
@ -156,6 +157,10 @@ Google Benchmark | Apache 2.0 licence.
Licences for sub-libraries used by the above may vary. For more information, visit the libraries' respective official websites. Licences for sub-libraries used by the above may vary. For more information, visit the libraries' respective official websites.
9.0) Credits 9.0) Privacy policy
For privacy policy, see the file 'PRIVACY.md'.
10.0) Credits
---- ------- ---- -------
For the full list of contributors to OpenRCT2, see the file 'contributors.md'. For the full list of contributors to OpenRCT2, see the file 'contributors.md'.

View file

@ -170,6 +170,9 @@ Section "!OpenRCT2" Section1
File ..\..\contributors.md File ..\..\contributors.md
Push "$INSTDIR\contributors.md" Push "$INSTDIR\contributors.md"
Call unix2dos Call unix2dos
File ..\..\PRIVACY.md
Push "$INSTDIR\PRIVACY.md"
Call unix2dos
File ..\scripting.md File ..\scripting.md
Push "$INSTDIR\scripting.md" Push "$INSTDIR\scripting.md"
Call unix2dos Call unix2dos
@ -204,6 +207,7 @@ Section "!OpenRCT2" Section1
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Readme.lnk" "$INSTDIR\Readme.txt" CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Readme.lnk" "$INSTDIR\Readme.txt"
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Changelog.lnk" "$INSTDIR\Changelog.txt" CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Changelog.lnk" "$INSTDIR\Changelog.txt"
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Contributors.lnk" "$INSTDIR\contributors.md" CreateShortCut "$SMPROGRAMS\$SHORTCUTS\Contributors.lnk" "$INSTDIR\contributors.md"
CreateShortCut "$SMPROGRAMS\$SHORTCUTS\PrivacyPolicy.lnk" "$INSTDIR\PRIVACY.md"
!insertmacro MUI_STARTMENU_WRITE_END !insertmacro MUI_STARTMENU_WRITE_END
SectionEnd SectionEnd
@ -240,12 +244,14 @@ Section "Uninstall"
Delete "$SMPROGRAMS\$SHORTCUTS\Readme.lnk" Delete "$SMPROGRAMS\$SHORTCUTS\Readme.lnk"
Delete "$SMPROGRAMS\$SHORTCUTS\Changelog.lnk" Delete "$SMPROGRAMS\$SHORTCUTS\Changelog.lnk"
Delete "$SMPROGRAMS\$SHORTCUTS\Contributors.lnk" Delete "$SMPROGRAMS\$SHORTCUTS\Contributors.lnk"
Delete "$SMPROGRAMS\$SHORTCUTS\PrivacyPolicy.lnk"
; Clean up OpenRCT2 dir ; Clean up OpenRCT2 dir
Delete "$INSTDIR\changelog.txt" Delete "$INSTDIR\changelog.txt"
Delete "$INSTDIR\licence.txt" Delete "$INSTDIR\licence.txt"
Delete "$INSTDIR\readme.txt" Delete "$INSTDIR\readme.txt"
Delete "$INSTDIR\contributors.md" Delete "$INSTDIR\contributors.md"
Delete "$INSTDIR\PRIVACY.md"
Delete "$INSTDIR\scripting.md" Delete "$INSTDIR\scripting.md"
Delete "$INSTDIR\openrct2.d.ts" Delete "$INSTDIR\openrct2.d.ts"
Delete "$INSTDIR\${OPENRCT2_EXE}" Delete "$INSTDIR\${OPENRCT2_EXE}"

View file

@ -22,6 +22,7 @@ if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then
7z a -r $destination \ 7z a -r $destination \
openrct2.exe openrct2.com data \ openrct2.exe openrct2.com data \
../contributors.md \ ../contributors.md \
../PRIVACY.md \
../licence.txt \ ../licence.txt \
../distribution/changelog.txt \ ../distribution/changelog.txt \
../distribution/readme.txt \ ../distribution/readme.txt \

View file

@ -184,6 +184,7 @@ if(MACOS_BUNDLE)
PUBLIC ${ROOT_DIR}/distribution/readme.txt PUBLIC ${ROOT_DIR}/distribution/readme.txt
PUBLIC ${ROOT_DIR}/distribution/changelog.txt PUBLIC ${ROOT_DIR}/distribution/changelog.txt
PUBLIC ${ROOT_DIR}/contributors.md PUBLIC ${ROOT_DIR}/contributors.md
PUBLIC ${ROOT_DIR}/PRIVACY.md
PUBLIC ${ROOT_DIR}/resources/mac/openrct2.icns PUBLIC ${ROOT_DIR}/resources/mac/openrct2.icns
) )
@ -192,6 +193,7 @@ if(MACOS_BUNDLE)
${ROOT_DIR}/distribution/readme.txt ${ROOT_DIR}/distribution/readme.txt
${ROOT_DIR}/distribution/changelog.txt ${ROOT_DIR}/distribution/changelog.txt
${ROOT_DIR}/contributors.md ${ROOT_DIR}/contributors.md
${ROOT_DIR}/PRIVACY.md
${ROOT_DIR}/resources/mac/openrct2.icns ${ROOT_DIR}/resources/mac/openrct2.icns
) )

View file

@ -439,9 +439,10 @@ static void PrintAbout()
Console::WriteLine("includes some 3rd party software under different licenses. See the file"); Console::WriteLine("includes some 3rd party software under different licenses. See the file");
Console::WriteLine("\"licence.txt\" shipped with the game for details."); Console::WriteLine("\"licence.txt\" shipped with the game for details.");
Console::WriteLine(); Console::WriteLine();
Console::WriteLine("Website: https://openrct2.io"); Console::WriteLine("Website: https://openrct2.io");
Console::WriteLine("GitHub: https://github.com/OpenRCT2/OpenRCT2"); Console::WriteLine("GitHub: https://github.com/OpenRCT2/OpenRCT2");
Console::WriteLine("Contributors: https://github.com/OpenRCT2/OpenRCT2/blob/develop/contributors.md"); Console::WriteLine("Contributors: https://github.com/OpenRCT2/OpenRCT2/blob/develop/contributors.md");
Console::WriteLine("Privacy Policy: https://github.com/OpenRCT2/OpenRCT2/blob/develop/PRIVACY.md");
Console::WriteLine(); Console::WriteLine();
} }