Support NetBSD
This commit is contained in:
parent
76cfc43794
commit
9da7bee57c
|
@ -87,7 +87,8 @@ def appdata_dir():
|
||||||
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" or
|
elif (platform.system() == "Darwin" or
|
||||||
platform.system() == "DragonFly"):
|
platform.system() == "DragonFly" or
|
||||||
|
platform.system() == "NetBSD"):
|
||||||
return "/Library/Application Support/Electrum"
|
return "/Library/Application Support/Electrum"
|
||||||
else:
|
else:
|
||||||
raise Exception("Unknown system")
|
raise Exception("Unknown system")
|
||||||
|
|
Loading…
Reference in New Issue