mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-26 16:25:28 -04:00
Fixed graphics path
This commit is contained in:
parent
bcf756d0ca
commit
645c2790a9
3 changed files with 20 additions and 4 deletions
|
@ -99,6 +99,9 @@ class SidebandCore():
|
|||
elif RNS.vendor.platformutils.is_darwin():
|
||||
core_path = os.path.abspath(__file__)
|
||||
self.asset_dir = core_path.replace("/sideband/core.py", "/assets")
|
||||
elif RNS.vendor.platformutils.get_platform() == "linux":
|
||||
core_path = os.path.abspath(__file__)
|
||||
self.asset_dir = core_path.replace("/sideband/core.py", "/assets")
|
||||
else:
|
||||
self.asset_dir = plyer.storagepath.get_application_dir()+"/sbapp/assets"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue