popOS an OS emulation utility coded in Droidscript

78 views
Skip to first unread message

Emma Nevada

unread,
Dec 5, 2016, 1:02:35 PM12/5/16
to DroidScript
popOS is a project i've been working on for a few days, it is about an OS emulation, just something to mess around with and have fun, see what you can accomplish, here are some features I've implimented so far,

1: pinstall command installs modules from the repository https://cryogena.net/popos `pinstall <module> [location]`
2: easy ex-pop command to wipe /sdcard/popos so you can start fresh, `pinstall ex-pop` then `ex-pop`.
3: startup section to run `.ps` scripts, which are droidscript coded commands for popOS
4: boot section, recommended not install anythng here unless its required by said module
5: docmd function to process command line commands, calling `docmd("pinstall cron");` is the same as typing `pinstall cron` in the given command line so it can be called form modules. (boot scripts are not allowed to call docmd and will give an error right to the output saying so).

a "cron" module is in the works, usage is as follows `cron <command> <name> <.ps location> <interval in ms>`, for example `cron add server_1 /root/server.ps 1000` will create a cron with the name server_1 and run the script /root/server.ps every 1000 milliseconds (or 1 second)
# i do not recommend using it yet as it is not finished #

Also, to reinstall any command/module or update, just recall the pinstall command, `pinstall <module> [location]`

* location relative to `/sdcard/popos` for safety of /sdcard and for easy access incase anything goes wrong.
popOS.spk
Reply all
Reply to author
Forward
0 new messages