Skip to content

Commit 2b289c0

Browse files
committed
Revert "docs: add download page for app branch binaries (#3435)"
This reverts commit 33e7db4.
1 parent 33e7db4 commit 2b289c0

3 files changed

Lines changed: 1 addition & 394 deletions

File tree

‎.github/workflows/push-event.yml‎

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -341,53 +341,6 @@ jobs:
341341
mv "$file" "pslab-$branch-${file#*-}"
342342
done
343343
344-
echo "Generating download page"
345-
346-
repo="${{ github.repository }}"
347-
raw_base="https://github.com/${repo}/raw/app"
348-
349-
{
350-
cat <<'EOF'
351-
<!DOCTYPE html>
352-
<html lang="en">
353-
<head>
354-
<meta charset="utf-8">
355-
<meta name="viewport" content="width=device-width, initial-scale=1">
356-
<title>PSLab App Downloads</title>
357-
<style>
358-
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; max-width: 720px; margin: 48px auto; padding: 0 20px; line-height: 1.5; color: #24292f; }
359-
h1 { margin-bottom: 8px; }
360-
p { color: #57606a; }
361-
ul { list-style: none; padding: 0; }
362-
li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #d0d7de; }
363-
a { color: #fff; background: #cf2b27; text-decoration: none; padding: 8px 14px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
364-
.name { font-weight: 600; word-break: break-all; }
365-
</style>
366-
</head>
367-
<body>
368-
<h1>PSLab App Downloads</h1>
369-
<p>Development builds. Each link starts a direct file download.</p>
370-
<ul>
371-
EOF
372-
for file in *; do
373-
[ -f "$file" ] || continue
374-
[ "$file" = "index.html" ] && continue
375-
case "$file" in
376-
*.apk|*.aab|*.ipa|*.exe|*.deb|*.rpm|*.dmg|*.zip) ;;
377-
*) continue ;;
378-
esac
379-
escaped_name=$(printf '%s' "$file" | sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/"/\&quot;/g')
380-
encoded_name=$(python3 -c 'import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1], safe=""))' "$file")
381-
printf ' <li><span class="name">%s</span><a href="%s/%s" download>Download</a></li>\n' \
382-
"$escaped_name" "$raw_base" "$encoded_name"
383-
done
384-
cat <<'EOF'
385-
</ul>
386-
</body>
387-
</html>
388-
EOF
389-
} > index.html
390-
391344
git checkout --orphan temporary
392345
git add --all .
393346

‎README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ This repository holds the Android App for performing experiments with [PSLab](ht
1515

1616
The PSLab app is available for **Android**, **iOS**, **Windows**, **macOS**, **Linux**, and **Web**.
1717

18-
- Store listings and install guides: [PSLab Application documentation](https://docs.pslab.io/application/Readme.html)
19-
- Development builds (direct downloads): [Download page](https://github.com/fossasia/pslab-app/raw/refs/heads/app/index.html)
18+
For download links and installation instructions for all platforms, see the [PSLab Application documentation](https://docs.pslab.io/application/Readme.html).
2019

2120
Sign up for the latest updates and test new features early by joining our [beta program](https://play.google.com/apps/testing/io.pslab).
2221

0 commit comments

Comments
 (0)