created tcmeta key function
This commit is contained in:
Vargink
2024-09-30 07:13:20 +10:00
parent af55f5b509
commit 5fe23d2874

View File

@@ -79,7 +79,7 @@ vMenuSettings() {
if ! [ -f /etc/vargtools/tcmeta ]; then if ! [ -f /etc/vargtools/tcmeta ]; then
menuNumberIndex=$((menuNumberIndex+1)) menuNumberIndex=$((menuNumberIndex+1))
menuItems+=("$menuNumberIndex. Set TCMeta Key") menuItems+=("$menuNumberIndex. Set TCMeta Key")
menuActions+=(updateVargtools) menuActions+=(setTcmetaKey)
fi fi
menuItems+=("B. Back") menuItems+=("B. Back")
menuActions+=(vMenuMain) menuActions+=(vMenuMain)
@@ -180,6 +180,15 @@ updateVargtools() {
exec /usr/local/bin/vargtools exec /usr/local/bin/vargtools
} }
setTcmetaKey() {
logo
echo [TCMeta] please enter the git key
read -r key
echo $key > /etc/vargtools/tcmeta
echo [TCMeta] Key Applied
return 1
}
installChicago95() { installChicago95() {
logo logo
echo [Chicago95] Installing prereqs echo [Chicago95] Installing prereqs