diff --git a/src/fime/icons/update-bundled-icons.sh b/src/fime/icons/update-bundled-icons.sh index cc9fe04..3988302 100755 --- a/src/fime/icons/update-bundled-icons.sh +++ b/src/fime/icons/update-bundled-icons.sh @@ -1,2 +1,3 @@ #!/bin/sh rcc resources.qrc -g python -o __init__.py +sed -i 's/^.*import QtCore.*$/try:\n from PySide6 import QtCore\nexcept ImportError:\n from PySide2 import QtCore/g' __init__.py