Skip to content

Commit 66e2e93

Browse files
committed
Update firefox package
1 parent 34bd873 commit 66e2e93

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

scripts/package-firefox-xpi.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,32 @@ const __filename = fileURLToPath(import.meta.url);
99

1010
async function createFirefoxXPI() {
1111
console.log('Starting XPI generation...');
12-
12+
1313
// First build Firefox structure
1414
execSync('node scripts/build-firefox.js', { stdio: 'inherit' });
15-
15+
1616
// Create XPI with web-ext
1717
const webExt = (await import('web-ext')).default;
18-
18+
1919
try {
2020
await webExt.cmd.build({
2121
sourceDir: 'build-firefox',
2222
artifactsDir: '.',
2323
filename: 'blog-link-analyzer-firefox-v1.1.1.xpi',
24-
overwriteDest: true
24+
overwriteDest: true,
2525
});
26-
27-
console.log('✅ XPI package created: blog-link-analyzer-firefox-v1.1.1.xpi');
28-
26+
27+
console.log(
28+
'✅ XPI package created: blog-link-analyzer-firefox-v1.1.1.xpi'
29+
);
30+
2931
// Get file size
30-
const stats = fs.statSync('blog-link-analyzer-firefox-v1.1.0.xpi');
32+
const stats = fs.statSync('blog-link-analyzer-firefox-v1.1.1.xpi');
3133
console.log(`📦 Package size: ${stats.size} bytes`);
32-
3334
} catch (error) {
3435
console.error('❌ XPI generation failed:', error.message);
3536
process.exit(1);
3637
}
3738
}
3839

39-
createFirefoxXPI().catch(console.error);
40+
createFirefoxXPI().catch(console.error);

0 commit comments

Comments
 (0)