mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01:00
Fixed startup error on some macOS versions
This commit is contained in:
parent
c3dee106e8
commit
2cf06e9fe0
@ -139,9 +139,9 @@ class SidebandCore():
|
|||||||
self.owner_service = owner_service
|
self.owner_service = owner_service
|
||||||
|
|
||||||
self.app_dir = plyer.storagepath.get_home_dir()+"/.config/sideband"
|
self.app_dir = plyer.storagepath.get_home_dir()+"/.config/sideband"
|
||||||
self.cache_dir = self.app_dir+"/cache"
|
|
||||||
if self.app_dir.startswith("file://"):
|
if self.app_dir.startswith("file://"):
|
||||||
self.app_dir = self.app_dir.replace("file://", "")
|
self.app_dir = self.app_dir.replace("file://", "")
|
||||||
|
self.cache_dir = self.app_dir+"/cache"
|
||||||
|
|
||||||
self.rns_configdir = None
|
self.rns_configdir = None
|
||||||
if RNS.vendor.platformutils.is_android():
|
if RNS.vendor.platformutils.is_android():
|
||||||
|
Loading…
Reference in New Issue
Block a user