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
1 changed files with 1 additions and 1 deletions

View File

@ -139,9 +139,9 @@ class SidebandCore():
self.owner_service = owner_service
self.app_dir = plyer.storagepath.get_home_dir()+"/.config/sideband"
self.cache_dir = self.app_dir+"/cache"
if self.app_dir.startswith("file://"):
self.app_dir = self.app_dir.replace("file://", "")
self.cache_dir = self.app_dir+"/cache"
self.rns_configdir = None
if RNS.vendor.platformutils.is_android():