mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 23:18:44 -07:00
Localtunnel hosting + admin panel + AppData db
- Default hosting mode is now Localtunnel — public *.loca.lt URL, no account, auto-fetched on first run. Replaces the prototyped Tailscale mode. - Tailscale code purged from launcher + CLI; docs swapped to Localtunnel throughout (easy-setup, joining-a-server, server-cli, troubleshooting, faq, READMEs). - Launcher sidebar gains an Open admin panel button — opens https://admin.<apex> in the browser once the server is live. - SQLite db moves to %APPDATA%\DorkNet\dorknet.db (server reads Database__SqlitePath env var, launcher passes it). Existing dbs under <serverDir>\data\ are migrated on first run. - CLI Program.cs: --mode default flips from tailscale to localtunnel; csproj links in LocaltunnelTunnel + LocaltunnelInstaller. - New Backend files: LauncherNameServer, LocaltunnelInstaller, LocaltunnelTunnel, SingleOriginServiceMap. - .gitignore: exclude installer/out/.
This commit is contained in:
@@ -44,9 +44,13 @@ if (-not (Test-Path $exe)) { throw "Expected $exe not found after publish" }
|
||||
$exeSize = "{0:N1} MB" -f ((Get-Item $exe).Length / 1MB)
|
||||
Write-Host "==> Published: $exe ($exeSize)" -ForegroundColor Green
|
||||
|
||||
# Resolve ISCC.exe — try PATH first, then the default install dir.
|
||||
# Resolve ISCC.exe — try PATH first, then common machine/user install dirs.
|
||||
$iscc = (Get-Command "ISCC.exe" -ErrorAction SilentlyContinue).Source
|
||||
if (-not $iscc) { $iscc = "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" }
|
||||
if (-not (Test-Path $iscc)) {
|
||||
$iscc = Join-Path $env:LOCALAPPDATA "Programs\Inno Setup 6\ISCC.exe"
|
||||
}
|
||||
if (-not (Test-Path $iscc)) { $iscc = "C:\Program Files\Inno Setup 6\ISCC.exe" }
|
||||
if (-not (Test-Path $iscc)) {
|
||||
throw "ISCC.exe not found. Install Inno Setup 6 from https://jrsoftware.org/isinfo.php"
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ Name: "autorunupdates"; Description: "Check for updates on launch"; GroupDescrip
|
||||
|
||||
[Files]
|
||||
Source: "{#PublishDir}\{#AppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "..\versions.json"; DestDir: "{app}"; Flags: ignoreversion
|
||||
; Bundle the tunnelto helper if it's been built next to the launcher.
|
||||
; The launcher auto-falls-back to PATH lookup when not bundled, so this
|
||||
; is purely a convenience for users who don't already have it installed.
|
||||
|
||||
Reference in New Issue
Block a user