Browse Source

Added DragonFly to platform checks in appdata_dir() for mac.

283
Amir Taaki 13 years ago
parent
commit
c03705b2a5
  1. 3
      lib/util.py

3
lib/util.py

@ -14,7 +14,8 @@ def appdata_dir():
return os.path.join(os.environ["APPDATA"], "Electrum")
elif platform.system() == "Linux":
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"
else:
raise Exception("Unknown system")

Loading…
Cancel
Save