fix: Better build-exe alive message.

This commit is contained in:
Quentin Decaunes 2019-08-03 22:30:35 +02:00
parent b5b9b3c839
commit 56c9d827bb

View File

@ -1,6 +1,32 @@
const createWindowsInstaller = require('electron-winstaller').createWindowsInstaller const createWindowsInstaller = require('electron-winstaller').createWindowsInstaller
const path = require('path') const path = require('path')
const lyrics = [
"I'm awake",
"I'm alive",
"now",
"I know",
"what I",
"believe inside",
"NOW",
"It's my time",
"I'll do",
"what I want",
"'cause this",
"is my life",
"Here",
"right now",
"I will",
"stand my ground",
"and never back down",
"I know",
"what I",
"believe inside",
"I'm awake",
"and",
"I'm alive",
"--",
];
var lyrics_pos = -1;
var keepAlive = false; var keepAlive = false;
getInstallerConfig() getInstallerConfig()
@ -17,7 +43,8 @@ getInstallerConfig()
function getInstallerConfig () { function getInstallerConfig () {
console.log('creating windows installer') console.log('creating windows installer')
keepAlive = setInterval(function(){ keepAlive = setInterval(function(){
console.log(`I'm alive ...`); lyrics_pos++;
console.log(`${lyrics[ lyrics_pos % lyrics.length ]}`);
}, 10000); }, 10000);
const rootPath = path.join('./') const rootPath = path.join('./')