Fixed startup error on some macOS versions

This commit is contained in:
Mark Qvist 2024-03-26 17:17:22 +01:00
parent c3dee106e8
commit 2cf06e9fe0

View File

@ -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():