pull/301/head
Lex Neva 2018-09-12 20:25:15 -04:00
rodzic c1567d4b7a
commit ba1c2ea78f
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -9,6 +9,7 @@ def get_bundled_dir(name):
else:
return realpath(os.path.join(dirname(realpath(__file__)), '..', '..', name))
def get_resource_dir(name):
if getattr(sys, 'frozen', None) is not None:
return realpath(os.path.join(sys._MEIPASS, name))