mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Don't generate cache files when ran locally
This commit is contained in:
parent
8932de4dc1
commit
eba8a3c11e
|
@ -20,6 +20,7 @@ from os.path import realpath, dirname, normpath
|
|||
|
||||
LAUNCH_PATH = dirname(realpath(__file__))
|
||||
if LAUNCH_PATH != "/usr/bin":
|
||||
sys.dont_write_bytecode = True
|
||||
SOURCE_PATH = normpath(os.path.join(LAUNCH_PATH, '..'))
|
||||
sys.path.insert(0, SOURCE_PATH)
|
||||
|
||||
|
|
Loading…
Reference in a new issue