From db76f111c826730f2596c9331434f0e2b2a2f423 Mon Sep 17 00:00:00 2001 From: Sofia Lima Date: Sun, 9 Apr 2023 19:36:05 +0000 Subject: [PATCH 1/3] add workflow for updating AUR package (#6) --- .github/workflows/release.yml | 14 ++++++++++++++ scripts/aur_bump.sh | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100755 scripts/aur_bump.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0089002..4742eec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,3 +26,17 @@ jobs: with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} RELEASE: true + + - name: Update AUR package + if: ${{ matrix.os == 'ubuntu-latest' }} + run: | + sudo apt install makepkg + + echo $SSH_KEY > ~/.ssh/aur + echo $SSH_PUB_KEY > ~/.ssh/aur.pub + export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur" + + ./scripts/aur_bump.sh + with: + SSH_KEY: ${{ secrets.AUR_SSH_KEY }} + SSH_PUB_KEY: ${{ secrets.AUR_SSH_PUB_KEY }} diff --git a/scripts/aur_bump.sh b/scripts/aur_bump.sh new file mode 100755 index 0000000..b18c21b --- /dev/null +++ b/scripts/aur_bump.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +VERSION=$(git describe --tags --abbrev=0 | tr -d 'v') +SHASUM=$(sha256sum "dist/VencordDesktop-$VERSION.tar.gz" | awk '{ print $1 }') + +git clone ssh://aur@aur.archlinux.org/vencord-desktop-bin.git aurpkg + +cd aurpkg + +sed -i "s/^pkgver=.*$/pkgver=$VERSION/" PKGBUILD +sed -i "s/^sha256sums=('.*'/sha256sums=('$SHASUM'/" PKGBUILD +makepkg --printsrcinfo > .SRCINFO + +git commit -a -m "Bump version to $VERSION" +git push + +cd .. +rm -rf aurpkg From ca376d35abac7ae9d2ec6593a2f9adc956b3d67c Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sun, 9 Apr 2023 22:29:59 +0200 Subject: [PATCH 2/3] Important splash screen fix --- static/splash.html | 63 ++++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 22 deletions(-) diff --git a/static/splash.html b/static/splash.html index 3dd0701..3899100 100644 --- a/static/splash.html +++ b/static/splash.html @@ -1,29 +1,48 @@ - + .wrapper { + box-sizing: border-box; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background-color: hsl(223 6.7% 20.6%); + border-radius: 8px; + border: 1px solid hsl(220 6.5% 18%); + } + + p { + color: rgb(219, 222, 225); + text-align: center; + } + + img { + width: 6em; + height: 6em; + } + -
-

Loading...

-
+
+ shiggy +

Loading Vencord Desktop...

+
From a4954570b627e5010fee64713b89e73f66a6bb93 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sun, 9 Apr 2023 22:31:17 +0200 Subject: [PATCH 3/3] smaller version --- static/splash.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/splash.html b/static/splash.html index 3899100..f136584 100644 --- a/static/splash.html +++ b/static/splash.html @@ -39,7 +39,7 @@
shiggy