mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update links
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user