From aa432e731bd557d939e4d30964512667c92c35d6 Mon Sep 17 00:00:00 2001 From: Ayideyia <150233177+Ayideyia@users.noreply.github.com> Date: Wed, 23 Oct 2024 21:08:26 +0800 Subject: [PATCH] ci: Hide the Dock icon on macOS. --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03f8abf8..7ff299da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,6 +68,13 @@ jobs: sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev + # Hide dock bar icon: macOS + - name: Update system and dependencies + if: runner.os == 'macOS' + run: | + go mod vendor + sed -i "" "s/\[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular\]/[NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory]/g" vendor/github.com/wailsapp/wails/v2/internal/frontend/desktop/darwin/AppDelegate.m + - name: Build Frontend run: cd frontend && pnpm build