Refactor to allow ytfeed an installer

This commit is contained in:
dtb
2025-09-12 07:54:30 -06:00
parent 7b41970358
commit 37b86e5cbb
5 changed files with 52 additions and 10 deletions

View File

@@ -1,19 +1,23 @@
#!./menu
#!usr/bin/env menu
$ echo Hello, world.
# ^^^ Text VVV Command
echo Hello, world.
$ cat Makefile
# And this is the Attributes line, which is yet unused.
cat Makefile
$ less <menu.rs
$ cat examples/installation-helper
# Technically this line is skipped entirely by menu(1).
cat examples/installation-helper
$ less <menu.rs
# But comments will be allowed here, they'll start with hash.
less <menu.rs
Remove menu and re-build it.
# Don't start the attributes line with a tab; it'll break in later versions.
rm -f menu; make
Install menu to /usr/local/ (assuming adequate permissions).
@@ -34,4 +38,4 @@ Uninstall menu from /usr/local (using sudo(8)).
Open the ytfeed launcher.
make -C examples -f Makefile.ytfeed
make -C examples -f Makefile.ytfeed launcher