aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/bindings.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-06 21:02:16 +0800
committerFelix Lange <fjl@twurst.com>2015-03-06 21:02:16 +0800
commite64f727529287b7414af6d1f482ea5f318cbd2eb (patch)
treef1939dffc5973597e6da17ef60ad2044af7f4340 /cmd/mist/bindings.go
parenta91bf014295bfaebee976f9e0e994e8a83e8e356 (diff)
parentde86403f330e68df8fc4aee00df98374b7842d0d (diff)
downloaddexon-e64f727529287b7414af6d1f482ea5f318cbd2eb.tar
dexon-e64f727529287b7414af6d1f482ea5f318cbd2eb.tar.gz
dexon-e64f727529287b7414af6d1f482ea5f318cbd2eb.tar.bz2
dexon-e64f727529287b7414af6d1f482ea5f318cbd2eb.tar.lz
dexon-e64f727529287b7414af6d1f482ea5f318cbd2eb.tar.xz
dexon-e64f727529287b7414af6d1f482ea5f318cbd2eb.tar.zst
dexon-e64f727529287b7414af6d1f482ea5f318cbd2eb.zip
Merge pull request #433 from fjl/newcli
Improved CLI
Diffstat (limited to 'cmd/mist/bindings.go')
-rw-r--r--cmd/mist/bindings.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mist/bindings.go b/cmd/mist/bindings.go
index 9623538a3..f21aa3135 100644
--- a/cmd/mist/bindings.go
+++ b/cmd/mist/bindings.go
@@ -79,14 +79,14 @@ func (self *Gui) AddPlugin(pluginPath string) {
self.plugins[pluginPath] = plugin{Name: pluginPath, Path: pluginPath}
json, _ := json.MarshalIndent(self.plugins, "", " ")
- ethutil.WriteFile(ethutil.Config.ExecPath+"/plugins.json", json)
+ ethutil.WriteFile(self.eth.DataDir+"/plugins.json", json)
}
func (self *Gui) RemovePlugin(pluginPath string) {
delete(self.plugins, pluginPath)
json, _ := json.MarshalIndent(self.plugins, "", " ")
- ethutil.WriteFile(ethutil.Config.ExecPath+"/plugins.json", json)
+ ethutil.WriteFile(self.eth.DataDir+"/plugins.json", json)
}
// this extra function needed to give int typecast value to gui widget