Skip to content

Commit

Permalink
one more version
Browse files Browse the repository at this point in the history
  • Loading branch information
allanxp4 committed May 1, 2024
1 parent 6e55803 commit 6932b24
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "htop",
"icon": "/mnt/SDCARD/App/Htop/htop.png",
"launch": "launch.sh",
"description": "an interactive process viewer"
"label": "htop",
"icon": "./htop.png",
"launch": "launch.sh",
"description": "an interactive process viewer"
}
2 changes: 2 additions & 0 deletions create-symlink.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#fake symlink because the FAT fileysystem doesn't support symlinks
echo $(dirname $0)/htop.sh > /mnt/SDCARD/.tmp_update/bin/htop
2 changes: 1 addition & 1 deletion dist.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
zip -r miyoo-htop.zip htop htop.png config.json launch.sh terminfo.sh terminfoS
zip -r miyoo-htop.zip config.json create-symlink.sh htop htop.png htop.sh launch.sh
2 changes: 2 additions & 0 deletions htop.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export TERMINFO_DIRS="$(dirname $0)/terminfo"
$(dirname $0)/htop
5 changes: 3 additions & 2 deletions launch.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
source $PWD/terminfo.sh
st -q -e $PWD/htop
export TERMINFO_DIRS="$PWD/terminfo"
export PATH="$PWD:$PATH"
st -q -e htop
1 change: 0 additions & 1 deletion terminfo.sh

This file was deleted.

0 comments on commit 6932b24

Please sign in to comment.