electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit c03705b2a5169766246c591edad8a7691fb3e3cb
parent b0b24ae9ddcdc0966d0640a973c694d3707a3a90
Author: Amir Taaki <genjix@riseup.net>
Date:   Sun,  8 Jul 2012 10:45:04 +0100

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

Diffstat:
Mlib/util.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/util.py b/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")