From 9802bf6b470db29dca732f6b4d7a294c11102cce Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Mon, 5 Apr 2021 10:18:22 -0700 Subject: [PATCH] minor fixes --- main.go | 9 +++++---- package.json | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/main.go b/main.go index 27d67ea..e5b2d44 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 4246dc7..c98dafa 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 -- GitLab