christianhaitian / arkos

Another rockchip Operating System
MIT License
1.37k stars 81 forks source link

writing a .sh script for arkos #1048

Closed c00nn closed 2 months ago

c00nn commented 2 months ago

hello. how do i run a simple .sh script in ArkOS?

i have the following stack: ArkOS with emulationstation and retroarch on the Data Frog R36-S handheld gaming device.

i could transpile my script to .bat and run in retroarch DOSBOX pure, but i wanna run it in .sh for the increased functionality and font support

(my .sh script involves generating random hanzi (chinese ideographs) in a terminal each second from unicode. i have the script but im lost on how to run it in ArkOS

christianhaitian commented 2 months ago

Put your .sh script in a location that supports launching .sh script like the Options/Tools location which runs scripts from the roms/tools folder. You can find example scripts here: https://github.com/christianhaitian/rk3326_core_builds/tree/rk3326/shell-scripts

Good luck