Skip to content

Commit

Permalink
v2.2.2
Browse files Browse the repository at this point in the history
FIXED: Use relative path for addon URLs
FIXED: Still show nvram/jffs if no swap configured
  • Loading branch information
jackyaz authored Apr 5, 2021
2 parents 00b74e5 + d758a40 commit 5c6a2e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/bfd397624cdf4803a465d4ae1530e7fe)](https://www.codacy.com/app/jackyaz/scMerlin?utm_source=github.com&utm_medium=referral&utm_content=jackyaz/scMerlin&utm_campaign=Badge_Grade)
[![Build Status](https://travis-ci.com/jackyaz/scMerlin.svg?branch=master)](https://travis-ci.com/jackyaz/scMerlin)

## v2.2.1
### Updated on 2021-03-31
## v2.2.2
### Updated on 2021-04-05
## About
scMerlin allows you to easily control the most common services/scripts on your router.

Expand Down
4 changes: 2 additions & 2 deletions scmerlin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
### Start of script variables ###
readonly SCRIPT_NAME="scMerlin"
readonly SCRIPT_NAME_LOWER=$(echo $SCRIPT_NAME | tr 'A-Z' 'a-z' | sed 's/d//')
readonly SCM_VERSION="v2.2.1"
readonly SCRIPT_VERSION="v2.2.1"
readonly SCM_VERSION="v2.2.2"
readonly SCRIPT_VERSION="v2.2.2"
SCRIPT_BRANCH="master"
SCRIPT_REPO="https://raw.githubusercontent.com/jackyaz/$SCRIPT_NAME/$SCRIPT_BRANCH"
readonly SCRIPT_DIR="/jffs/addons/$SCRIPT_NAME_LOWER.d"
Expand Down
7 changes: 3 additions & 4 deletions scmerlin_www.asp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scmerlin_www.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ function BuildAddonPageTable(addonname,addonurl,loopindex){
addonpageshtml+='<tr>';
}

addonpageshtml+='<td class="addonpageurl"><a href="'+addonurl+'">'+addonname+'</a><br /><span class="addonpageurl">'+addonurl.substring(addonurl.lastIndexOf("/")+1)+'</span></td>';
addonpageshtml+='<td class="addonpageurl"><a href="'+addonurl.substring(addonurl.lastIndexOf("/")+1)+'">'+addonname+'</a><br /><span class="addonpageurl">'+addonurl.substring(addonurl.lastIndexOf("/")+1)+'</span></td>';
if(loopindex > 0 && (loopindex+1) % 4 == 0){
addonpageshtml+='</tr>';
}
Expand Down

0 comments on commit 5c6a2e3

Please sign in to comment.