mirror of
https://github.com/Vencord/Vesktop.git
synced 2026-11-20 00:51:15 -08:00
- Screenshare Picker: fix stream never starting on Windows & macOS due to using venmic without linux guard - make Vencord downloads atomic for increased resilience - `--repair`: exit instead of hanging when the download fails - fix relaunch & autostart on AppImage - show an error dialog with prompt to repair when startup fails - Updater: ensure only one Window is opened to avoid issues - update-aur: fix env var names, avoid printing the aur ssh key - use tighter permission request handlers to avoid granting frames broad permissions - prevent the main window from navigating away from Discord - only serve thumbnails over IPC when screenshare picker is open, so renderer can't screenshot system at will - fix Vesktop crashing if saved settings files contain invalid values - write settings atomically, debounce saving window bounds - Reset Vesktop: delete data on next start to avoid issues on Windows due to file locking - handle discord:// deep links while already running - Tray: guard against destroyed Tray Based on findings by Claude Opus 5.5
48 lines
1.0 KiB
Bash
48 lines
1.0 KiB
Bash
#!/usr/bin/bash
|
|
set -exuo pipefail
|
|
|
|
cd ~
|
|
|
|
install -d -m 0700 ~/.ssh
|
|
# don't print the key via xtrace
|
|
set +x
|
|
echo "$AUR_SSH_PRIVATE_KEY" > ~/.ssh/aur
|
|
set -x
|
|
chmod 0600 ~/.ssh/aur
|
|
cat > ~/.ssh/config <<'EOF'
|
|
Host aur.archlinux.org
|
|
User aur
|
|
IdentityFile ~/.ssh/aur
|
|
IdentitiesOnly yes
|
|
EOF
|
|
chmod 0600 ~/.ssh/config
|
|
ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
|
|
chmod 0600 ~/.ssh/known_hosts
|
|
|
|
git clone ssh://[email protected]/vesktop-bin.git aur
|
|
cd aur
|
|
|
|
export TERM=xterm # without this, pkgctl EXPLODES
|
|
pkgctl version upgrade
|
|
makepkg --printsrcinfo > .SRCINFO
|
|
|
|
makepkg --syncdeps --noconfirm
|
|
|
|
git add PKGBUILD .SRCINFO
|
|
|
|
if git diff --cached --quiet; then
|
|
echo "AUR package is already up to date"
|
|
exit 0
|
|
fi
|
|
|
|
if [[ "$EVENT_NAME" == workflow_dispatch ]]; then
|
|
echo "Skipping push for workflow dispatch"
|
|
exit 0
|
|
fi
|
|
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
|
|
git commit -m "Update vesktop-bin to $RELEASE_TAG"
|
|
git push
|