mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-12 21:49:51 +00:00
Added DragonFly to platform checks in appdata_dir() for mac.
This commit is contained in:
parent
b0b24ae9dd
commit
c03705b2a5
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ def appdata_dir():
|
||||||
return os.path.join(os.environ["APPDATA"], "Electrum")
|
return os.path.join(os.environ["APPDATA"], "Electrum")
|
||||||
elif platform.system() == "Linux":
|
elif platform.system() == "Linux":
|
||||||
return os.path.join(sys.prefix, "share", "electrum")
|
return os.path.join(sys.prefix, "share", "electrum")
|
||||||
elif platform.system() == "Darwin":
|
elif (platform.system() == "Darwin" or
|
||||||
|
platform.system() == "DragonFly"):
|
||||||
return "/Library/Application Support/Electrum"
|
return "/Library/Application Support/Electrum"
|
||||||
else:
|
else:
|
||||||
raise Exception("Unknown system")
|
raise Exception("Unknown system")
|
||||||
|
|
Loading…
Add table
Reference in a new issue