mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 16:42:04 -08:00
Fixes for launcher
- Do not raise error when no config is passed - Renamed module to 'launch'
This commit is contained in:
parent
bf245006b2
commit
3e198c78f1
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
module camoufox-launcher
|
||||
module launch
|
||||
|
||||
go 1.22.5
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <config.json> [...additional args]")
|
||||
os.Exit(1)
|
||||
configPath = "{}"
|
||||
}
|
||||
|
||||
return configPath, remainingArgs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue