diff --git a/main.go b/main.go index 27d67ea9b2b8493b03af518b6068f0fde6708ed4..e5b2d4402b85932634322f1d259b4338bc41f2ca 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ import ( var password = "password" var session = ".session" var ndfPath = "ndf.json" -var logPath = "client.log" +var logPath = "xx-coin-game.log" var botContactPath = "botContact.bin" var botContact contact.Contact @@ -23,7 +23,7 @@ var client ClientAPI var body *gowd.Element -var testMode = false +const testMode = false func main() { @@ -114,8 +114,9 @@ func printForm(div *gowd.Element) { ethAddr.Element.Kids[1].SetAttribute("style", "font-family:'Roboto Mono', Consolas, 'Courier New', Courier, monospace;") sendText := bootstrap.NewFormInput(bootstrap.InputTypeText, "Message:") - // FIXME: remove this - // ethAddr.SetValue("0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7") + if testMode { + ethAddr.SetValue("0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7") + } div.AddElement(ethAddr.Element) div.AddElement(sendText.Element) diff --git a/package.json b/package.json index 4246dc7772f0942702b0298398357219fb23104d..c98dafa83f5c704e66958cbb5977f0eb05810be9 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { - "name": "Sample App", - "main": "index.html", - "single-instance": true, - "window": { - "position": "center", - "width": 600, - "height": 400, - "frame" : true - }, - "webkit": { - "plugin": true - }, - "version": "0.1.0" + "name": "xx Coin Game", + "main": "index.html", + "single-instance": true, + "window": { + "position": "center", + "width": 650, + "height": 433, + "frame": true + }, + "webkit": { + "plugin": true + }, + "version": "1.0.0" } \ No newline at end of file