v0.7.6: launcher auto-start restart, clean Ctrl+C on DB startup
This commit is contained in:
1 parent
9c61e198fa
commit
f48a09e8d3
4 files changed
+77
-46
No files matched your search
@@ -2,6 +2,10 @@
|
||||
# This script handles both setup and starting the dashboard.
|
||||
# Run this script and choose what you want to do.
|
||||
|
||||
# -AutoStart skips the menu and starts the dashboard straight away
|
||||
# (used after self-updates so the panel comes back up unattended).
|
||||
param([switch]$AutoStart)
|
||||
|
||||
$ErrorActionPreference = "Continue"
|
||||
|
||||
$ProjectRoot = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
@@ -2819,6 +2823,11 @@ function Rotate-SSHKey {
|
||||
|
||||
Show-Banner
|
||||
|
||||
if ($AutoStart) {
|
||||
Start-Dashboard
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
while ($true) {
|
||||
Show-Menu
|
||||
$choice = Read-Host " Enter your choice"
|
||||
|
||||
Reference in new issue
Block a user