Skip to content

Commit

Permalink
XSnow: update auto-updater
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Sep 13, 2024
1 parent 92c7775 commit 0a202ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/updates/XSnow.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

webVer=$(wget -qO- https://www.ratrabbit.nl/ratrabbit/xsnow/downloads/index.html | grep -A1 "Download source:" | tail -n 1 | sed 's/<p>//g ; s+</p>++g' | sed 's+"./../../../downloads/xsnow/xsnow-.*tar.gz">++g ; s+</a>++g' | grep -oP '^[^-]*\-\K[^*]+' | sed -n 's/.tar.gz//p')
webVer=$(wget -qO- https://www.ratrabbit.nl/ratrabbit/xsnow/downloads/index.html | grep -A1 "Current version:" | tail -n 1 | sed 's/<p>//g ; s+</p>++g' | sed 's+"./../../../downloads/xsnow/xsnow-.*tar.gz">++g ; s+</a>++g' | grep -oP '^[^-]*\-\K[^*]+' | sed -n 's/.tar.gz//p')
all_url="https://www.ratrabbit.nl/downloads/xsnow/xsnow-${webVer}.tar.gz"

source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh

0 comments on commit 0a202ca

Please sign in to comment.