Skip to content

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsounet authored Jul 1, 2024
2 parents f30cb26 + 3d2b2e0 commit 99b1612
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 141 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/esbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
name: Run esbuild
runs-on: ubuntu-latest
steps:
- name: "Use Node.js v20.x (latest)"
uses: actions/setup-node@v4
with:
node-version: "20.x"
check-latest: true

- name: Checkout code
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
name: Run eslint scanning
runs-on: ubuntu-latest
steps:
- name: "Use Node.js v20.x (latest)"
uses: actions/setup-node@v4
with:
node-version: "20.x"
check-latest: true

- name: Checkout code
uses: actions/checkout@v4

Expand Down
13 changes: 2 additions & 11 deletions installer/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@

rebuild=0
minify=0
bugsounet=0

while getopts ":rmb" option; do
while getopts ":rm" option; do
case $option in
r) # -r option for magicmirror rebuild
rebuild=1;;
m) # -m option for minify all sources
minify=1;;
b) # -b option display bugsounet credit
bugsounet=1;;
esac
done

Expand Down Expand Up @@ -51,7 +48,7 @@ cd ..

if [[ $rebuild == 1 ]]; then
Installer_info "Rebuild MagicMirror..."
MagicMirror-rebuild 2>/dev/null || {
electron-rebuild 1>/dev/null || {
Installer_error "Rebuild Failed"
exit 255
}
Expand All @@ -65,10 +62,4 @@ echo
# module name
Installer_module="$(grep -Eo '\"name\"[^,]*' ./package.json | grep -Eo '[^:]*$' | awk -F'\"' '{print $2}')"

# the end...
if [[ $bugsounet == 1 ]]; then
Installer_warning "Support is now moved in a dedicated Server: https://forum.bugsounet.fr"
Installer_warning "@bugsounet"
echo
fi
Installer_success "$Installer_module is now installed !"
Loading

0 comments on commit 99b1612

Please sign in to comment.