diff options
author | zelig <viktor.tron@gmail.com> | 2014-03-27 18:14:04 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-03-27 18:14:04 +0800 |
commit | 49c710bf442940b3abc68123964b56b211b92c12 (patch) | |
tree | 9434b3684195dcf497f613fbc86d43a60602d532 /ethereal/ethereum.go | |
parent | 642630db15a793cf0a0f7fbd827daee364df5423 (diff) | |
download | dexon-49c710bf442940b3abc68123964b56b211b92c12.tar dexon-49c710bf442940b3abc68123964b56b211b92c12.tar.gz dexon-49c710bf442940b3abc68123964b56b211b92c12.tar.bz2 dexon-49c710bf442940b3abc68123964b56b211b92c12.tar.lz dexon-49c710bf442940b3abc68123964b56b211b92c12.tar.xz dexon-49c710bf442940b3abc68123964b56b211b92c12.tar.zst dexon-49c710bf442940b3abc68123964b56b211b92c12.zip |
assetPath configurable on command line for ethereal GUI
- solves the problem of non-standard installs
- add AssetPath to config as string var
- introduced UiLib constructor which falls back to defaultAssetPath (earlier behaviour) if no assetPath is set
- defaultAssetPath now internal concern of UiLib
- gui.Start(assetPath) argument passed from ethereal main() as set Init() in config.go
- informative log message if wallet.qml fails to open
Diffstat (limited to 'ethereal/ethereum.go')
-rw-r--r-- | ethereal/ethereum.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereal/ethereum.go b/ethereal/ethereum.go index 618d2b00f..99f3b0b52 100644 --- a/ethereal/ethereum.go +++ b/ethereal/ethereum.go @@ -100,11 +100,11 @@ func main() { os.Exit(0) } - log.Printf("Starting Ethereum v%s\n", ethutil.Config.Ver) + log.Printf("Starting Ethereum GUI v%s\n", ethutil.Config.Ver) // Set the max peers ethereum.MaxPeers = MaxPeer gui := ethui.New(ethereum) - gui.Start() + gui.Start(AssetPath) } |