From b5f3acd581bb3053da3e56f72006f2ff2941a954 Mon Sep 17 00:00:00 2001 From: Bryan1029384756 <23323626+Bryan1029384756@users.noreply.github.com> Date: Tue, 10 Feb 2026 21:48:03 -0600 Subject: [PATCH] feat: Add Claude permissions configuration and a Gitea CI/CD workflow for building and releasing the application. --- .claude/settings.local.json | 3 ++- .gitea/workflows/release.yml | 25 ++++++++++++++++--------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index ee94f07..a4d3cee 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -15,7 +15,8 @@ "Bash(npx tsc:*)", "Bash(npx -y esbuild:*)", "WebFetch(domain:gist.github.com)", - "Bash(git ls-tree:*)" + "Bash(git ls-tree:*)", + "WebFetch(domain:github.com)" ] } } diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 8eb3e40..7722f82 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -7,20 +7,27 @@ on: jobs: build-and-release: runs-on: ubuntu-latest + container: electronuserland/builder:wine steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install Wine (for Windows cross-compile) + - name: Install required tools run: | - sudo dpkg --add-architecture i386 - sudo apt-get update - sudo apt-get install -y wine64 wine32 xvfb + apt-get update && apt-get install -y jq xvfb + + - name: Cache npm and Electron + uses: actions/cache@v4 + with: + path: | + ~/.npm + ~/.cache/electron + ~/.cache/electron-builder + Frontend/Electron/node_modules + node_modules + key: npm-electron-${{ hashFiles('package-lock.json', 'Frontend/Electron/package-lock.json') }} + restore-keys: | + npm-electron- - name: Install dependencies run: |