HeliosLauncher icon indicating copy to clipboard operation
HeliosLauncher copied to clipboard

Test Mode

Open drdeee opened this issue 4 years ago • 4 comments

This PR adds a test mode to the Helios Launcher. If this is activated, not the default distribution is loaded, but another one (specified in the distromanager). You can enable/disable the test mode via the console:

ConfigManager.setTesting(true)
ConfigManager.setTesting(false)

ConfigManager.isTesting() // is in test mode

DrDeee

drdeee avatar Jan 07 '21 21:01 drdeee

What's the point when we already have the debug distro ?

jordanamr avatar Jan 10 '21 22:01 jordanamr

And were can I set the debug distro, @jordanamr ?

drdeee avatar Jan 11 '21 21:01 drdeee

Please see the source code.

Le lun. 11 janv. 2021 à 22:22, DrDeee [email protected] a écrit :

And were can I set the debug distro, @jordanamr https://github.com/jordanamr ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dscalzi/HeliosLauncher/pull/134#issuecomment-758232798, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKQ35O2C5LA4EJVXGHWUMDSZNTYJANCNFSM4VZRSLLQ .

jordanamr avatar Jan 11 '21 22:01 jordanamr

There is an option to use a local distribution.

  1. On Nebula - npm run start -- g distro dev_distribution --installLocal
  2. In helios - Open devtools. Execute:
  • DistroManager.setDevMode(true)
  • DistroManager.pullLocal()

More details: https://github.com/dscalzi/HeliosLauncher/wiki/Developer-Mode

I'll leave this open for now because its an option to pull from a remote "debug" distribution, which may be useful.

dscalzi avatar Jul 19 '21 05:07 dscalzi