Modified paths module for dealing with installer data
This commit is contained in:
parent
5d6a66dcac
commit
2a975123fc
@ -3,6 +3,7 @@ from __future__ import unicode_literals
|
|||||||
import sys
|
import sys
|
||||||
import platform
|
import platform
|
||||||
import os
|
import os
|
||||||
|
import glob
|
||||||
#import logging
|
#import logging
|
||||||
from platform_utils import paths as paths_
|
from platform_utils import paths as paths_
|
||||||
|
|
||||||
@ -13,6 +14,8 @@ directory = None
|
|||||||
fsencoding = sys.getfilesystemencoding()
|
fsencoding = sys.getfilesystemencoding()
|
||||||
|
|
||||||
#log = logging.getLogger("paths")
|
#log = logging.getLogger("paths")
|
||||||
|
if len(glob.glob("Uninstall.exe")) > 0: # installed copy
|
||||||
|
mode= "installed"
|
||||||
|
|
||||||
def app_path():
|
def app_path():
|
||||||
return paths_.app_path()
|
return paths_.app_path()
|
||||||
|
Loading…
Reference in New Issue
Block a user