Back

cfg

JS Py
Hello World
Content:
- Properties

Global App configuration modes.

cfg → Object

Place it in a comment at the top of you main source file to make it effective.
More details about each configuration can be found in the CodingFeatures section

Properties

The following properties are available on the cfg object:

Consolevoid
Darkvoid
Fastvoid
Gamevoid
Holovoid
Landscapevoid
Lightvoid
MUIvoid
Nodevoid
NodeESMvoid
Portraitvoid
Servvoid
Sharevoid
Transparentvoid
USBvoid
cfg.Console
Shows a Console instead of a GUI app. Drawers will still work in this mode
cfg.Dark
Start the app in 'Dark' mode
cfg.Fast
Disable DOM library to significantly increase performance
cfg.Game
Start the app in 'Game' mode
cfg.Holo
Start the app in legacy 'Holo' mode
cfg.Landscape
Start the app in 'Landscape' mode
cfg.Light
Start the app in 'Light' mode
cfg.MUI
Allow the use of MaterialUI contruls in your app
cfg.Node
Start the app as 'Node.js' process
cfg.NodeESM
Start the app as 'Node.js' Ecma Script Module process
cfg.Portrait
Start the app in 'Portrait' mode
cfg.Serv
Automatically start a local server for your app
cfg.Share
Share
cfg.Transparent
Make the app transparent
cfg.USB
U sb