Post Run - PaleScript/bootimage GitHub Wiki

Post Run

Post Run is a function that runs before run function starts.

Trying post run

to use post run override the postrun function in your os

// main.js
postrun() {

}

or ts

// main.ts
override postrun() {

}

And now you can run code before the run function starts.