diff --git a/scripts/generate_resources.sh b/scripts/generate_resources.sh index c1824af4f..0e8ae353c 100755 --- a/scripts/generate_resources.sh +++ b/scripts/generate_resources.sh @@ -37,10 +37,10 @@ mv openlp/core/resources.py openlp/core/resources.py.old # Create the new data from the updated qrc -pyrcc4 -py3 -o openlp/core/resources.py.new resources/images/openlp-2.qrc +pyrcc5 -o openlp/core/resources.py.new resources/images/openlp-2.qrc # Remove patch breaking lines -cat openlp/core/resources.py.new | sed '/# Created: /d;/# by: /d' > openlp/core/resources.py +cat openlp/core/resources.py.new | sed '/# Created by: /d' > openlp/core/resources.py # Patch resources.py to OpenLP coding style patch --posix -s openlp/core/resources.py scripts/resources.patch