sc_kernel icon indicating copy to clipboard operation
sc_kernel copied to clipboard

Make config file configurable

Open capital-G opened this issue 2 years ago • 1 comments

from IDE source code - the reason why I don't have all Quarks available in the kernel.

Probably best to make this configurable by using an environment variable. A slicker version would be to select from multiple sclang kernels, but I don't know if this is possible.

    QString configFile = settings->value("configFile").toString();

capital-G avatar Feb 06 '23 10:02 capital-G

I could not get this to run via the -l flag of

❯ ./sclang -h
Usage:
   sclang [options] [file..] [-]

Options:
   -v                             Print supercollider version and exit
   -d <path>                      Set runtime directory
   -D                             Enter daemon mode (no input)
   -g <memory-growth>[km]         Set heap growth (default 256k)
   -h                             Display this message and exit
   -l <path>                      Set library configuration file
   -m <memory-space>[km]          Set initial heap size (default 2m)
   -r                             Call Main.run on startup
   -s                             Call Main.stop on shutdown
   -u <network-port-number>       Set UDP listening port (default 57120)
   -i <ide-name>                  Specify IDE name (for enabling IDE-specific class code, default "none")
   -a                             Standalone mode (exclude SCClassLibrary and user and system Extensions folders from search path)

capital-G avatar Feb 10 '23 16:02 capital-G