Skip to content

Commit

Permalink
Added License and Privacy Policy to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
maximmax42 committed Feb 25, 2024
1 parent 0a22737 commit daf32d1
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 45 deletions.
2 changes: 1 addition & 1 deletion CustomRPC/Build/Installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SolidCompression=yes
WizardStyle=classic
CloseApplications=force
AppCopyright=Copyright (C) 2018-{#CurrentYear} maximmax42
LicenseFile=License.txt
LicenseFile=License combined.txt
ChangesAssociations=yes

; No German (CH), Welsh (cy), Filipino, Kannada, Panjabi, Malayalam, Burmese (my), Tamil
Expand Down
42 changes: 42 additions & 0 deletions CustomRPC/Build/License combined.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Copyright (c) 2020-2024 maximmax42

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

---

Upon the first launch of the app, you will be asked permission to send analytics data to the developer. You can still use the app without any restriction if you don't consent.

CustomRP collects this non-personal information during the usage of the app:
- OS Version
- OS Language
- Device Model (laptop or motherboard)
- Country based on OS settings (does not use geolocation)
- App Version

As well as these user interactions:
- Connection status to Discord
- Connection errors (wrong ID, etc)
- Connection failure (Discord isn't running, etc)
- Updated presence:
- Does it have party?
- What timestamp type is used?
- Does it have a big image set?
- Does it have a small image set?
- How many buttons are set?
- New version was ignored:
- Which version?
- Saved a preset
- Loaded a preset
- Clicked on a supporter/translator menu item:
- Name of the supporter/translator
- URL of the supporter/translator
- Opened "Pipe select" window
- Opened "About" window

Crash reports send your settings (except ID) to help understand the cause of the crash.

This information is collected to understand how the application is used, improve features and catch unexpected crashes as soon as they appear. The information is stored in the Microsoft App Center for 28 days and is not shared with any third parties.
57 changes: 17 additions & 40 deletions CustomRPC/Build/License.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,19 @@
Copyright (c) 2020-2024 maximmax42

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

---

Upon the first launch of the app, you will be asked permission to send analytics data to the developer. You can still use the app without any restriction if you don't consent.

CustomRP collects this non-personal information during the usage of the app:
- OS Version
- OS Language
- Device Model (laptop or motherboard)
- Country based on OS settings (does not use geolocation)
- App Version

As well as these user interactions:
- Connection status to Discord
- Connection errors (wrong ID, etc)
- Connection failure (Discord isn't running, etc)
- Updated presence:
- Does it have party?
- What timestamp type is used?
- Does it have a big image set?
- Does it have a small image set?
- How many buttons are set?
- New version was ignored:
- Which version?
- Saved a preset
- Loaded a preset
- Clicked on a supporter/translator menu item:
- Name of the supporter/translator
- URL of the supporter/translator
- Opened "Pipe select" window
- Opened "About" window

Crash reports send your settings (except ID) to help understand the cause of the crash.

This information is collected to understand how the application is used, improve features and catch unexpected crashes as soon as they appear. The information is stored in the Microsoft App Center for 28 days and is not shared with any third parties.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
32 changes: 32 additions & 0 deletions CustomRPC/Build/Privacy Policy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
CustomRP collects this non-personal information during the usage of the app:
- OS Version
- OS Language
- Device Model (laptop or motherboard)
- Country based on OS settings (does not use geolocation)
- App Version

As well as these user interactions:
- Connected to Discord
- Disconnected from Discord
- Connection error (wrong ID, etc)
- Connection failure (Discord isn't running, etc)
- Updated presence:
- Does it have party?
- What timestamp type is used?
- Does it have big image set?
- Does it have small image set?
- How many buttons are set?
- New version was ignored:
- Which version?
- Saved a preset
- Loaded a preset
- Clicked on a translator menu item:
- Name of the translator
- URL of the translator
- Opened pipe select window
- Opened about window

Crash reports send your settings (except ID) to help understand the cause of the crash.

This information is collected to understand how the application is used, improve features and catch unexpected crashes as soon as they appear. The information is stored in the Microsoft App Center for 90 days and is not shared with any third parties.
Users can opt out at any time in the Settings menu.
7 changes: 3 additions & 4 deletions CustomRPC/Build/Publish.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#$ver = Read-Host "Enter version"
$verRaw = (Get-Item ..\bin\Release\CustomRP.exe).VersionInfo
$ver = "$($verRaw.FileMajorPart).$($verRaw.FileMinorPart)"
if ($verRaw.FileBuildPart -ne 0 -or $verRaw.FilePrivatePart -ne 0) { $ver += ".$($verRaw.FileBuildPart)" }
if ($verRaw.FilePrivatePart -ne 0) { $ver += ".$($verRaw.FilePrivatePart)" }

xcopy ..\bin\Release CustomRP /e /i /s /y /exclude:exclude.txt
xcopy License.txt CustomRP
xcopy "Privacy Policy.txt" CustomRP
C:\Program` Files` `(x86`)\Inno` Setup` 6\ISCC.exe /DMyAppVersion=$ver Installer.iss

echo "start CustomRP.exe --second-instance" > "CustomRP\Start Second Instance.bat"
Compress-Archive -Path CustomRP,"Windows 7",README.txt -DestinationPath "Artifacts\CustomRP $ver.zip" -CompressionLevel Optimal
#C:\PROGRA~1\WinRAR\WinRAR.exe a -afzip -r "CustomRP $ver.zip" CustomRP "Windows 7" README.txt | Out-Null
Remove-Item CustomRP -Recurse
Compress-Archive -Path CustomRP,"Windows 7",README.txt -DestinationPath "Artifacts\CustomRP $ver.zip" -CompressionLevel Optimal

0 comments on commit daf32d1

Please sign in to comment.