Compare commits
No commits in common. "5933c507484a1e9b0b4505984a7d4e1acff2ed51" and "e669c4cbce98bd48413741e3604a2eb09f0dd8ef" have entirely different histories.
5933c50748
...
e669c4cbce
|
|
@ -80,12 +80,10 @@ https://wakamaifondue.com/
|
|||
- [x] public tunnel lives through reboots
|
||||
- [ ] tunnel to the terminal
|
||||
- [ ] remember your "mode"
|
||||
- [ ] `nose` CLI
|
||||
- [ ] status bar on terminal UX
|
||||
- [ ] "project"-based rehaul
|
||||
- [x] self updating NOSE server
|
||||
- [x] `pub/` static hosting in webapps
|
||||
- [x] upload files to projects
|
||||
- [ ] "project"-based rehaul
|
||||
- [ ] game/bin/www cartridges
|
||||
- [-] pico8-style games
|
||||
- [x] init/update/draw
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ echo ">> Starting (or restarting) $SERVICE_NAME"
|
|||
sudo systemctl restart "$SERVICE_NAME"
|
||||
|
||||
echo ">> Giving NOSE reboot access"
|
||||
echo "nose ALL=(ALL) NOPASSWD: /sbin/reboot, /usr/sbin/reboot" | sudo tee /etc/sudoers.d/nose-reboot
|
||||
echo "nose ALL=(ALL) NOPASSWD: /sbin/reboot" | sudo tee /etc/sudoers.d/nose-reboot
|
||||
sudo chmod 440 /etc/sudoers.d/nose-reboot
|
||||
|
||||
echo ">> Enabling kiosk mode"
|
||||
|
|
|
|||
|
|
@ -21,13 +21,13 @@ export async function stream(initOrFn: StreamParamFn | string | any, fn?: Stream
|
|||
}
|
||||
|
||||
const append = async (output: string | any) => {
|
||||
const { status, output: data } = processExecOutput(output)
|
||||
const [status, data] = processExecOutput(output)
|
||||
if (status === "error") error = true
|
||||
send({ type: "stream:append", data })
|
||||
}
|
||||
|
||||
const replace = async (output: string | any) => {
|
||||
const { status, output: data } = processExecOutput(output)
|
||||
const [status, data] = processExecOutput(output)
|
||||
if (status === "error") error = true
|
||||
send({ type: "stream:replace", data })
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ export async function stream(initOrFn: StreamParamFn | string | any, fn?: Stream
|
|||
if (typeof initOrFn === "function") {
|
||||
func = initOrFn
|
||||
} else {
|
||||
init = processExecOutput(initOrFn).output
|
||||
init = processExecOutput(initOrFn)[1]
|
||||
func = fn
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user