bg and kill

This commit is contained in:
Luna 2025-12-31 15:58:44 -03:00
parent 446aa9f217
commit a7c1ff2a4a
3 changed files with 5 additions and 1 deletions

1
bg.yarn Normal file
View 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()\"}}"}