update links

This commit is contained in:
plebeius
2026-02-11 21:27:18 +08:00
parent df9278237a
commit 9c1879045d
10 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ SCRIPT="
cd ~
rm $FIVECHAN_HTML_NAME.zip
rm -fr $FIVECHAN_HTML_NAME
wget https://github.com/plebbit/5chan/releases/download/v$FIVECHAN_VERSION/$FIVECHAN_HTML_NAME.zip || exit
wget https://github.com/bitsocialhq/5chan/releases/download/v$FIVECHAN_VERSION/$FIVECHAN_HTML_NAME.zip || exit
# extract html
unzip $FIVECHAN_HTML_NAME.zip || exit
+1 -1
View File
@@ -49,7 +49,7 @@ if (remoteFiles.length) {
files = remoteFiles;
}
const linkTo = (file) => `https://github.com/plebbit/5chan/releases/download/v${version}/${file}`;
const linkTo = (file) => `https://github.com/bitsocialhq/5chan/releases/download/v${version}/${file}`;
const has = (s, sub) => s.toLowerCase().includes(sub);
const isArm = (s) => has(s, 'arm64') || has(s, 'aarch64');
const isX64 = (s) => has(s, 'x64') || has(s, 'x86_64') || !isArm(s);