Windows
This commit is contained in:
10
bal.py
10
bal.py
@@ -51,7 +51,7 @@ class BalPlugin(BasePlugin):
|
|||||||
__version__ = "0.2.8" #AUTOMATICALLY GENERATED DO NOT EDIT
|
__version__ = "0.2.8" #AUTOMATICALLY GENERATED DO NOT EDIT
|
||||||
default_app={
|
default_app={
|
||||||
"Linux":"xdg-open",
|
"Linux":"xdg-open",
|
||||||
"Window":"start",
|
"Windows":"start",
|
||||||
"Darwin":"open"
|
"Darwin":"open"
|
||||||
}
|
}
|
||||||
chainname = constants.net.NET_NAME if constants.net.NET_NAME != "mainnet" else "bitcoin"
|
chainname = constants.net.NET_NAME if constants.net.NET_NAME != "mainnet" else "bitcoin"
|
||||||
@@ -96,11 +96,7 @@ class BalPlugin(BasePlugin):
|
|||||||
self.ASK_INVALIDATE = BalConfig(config, "bal_ask_invalidate", True)
|
self.ASK_INVALIDATE = BalConfig(config, "bal_ask_invalidate", True)
|
||||||
self.PREVIEW = BalConfig(config, "bal_preview", True)
|
self.PREVIEW = BalConfig(config, "bal_preview", True)
|
||||||
self.SAVE_TXS = BalConfig(config, "bal_save_txs", True)
|
self.SAVE_TXS = BalConfig(config, "bal_save_txs", True)
|
||||||
self.WILLEXECUTORS = BalConfig(config, "bal_willexecutors", True)
|
|
||||||
# self.PING_WILLEXECUTORS = BalConfig(config, "bal_ping_willexecutors", True)
|
|
||||||
# self.ASK_PING_WILLEXECUTORS = BalConfig(
|
|
||||||
# config, "bal_ask_ping_willexecutors", True
|
|
||||||
# )
|
|
||||||
self.NO_WILLEXECUTOR = BalConfig(config, "bal_no_willexecutor", True)
|
self.NO_WILLEXECUTOR = BalConfig(config, "bal_no_willexecutor", True)
|
||||||
self.HIDE_REPLACED = BalConfig(config, "bal_hide_replaced", True)
|
self.HIDE_REPLACED = BalConfig(config, "bal_hide_replaced", True)
|
||||||
self.HIDE_INVALIDATED = BalConfig(config, "bal_hide_invalidated", True)
|
self.HIDE_INVALIDATED = BalConfig(config, "bal_hide_invalidated", True)
|
||||||
@@ -157,7 +153,7 @@ class BalPlugin(BasePlugin):
|
|||||||
BalPlugin.default_will_settings(),
|
BalPlugin.default_will_settings(),
|
||||||
)
|
)
|
||||||
self.system = platform.system()
|
self.system = platform.system()
|
||||||
self.CALENDAR_APP = BalConfig(config,"bal_open_app",self.default_app[self.system])
|
self.CALENDAR_APP = BalConfig(config,"bal_open_app",self.default_app.get(self.system,""))
|
||||||
self._hide_invalidated = self.HIDE_INVALIDATED.get()
|
self._hide_invalidated = self.HIDE_INVALIDATED.get()
|
||||||
self._hide_replaced = self.HIDE_REPLACED.get()
|
self._hide_replaced = self.HIDE_REPLACED.get()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user