-
-
Notifications
You must be signed in to change notification settings - Fork 0
How to set up Owen2k6 Launcher
In order to set up the launcher in the environment, you will need the following:
-
Replit with the free plan ofc.
-
A secondary py file to be launched from the launcher.
-
The O2k6L Main.py and Updater.py
Steps to getting the launcher working:
-
Import Main.py and Updater.py into the root of the Repl Project.
-
Before starting for the first time, locate
# ADMIN DB RESET. DO NOT TOUCH.
# db["RUNINNIT"] = int(0)
# END OF ADMIN. DO NOT UNCOMMENT IF ALREADY SET UP.
and uncomment the code inbetween.
-
Start the Repl for the first time in order to create the repl keys.
-
Recomment the ADMIN DB RESET code.
-
Modify the launch code area to make it launch the pyfile you wish to start.
For example,
if input1 == "test":
RUN = True
import testo2k6l
could become
if input1 == "phow":
RUN = True
import phow
Note. Ensure that the import code matches the FILENAME of the python file.
Phow.py would be import Phow
phow.py would be import phow
PhOw.py would be import PhOw
it is CaSe SeNsItIvE
- Run the repl and type in the launch code for the py file ("phow")
In order to verify the db system works, perform step 6 again and then continue.
- Run the repl and then run "system" then while in system, enter "stats".
If you ran step 6 twice, you should receive a statistic of 2 runs.
And that's it! enjoy using the launcher!
Copyright (c) 2022 Owen2k6
Do not modify any code that your not supposed to modify. Thanks :^)