Skip to content

Commit 88c319e

Browse files
committed
egui sim: add ../configs to IncludePaths by default -- for new exe location
1 parent 15a5e68 commit 88c319e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

egui/sim.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func Run[S, C any]() {
4646
opts := cli.DefaultOptions(bc.Name, bc.Title)
4747
opts.DefaultFiles = append(opts.DefaultFiles, "config.toml")
4848
opts.SearchUp = true // so that the sim can be run from the command subdirectory
49+
opts.IncludePaths = append(opts.IncludePaths, "../configs")
4950

5051
cli.Run(opts, cfgC, RunSim[S, C])
5152
}

0 commit comments

Comments
 (0)