Adapt codebase to third party notices format change

This commit is contained in:
Alberto Sottile 2021-03-20 22:16:29 +01:00
parent 0ff97b9b36
commit a4b936d876
5 changed files with 6 additions and 5 deletions

View File

@ -4,4 +4,5 @@ include syncplay/resources/*.png
include syncplay/resources/*.mng
include syncplay/resources/*.lua
include syncplay/resources/*.rtf
include syncplay/resources/*.txt
include syncplay/resources/lua/intf/*.lua

View File

@ -44,7 +44,7 @@ Syncplay is not a file sharing service.
## License
This project, the Syncplay released binaries, and all the files included in this repository unless stated otherwise in the header of the file, are licensed under the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html). A copy of this license is included in the LICENSE file of this repository. Licenses and attribution notices for third-party media are set out in [third-party-notices.rtf](syncplay/resources/third-party-notices.rtf).
This project, the Syncplay released binaries, and all the files included in this repository unless stated otherwise in the header of the file, are licensed under the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html). A copy of this license is included in the LICENSE file of this repository. Licenses and attribution notices for third-party media are set out in [third-party-notices.txt](syncplay/resources/third-party-notices.txt).
## Authors
* *Initial concept and core internals developer* - Uriziel.

View File

@ -11,7 +11,7 @@ import syncplay
APP = ['syncplayClient.py']
DATA_FILES = [
('resources', glob('syncplay/resources/*.png') + glob('syncplay/resources/*.rtf') + glob('syncplay/resources/*.lua')),
('resources', glob('syncplay/resources/*.png') + glob('syncplay/resources/*.rtf') + glob('syncplay/resources/*.txt') + glob('syncplay/resources/*.lua')),
('resources/lua/intf', glob('syncplay/resources/lua/intf/*.lua'))
]
OPTIONS = {

View File

@ -726,7 +726,7 @@ guiIcons = glob('syncplay/resources/*.ico') + glob('syncplay/resources/*.png') +
resources = [
"syncplay/resources/syncplayintf.lua",
"syncplay/resources/license.rtf",
"syncplay/resources/third-party-notices.rtf"
"syncplay/resources/third-party-notices.txt"
]
resources.extend(guiIcons)
intf_resources = ["syncplay/resources/lua/intf/syncplay.lua"]

View File

@ -190,9 +190,9 @@ class AboutDialog(QtWidgets.QDialog):
def openDependencies(self):
if isWindows():
QtGui.QDesktopServices.openUrl(QUrl("file:///" + resourcespath + "third-party-notices.rtf"))
QtGui.QDesktopServices.openUrl(QUrl("file:///" + resourcespath + "third-party-notices.txt"))
else:
QtGui.QDesktopServices.openUrl(QUrl("file://" + resourcespath + "third-party-notices.rtf"))
QtGui.QDesktopServices.openUrl(QUrl("file://" + resourcespath + "third-party-notices.txt"))
class CertificateDialog(QtWidgets.QDialog):