Update update script to automatically apply import magic
This commit is contained in:
parent
d806cbe6f3
commit
730d0e324c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user