From 65037b23708da9b9acd3a706f1da31a2d8c34e4a Mon Sep 17 00:00:00 2001 From: Zack Whipkey Date: Sun, 14 Aug 2016 16:05:19 -0500 Subject: [PATCH] Add handler for squirrel installer so app doesn't popup while installing.. --- README.md | 6 ++++++ app/main.js | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 1c0ed8c..b90a29b 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,12 @@ reputation for. This is why the pros know how to play many heroes! My #1 piece of advice? Work with your team, even if they are raging/being obnoxious. Save criticism for after the game. +## Why is the Windows installer gif so strange/weird. ARE YOU HACKING MY COMPUTER? +It's based upon Squirrel. I learned about all of this + build servers in nearly two days, +so I haven't had time to make a .gif that doesn't seem completely different from the HOTSBA theme. + +Designers feel free to come up with an nice gif to show during install! + ## Dude... this icon.... I know. Just imagine it as an H next a man trapped inside of a bandaid. diff --git a/app/main.js b/app/main.js index 127b419..84073a0 100644 --- a/app/main.js +++ b/app/main.js @@ -1,3 +1,6 @@ +//handle all these damn squirrel events. +if(require('electron-squirrel-startup')) return; + const electron = require('electron'); const {app, BrowserWindow} = electron; const config = require('convict');