Startoption -dev: lokale Test-Website (localhost:5080)

Eigene Anmeldung (settings.dev.json), bleibt bei Selbst-Installation und Update erhalten, DEV-Schild in der Oberflaeche.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 17:48:47 +01:00
co-authored by Claude Opus 5.5
parent b69b9638ff
commit 077e39fa8a
10 changed files with 46 additions and 9 deletions
+4 -1
View File
@@ -111,9 +111,12 @@ public static class Installer
catch { /* ohne Verknuepfung geht es auch */ }
}
/// <summary>Installierte Kopie starten - mit -dev, wenn diese hier mit -dev lief.</summary>
public static void StartInstalled()
{
Process.Start(new ProcessStartInfo(InstalledExe) { UseShellExecute = true, WorkingDirectory = InstallDir });
var start = new ProcessStartInfo(InstalledExe) { UseShellExecute = true, WorkingDirectory = InstallDir };
if (Api.Dev) start.ArgumentList.Add(Api.DevArg);
Process.Start(start);
}
/// <summary>Ordner/Dateien loeschen, sobald dieser Prozess beendet ist (seine .exe ist bis dahin gesperrt).</summary>