bg and kill
This commit is contained in:
parent
446aa9f217
commit
a7c1ff2a4a
3 changed files with 5 additions and 1 deletions
1
bg.yarn
Normal file
1
bg.yarn
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"protected":false,"mode":"f","metadata":{"name":"bg","author":"Luna Magdalena :3","version":[1],"dependencies":[],"paths":{"bg.js":"%B/bg.js"}},"content":"{\"bg.js\":{\"protected\":true,\"metadata\":{\"runner\":[]},\"mode\":\"f\",\"content\":\"if (!args[0]) {\\n display.print(\\\"No program specified\\\", 0x1000)\\n quit()\\n}\\n\\nconst programName = args[0]\\nargs.splice(0, 1)\\n\\ntry {\\n exec.runProgram(programName, args)\\n} catch (e) {\\n if (e[0]) {\\n io.log(e)\\n }\\n}\\n\\nquit()\"}}"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue