Skip to content

Commit

Permalink
Add debug tools, bump version to test autoUpdater
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonkearns committed Feb 11, 2017
1 parent 5d0c9e4 commit 67d8d2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const electron = require('electron')
const {ipcMain, globalShortcut, app, Tray, BrowserWindow, dialog} = require('electron')
const autoUpdater = require('electron-updater').autoUpdater
require('electron-debug')({
enabled: true // enable debug shortcuts in prod build
})

const path = require('path')
const url = require('url')
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Mobster",
"version": "0.0.6",
"version": "0.0.7",
"description": "A cross-platform mob programming timer built on web technologies",
"main": "main.js",
"scripts": {
Expand Down Expand Up @@ -33,13 +33,15 @@
"author": "Dillon Kearns",
"license": "MIT",
"devDependencies": {
"devtron": "^1.4.0",
"electron": "^1.5.0",
"electron-builder": "^11.7.0",
"elm": "^0.18.0",
"elm-css": "^0.6.0",
"elm-test": "^0.18.2"
},
"dependencies": {
"electron-debug": "^1.1.0",
"electron-is-dev": "^0.1.2",
"electron-log": "^1.3.0",
"electron-updater": "^1.6.0",
Expand Down
2 changes: 2 additions & 0 deletions setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@

<script>
const {ipcRenderer, clipboard} = require('electron')
const {version} = require('./package')
console.log(`Running version ${version}`)

let settings = JSON.parse(window.localStorage.getItem('setup'))
let setup = Elm.Setup.Main.fullscreen(settings)
Expand Down

0 comments on commit 67d8d2f

Please sign in to comment.