Fixed VSCode Tasks

This commit is contained in:
2025-09-23 01:05:02 -06:00
parent e549cbc8d0
commit 1b46f2eed6
2 changed files with 4 additions and 2 deletions

4
.vscode/tasks.json vendored
View File

@@ -2,7 +2,7 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "Borealis - Server (Flask)", "label": "Borealis - Server (Production)",
"type": "shell", "type": "shell",
"command": "powershell.exe", "command": "powershell.exe",
"args": [ "args": [
@@ -17,7 +17,7 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Borealis - Server (Vite)", "label": "Borealis - Server (Dev)",
"type": "shell", "type": "shell",
"command": "powershell.exe", "command": "powershell.exe",
"args": [ "args": [

View File

@@ -27,6 +27,8 @@ if ($Vite -and $Flask) {
} }
if ($Server) { if ($Server) {
# Auto-select main menu option for Server when -Server flag is provided
$choice = '1'
} elseif ($Agent) { } elseif ($Agent) {
$choice = '2' $choice = '2'
switch ($AgentAction) { switch ($AgentAction) {