From 50d57246fdb581ee268cbf70ed7a77998afdac88 Mon Sep 17 00:00:00 2001 From: hadcl4 Date: Sun, 19 Jun 2022 17:01:52 -0500 Subject: [PATCH] STABLE v1.1.3 --- CLI.md | 2 ++ thunder-cli | 10 +++++++++- updater | 4 ++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CLI.md b/CLI.md index 0d24210..42d9708 100644 --- a/CLI.md +++ b/CLI.md @@ -40,6 +40,8 @@ View Thunder's version. Add a game to Thunder's library (only affects gui). ### `--run` Run a `.thunder` file. A `.thunder` file is basically an entry to the configuration file used in `thunder-cli --addgame`, however only one game can be stored in a `.thunder` file. The main difference is that, instead of a section being referred to by a number (like `[15]`), `.thunder` files begin with `[Game]`. Other than that, everything else is the same. +### '--web' +Run Thunder's web browser. ## Advanced Features This section will go over more advanced features: diff --git a/thunder-cli b/thunder-cli index 9b86646..b66f58f 100755 --- a/thunder-cli +++ b/thunder-cli @@ -23,10 +23,11 @@ function --help { echo "thunder-cli --dev | Enter devmode" echo "thunder-cli --clear-cache | Clear web browser cache" echo "thunder-cli --run | Run a .thunder file" + echo "thunder-cli --web | Open Thunder's web browser" } function --version { - echo "STABLE v1.1.2" + echo "STABLE v1.1.3" } function --gui { @@ -211,6 +212,10 @@ function --run { python3 ${HOME}/Thunder/read.py $2 } +function --web { + python3 ${HOME}/Thunder/thunderwebhelper 0 +} + if [[ "$1" == "--help" ]] ;then --help fi @@ -271,3 +276,6 @@ fi if [[ "$1" == "--run" ]]; then --run "$@" fi +if [[ "$1" == "--web" ]]; then + --web +fi diff --git a/updater b/updater index f496064..4275e80 100644 --- a/updater +++ b/updater @@ -59,5 +59,9 @@ if [[ $thunderversion == "STABLE v1.1.1" ]]; then echo "Updating thunder-cli..." sudo cp thunder-cli /usr/local/bin/thunder-cli fi +if [[ $thunderversion == "STABLE v1.1.2" ]]; then +echo "Updating thunder-cli..." +sudo cp thunder-cli /usr/local/bin/thunder-cli +fi echo "Closing in 10 seconds. Please reopen Thunder for changes to take effect." sleep 10s