Open Simon-Davies opened 2 years ago
Any updates on this? I was looking through the code and saw a place where it looks like the Nim compiler flags are set.
Send me a PR and I'll take a look!
Could it be added to this part in pkg/nim/nim.go? I may be wrong but I see the Nim compiler "compile" command here:
// Compile - Nim compiler command func Compile(workDir string, env []string, args []string) ([]byte, []byte, error) { cli := []string{"compile"} cli = append(cli, args...) return nimCmd(workDir, env, cli) }
Yea that's building the nim compile
command, fork the code and play around see if you can get it working! I'm busy with other projects so no ETA for me working on this btw.
@Simon-Davies I think you can use your own config.nims in your project to specify your own flags
switch("app", "gui")
Can you please add the ability to hide the console window using the compiler flag: --app:gui