API: Added /api/flake/create. Fixed vscode search settings. Moved clan create to clan flake create

This commit is contained in:
Qubasa
2023-10-09 14:01:34 +02:00
parent 9c74c4d661
commit b49433958b
14 changed files with 157 additions and 52 deletions

View File

@@ -31,6 +31,8 @@ def open_browser(base_url: str, sub_url: str) -> None:
def _open_browser(url: str) -> subprocess.Popen:
for browser in ("firefox", "iceweasel", "iceape", "seamonkey"):
if shutil.which(browser):
# Do not add a new profile, as it will break in combination with
# the -kiosk flag.
cmd = [
browser,
"-kiosk",