Skip to content
Snippets Groups Projects
Commit 9802bf6b authored by Jono Wenger's avatar Jono Wenger
Browse files

minor fixes

parent 25d6c0da
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ import ( ...@@ -14,7 +14,7 @@ import (
var password = "password" var password = "password"
var session = ".session" var session = ".session"
var ndfPath = "ndf.json" var ndfPath = "ndf.json"
var logPath = "client.log" var logPath = "xx-coin-game.log"
var botContactPath = "botContact.bin" var botContactPath = "botContact.bin"
var botContact contact.Contact var botContact contact.Contact
...@@ -23,7 +23,7 @@ var client ClientAPI ...@@ -23,7 +23,7 @@ var client ClientAPI
var body *gowd.Element var body *gowd.Element
var testMode = false const testMode = false
func main() { func main() {
...@@ -114,8 +114,9 @@ func printForm(div *gowd.Element) { ...@@ -114,8 +114,9 @@ func printForm(div *gowd.Element) {
ethAddr.Element.Kids[1].SetAttribute("style", "font-family:'Roboto Mono', Consolas, 'Courier New', Courier, monospace;") ethAddr.Element.Kids[1].SetAttribute("style", "font-family:'Roboto Mono', Consolas, 'Courier New', Courier, monospace;")
sendText := bootstrap.NewFormInput(bootstrap.InputTypeText, "Message:") sendText := bootstrap.NewFormInput(bootstrap.InputTypeText, "Message:")
// FIXME: remove this if testMode {
// ethAddr.SetValue("0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7") ethAddr.SetValue("0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7")
}
div.AddElement(ethAddr.Element) div.AddElement(ethAddr.Element)
div.AddElement(sendText.Element) div.AddElement(sendText.Element)
......
{ {
"name": "Sample App", "name": "xx Coin Game",
"main": "index.html", "main": "index.html",
"single-instance": true, "single-instance": true,
"window": { "window": {
"position": "center", "position": "center",
"width": 600, "width": 650,
"height": 400, "height": 433,
"frame": true "frame": true
}, },
"webkit": { "webkit": {
"plugin": true "plugin": true
}, },
"version": "0.1.0" "version": "1.0.0"
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment