diff --git a/.gitignore b/.gitignore index 3c3629e..8074c2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ node_modules + +out/ \ No newline at end of file diff --git a/index.html b/index.html index a96149f..7f33ac5 100644 --- a/index.html +++ b/index.html @@ -42,13 +42,21 @@ height: 16px; width: 16px; border-radius: 100%; + background: none; + border: 2px solid #000; } #close-btn { - background: #ff0000; + border-color: #ff2626; } + #close-btn:hover { + background: #ff2626; + } #min-btn { - background: #ffa500; + border-color: #ffbd45; } + #min-btn:hover { + background: #ffbd45; + } #settings-btn { padding: 0; @@ -202,7 +210,7 @@ overflow-y: scroll; } #tips { - font-size: 14px; + font-size: 12px; } #tips li { @@ -220,13 +228,14 @@ /*Scrollbar*/ ::-webkit-scrollbar-corner { - background-color: rgba(0, 0, 0, 0); + background-color: #000; } ::-webkit-scrollbar { background-color: rgba(0, 0, 0, 100); } ::-webkit-scrollbar { width: .5em; + height: .5em; } ::-webkit-scrollbar-thumb:window-inactive, @@ -285,8 +294,8 @@
- - + +
@@ -305,7 +314,8 @@ - + +

Tip Jar

@@ -412,10 +423,19 @@ //user settings const settings = require('electron-settings'); - settings.set('name', { + settings.set('developer', { first: 'Nathan', last: 'Parikh' }); + //default coins + if(settings.has('user.coins')) { + //do nothing because coins already set + } + else { + settings.set('user', { + coins: 'BTC,ETH,LTC' + }); + } // Returns an array with values of the selected (checked) checkboxes in "frm" function getSelectedChbox(frm) { @@ -581,7 +601,7 @@ }); } ) - setTimeout(function(){updateData()}, 500000); // run this once every 5 seconds + setTimeout(function(){updateData()}, 5000); // run this once every 5 seconds } // Let's do this thing! diff --git a/main.js b/main.js index c2f59d4..c2fd848 100644 --- a/main.js +++ b/main.js @@ -19,8 +19,8 @@ let mainWindow function createWindow () { // Load the previous state with fallback to defaults let mainWindowState = windowStateKeeper({ - defaultWidth: 360, - defaultHeight: 420 + defaultWidth: 320, + defaultHeight: 240 }); // Create the browser window. mainWindow = new electron.BrowserWindow({ @@ -89,5 +89,4 @@ app.on('activate', function () { }) // In this file you can include the rest of your app's specific main process -// code. You can also put them in separate files and require them here. - +// code. You can also put them in separate files and require them here. \ No newline at end of file