added tdeckboot

This commit is contained in:
Luxferre
2025-12-22 16:06:01 +02:00
parent c5fe8d741f
commit 122bc06e7f
3 changed files with 28 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
# TDeckARD "boot script" importing all commonly used functions
# for a shell-like experience
# Usage: from tdeckboot import *
# Created by Luxferre in 2025, released into public domain
from deck.fs import unlock_rootfs, lock_rootfs, env, rnd, sync
from deck.fs import du, df, sep, pwd, ls, md, cd, rd, rm, mv, cp
from deck.input import input, input_multi
from deck.pager import print_paged, term_size
from app.ed import edit, view
try:
from deck import net
requests = net.init_requests()
socket = net.init_socket()
except:
import requests, socket