File size: 940 Bytes
0e0fe0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off

REM ========================================

REM PortWatcher Quick Run

REM For advanced options, use: START.bat

REM ========================================

setlocal enabledelayedexpansion



REM Check for .NET SDK
dotnet --version >nul 2>&1
if errorlevel 1 (
    echo ERROR: .NET SDK not found!
    echo Please install .NET 8.0 SDK from: https://dotnet.microsoft.com/download/dotnet/8.0
    pause
    exit /b 1
)



REM For full menu with certificate management, use START.bat
if "%1"=="" (
    echo.
    echo PortWatcher - Quick Start
    echo.
    echo For interactive menu with certificate management:
    echo   START.bat
    echo.
    echo Running development mode...
    echo.
)



REM Clean build
dotnet clean >nul 2>&1
dotnet build >nul 2>&1



REM Run with HTTPS
set ASPNETCORE_URLS=https://localhost:7145;http://localhost:5293
dotnet run --project PortWatcher.csproj --launch-profile https