X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos.py;h=f178a0a04174db2adf2ee7515afdcc55dd212952;hb=cab3f45017be1c781cfe11377ae0ecb0c00f2e59;hp=1c52a0bfcd172e879432395fa3b8c91c2dfc0af7;hpb=3df744a790fcdcf30449cffc45448d9e13d953e9;p=bertos.git diff --git a/wizard/bertos.py b/wizard/bertos.py index 1c52a0bf..f178a0a0 100755 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -57,7 +57,7 @@ def main(): app.settings = QSettings("Develer", "Bertos Configurator") app.project = BProject.BProject() # Development utility lines, to be removed for production - if newer("bertos.qrc", "bertos.rcc"): + if not (hasattr(sys, "frozen") and sys.frozen) and newer("bertos.qrc", "bertos.rcc"): os.system("rcc -binary bertos.qrc -o bertos.rcc") QResource.registerResource("bertos.rcc") if "--create" in sys.argv and "--edit" not in sys.argv: