fix(extension): Firefox corrupt zip + duplicate uploads in CI
All checks were successful
Beta Release / beta (push) Successful in 1m23s

- Remove 'sidePanel' permission from Firefox build (Chrome-only MV3)
- Fix CI upload loop matching extension zips twice via dist/*.zip

💘 Generated with Crush

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
Augustin
2026-04-27 18:25:13 +02:00
parent 693b0e932e
commit 31b1de1b0d
3 changed files with 5 additions and 5 deletions

View File

@@ -169,7 +169,7 @@ jobs:
fi fi
echo "Release ID: ${RELEASE_ID}" echo "Release ID: ${RELEASE_ID}"
UPLOAD_URL="${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets" UPLOAD_URL="${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets"
for file in dist/*.tar.gz dist/*.zip dist/checksums.txt dist/muyue-extension-*.zip; do for file in dist/*.tar.gz dist/muyue-windows-*.zip dist/checksums.txt dist/muyue-extension-*.zip; do
filename=$(basename "$file") filename=$(basename "$file")
echo "Uploading ${filename}..." echo "Uploading ${filename}..."
curl -s -X POST "${UPLOAD_URL}" \ curl -s -X POST "${UPLOAD_URL}" \

View File

@@ -258,7 +258,7 @@ jobs:
fi fi
echo "Release ID: ${RELEASE_ID}" echo "Release ID: ${RELEASE_ID}"
UPLOAD_URL="${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets" UPLOAD_URL="${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets"
for file in dist/*.tar.gz dist/*.zip dist/checksums.txt dist/muyue-extension-*.zip; do for file in dist/*.tar.gz dist/muyue-windows-*.zip dist/checksums.txt dist/muyue-extension-*.zip; do
filename=$(basename "$file") filename=$(basename "$file")
echo "Uploading ${filename}..." echo "Uploading ${filename}..."
UPLOAD_RESP=$(curl -s -w "\n%{http_code}" -X POST "${UPLOAD_URL}" \ UPLOAD_RESP=$(curl -s -w "\n%{http_code}" -X POST "${UPLOAD_URL}" \

View File

@@ -5,14 +5,14 @@ export default defineConfig({
suppressWarnings: { suppressWarnings: {
firefoxDataCollection: true, firefoxDataCollection: true,
}, },
manifest: { manifest: ({ browser }) => ({
name: 'Muyue', name: 'Muyue',
description: 'AI-powered browser testing & automation — connected to your Muyue desktop app', description: 'AI-powered browser testing & automation — connected to your Muyue desktop app',
permissions: [ permissions: [
'storage', 'storage',
'activeTab', 'activeTab',
'tabs', 'tabs',
'sidePanel', ...(browser === 'chrome' ? ['sidePanel'] : []),
'scripting', 'scripting',
'notifications', 'notifications',
], ],
@@ -26,5 +26,5 @@ export default defineConfig({
side_panel: { side_panel: {
default_path: 'sidepanel.html', default_path: 'sidepanel.html',
}, },
}, }),
}); });