-
Notifications
You must be signed in to change notification settings - Fork 0
Code Libraries
NiftyNarwhal11 edited this page May 3, 2024
·
1 revision
The baselibrary is a library of code that comes default with ModularOS. You require it with baselibrary = require(".libraries/baselibrary") We plan to add more to it in the future but here is what it does now:
The baselibrary.printCenter(string) works to print string to the center of the screen.
wget(string URL, string save-path, bool run-after-save) is the same as CraftOS:wget. The run-after-save argument tells it weather or not to run the downloaded file after it is downloaded.