mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 13:30:36 +01:00
Added version info to startup log
This commit is contained in:
parent
51523a216d
commit
a55c8a2425
@ -202,6 +202,8 @@ class SidebandApp(MDApp):
|
|||||||
else:
|
else:
|
||||||
self.sideband = SidebandCore(self, config_path=self.config_path, is_client=False, verbose=(args.verbose or __debug_build__))
|
self.sideband = SidebandCore(self, config_path=self.config_path, is_client=False, verbose=(args.verbose or __debug_build__))
|
||||||
|
|
||||||
|
self.sideband.version_str = "v"+__version__+" "+__variant__
|
||||||
|
|
||||||
self.set_ui_theme()
|
self.set_ui_theme()
|
||||||
self.font_config()
|
self.font_config()
|
||||||
self.update_input_language()
|
self.update_input_language()
|
||||||
@ -5520,6 +5522,7 @@ def run():
|
|||||||
is_daemon=True
|
is_daemon=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
sideband.version_str = "v"+__version__+" "+__variant__
|
||||||
sideband.start()
|
sideband.start()
|
||||||
while True:
|
while True:
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
@ -141,6 +141,7 @@ class SidebandCore():
|
|||||||
self.service_stopped = False
|
self.service_stopped = False
|
||||||
self.service_context = service_context
|
self.service_context = service_context
|
||||||
self.owner_service = owner_service
|
self.owner_service = owner_service
|
||||||
|
self.version_str = ""
|
||||||
|
|
||||||
if config_path == None:
|
if config_path == None:
|
||||||
self.app_dir = plyer.storagepath.get_home_dir()+"/.config/sideband"
|
self.app_dir = plyer.storagepath.get_home_dir()+"/.config/sideband"
|
||||||
@ -3833,7 +3834,7 @@ class SidebandCore():
|
|||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
self.setstate("core.started", True)
|
self.setstate("core.started", True)
|
||||||
RNS.log("Sideband Core "+str(self)+" started")
|
RNS.log("Sideband Core "+str(self)+" version "+str(self.version_str)+" started")
|
||||||
|
|
||||||
def stop_webshare(self):
|
def stop_webshare(self):
|
||||||
if self.webshare_server != None:
|
if self.webshare_server != None:
|
||||||
|
Loading…
Reference in New Issue
Block a user