File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -9,31 +9,32 @@ const __filename = fileURLToPath(import.meta.url);
99
1010async 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 ) ;
You can’t perform that action at this time.
0 commit comments