fix: flatten React Router structure — no nested Routes, each page is a top-level route

This commit is contained in:
enzo
2026-07-22 19:21:29 +08:00
parent 07ff8c2a12
commit 1de5fcf698
3720 changed files with 1254827 additions and 49 deletions
@@ -0,0 +1,26 @@
from __future__ import annotations
import json
import sys
from detect_installer import detect_installer
def main() -> None:
info = detect_installer("detect-installer")
if info is None:
print("Could not detect installer for detect-installer")
sys.exit(1)
json.dump(
{
"installer": info.installer.value,
"upgrade_cmd": info.upgrade_cmd,
},
sys.stdout,
)
if __name__ == "__main__":
main()