diff --git a/.github/workflows/meta.yml b/.github/workflows/meta.yml
new file mode 100644
index 0000000..5287c23
--- /dev/null
+++ b/.github/workflows/meta.yml
@@ -0,0 +1,38 @@
+name: Update metainfo on release
+
+on:
+ release:
+ types:
+ - published
+ workflow_dispatch:
+
+jobs:
+ update:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
+
+ - name: Use Node.js 18.18.2
+ uses: actions/setup-node@v3
+ with:
+ node-version: 18.18.2
+
+ - name: Install dependencies
+ run: pnpm i
+
+ - name: Update metainfo
+ run: pnpm updateMeta
+
+ - name: Commit and merge in changes
+ run: |
+ git config user.name "github-actions[bot]"
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
+ git checkout -b ci/meta-update
+ git add meta/dev.vencord.Vesktop.metainfo.xml
+ git commit -m "Insert release changes for ${{ github.event.release.tag_name }}"
+ git push origin ci/meta-update
+ gh pr create -B main -H ci/meta-update -t "Metainfo for ${{ github.event.release.tag_name }}" -b "This PR updates the metainfo for release ${{ github.event.release.tag_name }}. @lewisakura @Vendicated"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 459edac..6054a10 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,17 +12,32 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
+ include:
+ - os: macos-latest
+ platform: mac
+ - os: ubuntu-latest
+ platform: linux
+ - os: windows-latest
+ platform: windows
steps:
- - name: Check out Git repository
- uses: actions/checkout@v3
+ - uses: actions/checkout@v3
+ - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
- - uses: actions/setup-node@v3
+ - name: Use Node.js 18.18.2
+ uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version: 18.18.2
+ cache: "pnpm"
+
+ - name: Install dependencies
+ run: pnpm install --frozen-lockfile
+
+ - name: Build
+ run: pnpm build
- name: Run Electron Builder
- uses: samuelmeuli/action-electron-builder@e4b12cd06ddf023422f1ac4e39632bd76f6e6928
- with:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- RELEASE: true
+ run: |
+ pnpm electron-builder --${{ matrix.platform }} --publish always
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index efd7fff..6d88280 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,10 +14,10 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json
- - name: Use Node.js 18
+ - name: Use Node.js 18.18.2
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version: 18.18.2
cache: "pnpm"
- name: Install dependencies
diff --git a/.vscode/settings.json b/.vscode/settings.json
index e729f08..1a277b4 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,25 +1,25 @@
-{
- "editor.formatOnSave": true,
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": true
- },
- "[typescript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[javascript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[typescriptreact]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[javascriptreact]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[json]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[jsonc]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "cSpell.words": ["Vesktop"]
-}
+{
+ "editor.formatOnSave": true,
+ "editor.codeActionsOnSave": {
+ "source.fixAll.eslint": "explicit"
+ },
+ "[typescript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[javascript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[typescriptreact]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[javascriptreact]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[json]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[jsonc]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "cSpell.words": ["Vesktop"]
+}
diff --git a/README.md b/README.md
index 5d2ae0e..c63c163 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,9 @@ Vesktop is a cross platform desktop app aiming to give you a snappier Discord ex
Bug reports, feature requests & contributions are highly appreciated!!
-
+
+
+
## Installing
@@ -21,6 +23,8 @@ Download and run Vesktop-VERSION.dmg from [releases](https://github.com/Vencord/
### Linux
+[](https://flathub.org/apps/dev.vencord.Vesktop)
+
#### Arch based
Install [vencord-desktop-git](https://aur.archlinux.org/packages/vencord-desktop-git) from the AUR using your favourite AUR helper, for example [yay](https://github.com/Jguer/yay)
@@ -37,7 +41,7 @@ Download Vesktop-VERSION.rpm from [releases](https://github.com/Vencord/Vesktop/
Either download Vesktop-VERSION.AppImage and just run it directly or grab Vesktop-VERSION.tar.gz, extract it somewhere and run `vencorddesktop`.
-A flatpak is planned, if you want packages for other repos, feel free to create them and they can be linked as unofficial here
+If other packages are created, feel free to open an issue and we'll link them here.
## Building
@@ -64,7 +68,3 @@ pnpm package:dir
## Motivation
The official Discord Desktop app is very resource heavy compared to Discord in your Browser. There are multiple alternative Electron apps (ArmCord, WebCord, probably more) that prove how much of a performance gain you can gain by using a custom app. ArmCord already supports Vencord but makes it pretty limited for us. Making our own standalone app gives us much more control.
-
-This is just a random idea I (V) got, and might not actually ever be finished heh
-
-Gluon also seems very attractive for this because of how lightweight it can be and because unlike electron, streaming just works out of the box like in any chromium browser. However, at the time of writing this, it still lacks some features necessary to make it work (synchronous ipc or a way to get node process variables into the onLoad function for instance, plus onLoad seems to load a little too late sometimes)
diff --git a/meta/dev.vencord.Vesktop.metainfo.xml b/meta/dev.vencord.Vesktop.metainfo.xml
new file mode 100644
index 0000000..d897226
--- /dev/null
+++ b/meta/dev.vencord.Vesktop.metainfo.xml
@@ -0,0 +1,167 @@
+
+
+
+ dev.vencord.Vesktop
+ Vesktop
+ Snappier Discord app with Vencord
+ Vencord Contributors
+ dev.vencord.Vesktop.desktop
+ CC0-1.0
+ GPL-3.0
+ Vencord
+
+
Vesktop is a cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed.
+
Vesktop comes bundled with Venmic, a purpose-built library to provide functioning audio screenshare.