FEAT: down jellyfin in demo (perfect loop)
This commit is contained in:
@@ -136,7 +136,7 @@ export default {
|
|||||||
|
|
||||||
// nextcloud down
|
// nextcloud down
|
||||||
if (i === 23) {
|
if (i === 23) {
|
||||||
const cmd = '$ pegaz down nextcloud\n'
|
const cmd = '$ pegaz down\n'
|
||||||
for (const y in cmd) {
|
for (const y in cmd) {
|
||||||
this.terminalContent += cmd[y]
|
this.terminalContent += cmd[y]
|
||||||
await delay(20)
|
await delay(20)
|
||||||
@@ -145,15 +145,18 @@ export default {
|
|||||||
if (i === 24) this.terminalContent += 'Stopping nextcloud ... done\n'
|
if (i === 24) this.terminalContent += 'Stopping nextcloud ... done\n'
|
||||||
if (i === 25) this.terminalContent += '[√] Removing nextcloud ... done\n'
|
if (i === 25) this.terminalContent += '[√] Removing nextcloud ... done\n'
|
||||||
if (i === 26) this.nextcloudClass = downClass
|
if (i === 26) this.nextcloudClass = downClass
|
||||||
if (i === 27) this.isDemonstrationEnded = true
|
if (i === 27) this.terminalContent += 'Stopping jellyfin ... done\n'
|
||||||
|
if (i === 28) this.terminalContent += '[√] Removing jellyfin ... done\n'
|
||||||
|
if (i === 29) this.jellyfinClass = downClass
|
||||||
|
if (i === 30) this.isDemonstrationEnded = true
|
||||||
|
|
||||||
i += 1
|
i += 1
|
||||||
// i = 5
|
// i = 5
|
||||||
|
|
||||||
// if (i === 30) clearInterval(this.timer)
|
// if (i === 30) clearInterval(this.timer)
|
||||||
if (i === 30) this.terminalContent = ''
|
if (i === 33) this.terminalContent = ''
|
||||||
if (i === 30) this.jellyfinClass = downClass
|
if (i === 33) this.jellyfinClass = downClass
|
||||||
if (i === 30) i = 0
|
if (i === 33) i = 0
|
||||||
}, 700)
|
}, 700)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user