From 53a37864374c6f5214b3c49e1b11f8696e0eae3f Mon Sep 17 00:00:00 2001 From: Guillem Poy Date: Sat, 7 Mar 2026 10:38:13 +0100 Subject: [PATCH 1/4] Add winget publishing automation and installation instructions Add GitHub Actions workflow to automatically publish new releases to winget-pkgs, and add winget install command to the Windows section of the README. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/winget-publish.yml | 16 ++++++++++++++++ README.md | 8 ++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/winget-publish.yml diff --git a/.github/workflows/winget-publish.yml b/.github/workflows/winget-publish.yml new file mode 100644 index 00000000000..f844fd409b0 --- /dev/null +++ b/.github/workflows/winget-publish.yml @@ -0,0 +1,16 @@ +name: Publish to winget + +on: + release: + types: [released] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Publish to winget + uses: vedantmgoyal9/winget-releaser@v2 + with: + identifier: polrivero.GitHubDesktopPlus + installers-regex: '\.exe$' + token: ${{ secrets.WINGET_TOKEN }} diff --git a/README.md b/README.md index a6735784929..5ab64dbef09 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,14 @@ chmod +x GitHub-Desktop-Plus-*-linux-*.AppImage
Click to expand +#### Using winget + +```powershell +winget install polrivero.GitHubDesktopPlus +``` + +#### Manual download + Download and execute the installer from the [releases page](https://github.com/pol-rivero/github-desktop-plus/releases/latest). | | **64-bit x86** | **64-bit ARM** | From 4ebd64ad9429bbe678b8fdfad4550e265ea3cb17 Mon Sep 17 00:00:00 2001 From: Guillem Poy Date: Sat, 7 Mar 2026 10:49:20 +0100 Subject: [PATCH 2/4] Restrict GITHUB_TOKEN permissions in winget workflow The workflow only uses a custom PAT (WINGET_TOKEN), so the default GITHUB_TOKEN needs no permissions. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/winget-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/winget-publish.yml b/.github/workflows/winget-publish.yml index f844fd409b0..191d1c41fa1 100644 --- a/.github/workflows/winget-publish.yml +++ b/.github/workflows/winget-publish.yml @@ -4,6 +4,8 @@ on: release: types: [released] +permissions: {} + jobs: publish: runs-on: ubuntu-latest From cff52f55a975c5724175b1e3cd48a8c9d1c90157 Mon Sep 17 00:00:00 2001 From: Guillem Poy <11029629+guplem@users.noreply.github.com> Date: Tue, 10 Mar 2026 09:18:26 +0100 Subject: [PATCH 3/4] Add winget upgrade note to README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5ab64dbef09..e69d14ab04b 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,8 @@ chmod +x GitHub-Desktop-Plus-*-linux-*.AppImage winget install polrivero.GitHubDesktopPlus ``` +To keep the app up to date, run `winget upgrade --all` periodically. + #### Manual download Download and execute the installer from the [releases page](https://github.com/pol-rivero/github-desktop-plus/releases/latest). From 28bbc75fd87455332735b1549861462a4fba35ea Mon Sep 17 00:00:00 2001 From: Guillem Poy <11029629+guplem@users.noreply.github.com> Date: Tue, 10 Mar 2026 09:19:43 +0100 Subject: [PATCH 4/4] Improve winget upgrade note in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e69d14ab04b..f05b79bf57f 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ chmod +x GitHub-Desktop-Plus-*-linux-*.AppImage winget install polrivero.GitHubDesktopPlus ``` -To keep the app up to date, run `winget upgrade --all` periodically. +To update, run `winget upgrade polrivero.GitHubDesktopPlus` or `winget upgrade --all` to update all your winget packages. #### Manual download