mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 10:03:28 +07:00
fix: Better build-exe alive message.
This commit is contained in:
parent
b5b9b3c839
commit
56c9d827bb
@ -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('./')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user