mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Added logging to fix_libloader.
This commit is contained in:
parent
207315937a
commit
3fce3c58e2
@ -8,7 +8,7 @@ if snapshot == False:
|
|||||||
update_url = 'https://twblue.es/updates/stable.php'
|
update_url = 'https://twblue.es/updates/stable.php'
|
||||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/stable.json'
|
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/stable.json'
|
||||||
else:
|
else:
|
||||||
version = "13"
|
version = "14"
|
||||||
update_url = 'https://twblue.es/updates/snapshot.php'
|
update_url = 'https://twblue.es/updates/snapshot.php'
|
||||||
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/snapshots.json'
|
mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/snapshots.json'
|
||||||
authors = [u"Manuel Cortéz", u"José Manuel Delicado"]
|
authors = [u"Manuel Cortéz", u"José Manuel Delicado"]
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
import logging
|
||||||
import win32com
|
import win32com
|
||||||
import paths
|
import paths
|
||||||
win32com.__gen_path__=paths.com_path()
|
win32com.__gen_path__=paths.com_path()
|
||||||
@ -9,6 +10,8 @@ from win32com.client import gencache
|
|||||||
from pywintypes import com_error
|
from pywintypes import com_error
|
||||||
from libloader import com
|
from libloader import com
|
||||||
|
|
||||||
|
log = logging.getLogger("fixes.fix_libloader")
|
||||||
|
|
||||||
fixed=False
|
fixed=False
|
||||||
|
|
||||||
def patched_getmodule(modname):
|
def patched_getmodule(modname):
|
||||||
@ -33,4 +36,6 @@ def load_com(*names):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
def fix():
|
def fix():
|
||||||
com.load_com = load_com
|
log.debug("Applying fix for Libloader...")
|
||||||
|
com.load_com = load_com
|
||||||
|
log.debug("Load_com has been mapped correctly.")
|
@ -68,9 +68,9 @@ def setup():
|
|||||||
log.debug("Application path is %s" % (paths.app_path(),))
|
log.debug("Application path is %s" % (paths.app_path(),))
|
||||||
log.debug("config path is %s" % (paths.config_path(),))
|
log.debug("config path is %s" % (paths.config_path(),))
|
||||||
sound.setup()
|
sound.setup()
|
||||||
output.setup()
|
|
||||||
languageHandler.setLanguage(config.app["app-settings"]["language"])
|
languageHandler.setLanguage(config.app["app-settings"]["language"])
|
||||||
fixes.setup()
|
fixes.setup()
|
||||||
|
output.setup()
|
||||||
keys.setup()
|
keys.setup()
|
||||||
from controller import mainController
|
from controller import mainController
|
||||||
from sessionmanager import sessionManager
|
from sessionmanager import sessionManager
|
||||||
|
Loading…
Reference in New Issue
Block a user