diff --git a/launcher/go.mod b/launcher/go.mod index d86df14..e581c2c 100644 --- a/launcher/go.mod +++ b/launcher/go.mod @@ -1,4 +1,4 @@ -module camoufox-launcher +module launch go 1.22.5 diff --git a/launcher/main.go b/launcher/main.go index 34ba593..7499966 100644 --- a/launcher/main.go +++ b/launcher/main.go @@ -47,9 +47,9 @@ func parseArgs(args []string) (string, []string) { } } + // If no config data is provided, fallback to an empty object if configPath == "" { - fmt.Println("Usage: ./launch --config [...additional args]") - os.Exit(1) + configPath = "{}" } return configPath, remainingArgs