Skip to content

Notes for Windows users

HungPV edited this page Aug 25, 2021 · 4 revisions

If you want to pass parameters/flags to program, you have to edit the *.bat files manually

For example if you want to use the feature --exit=X on the ReRun function, you have to edit the rerun.bat file, modify content

  • from java -jar BitHeroes rerun
  • to java -jar BitHeroes rerun --exit=1800 if you want to stop after 1800 seconds
  • or to java -jar BitHeroes rerun 30 --exit=1800 if you want to stop after 30 times ReRun or 1800 seconds, depends on what condition completed first

and then save the file

Otherwise you can run app directly from commandline

java -jar BitHeroes.jar <function_name> [ [--flags]]

Hi, I'm a bot. Please give me a Star for this repository, thank you 😜

Clone this wiki locally