File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33import os
44import sys
55import time
6- sys .path .append (os .path .join (os .path .dirname (__file__ ), 'src' ))
76
87
98if __name__ == '__main__' :
2423
2524 if getattr ( sys , 'frozen' , False ) :
2625 # running in a bundle
26+ sys .path .append (os .path .join (os .path .dirname (__file__ ), 'src' ))
2727 imgDir = os .path .join (sys ._MEIPASS , 'img' )
2828
2929 # if linux export qt plugins path
3232
3333 else :
3434 # running live
35+ sys .path .append (os .path .join (os .path .dirname (os .path .abspath (__file__ )), 'src' ))
3536 imgDir = os .path .join (os .path .dirname (os .path .abspath (__file__ )), 'img' )
3637
3738 from PyQt5 .QtWidgets import QApplication
Original file line number Diff line number Diff line change 11{
22 "number": "0.4.0",
3- "tag": "a ",
4- "comments": ["v4 update "]
3+ "tag": "b ",
4+ "comments": ["OSX fix: sys._MEIPASS in bundle "]
55 }
You can’t perform that action at this time.
0 commit comments