@@ -31,20 +31,20 @@ module.exports = function (grunt) {
3131 let ignoreFlags ;
3232 try {
3333 ignoreFlags = formatIgnoreList ( [
34- { dotfiles : true } ,
35- { dotdirs : true } ,
36- { path : 'build/resources' } ,
37- { path : 'dist' } ,
38- { path : 'doc' } ,
39- { path : 'docs' } ,
40- { path : 'grunt' } ,
41- { path : 'profiles' } ,
42- { path : 'src' } ,
43- { path : 'Gruntfile.js' , isFile : true } ,
44- { path : 'package.lock' , isFile : true } ,
45- { path : 'README.md' , isFile : true } ,
46- { path : 'secrets.gpg' , isFile : true } ,
47- { path : 'tsconfig.json' , isFile : true }
34+ { dotfiles : true } ,
35+ { dotdirs : true } ,
36+ { path : 'build/resources' } ,
37+ { path : 'dist' } ,
38+ { path : 'doc' } ,
39+ { path : 'docs' } ,
40+ { path : 'grunt' } ,
41+ { path : 'profiles' } ,
42+ { path : 'src' } ,
43+ { path : 'Gruntfile.js' , isFile : true } ,
44+ { path : 'package.lock' , isFile : true } ,
45+ { path : 'README.md' , isFile : true } ,
46+ { path : 'secrets.gpg' , isFile : true } ,
47+ { path : 'tsconfig.json' , isFile : true }
4848 ] ) ;
4949 } catch ( err ) {
5050 grunt . fail . fatal ( err ) ;
@@ -53,9 +53,8 @@ module.exports = function (grunt) {
5353
5454 const flags = [
5555 '--out="./dist/pack"' ,
56- '--arch=x64' ,
5756 `--electronVersion=${ version } ` ,
58- '--asar.unpack="**/@duckdb /**/*.{ node,dylib,so,dll} "' ,
57+ '--asar.unpack="**/@tursodatabase /**/*.node"' ,
5958 '--prune' ,
6059 '--overwrite' ,
6160 '--version-string.ProductName="Firebot v5"' ,
@@ -76,13 +75,13 @@ module.exports = function (grunt) {
7675 grunt . config . merge ( {
7776 shell : {
7877 packwin64 : {
79- command : `npx --no-install @electron/packager . Firebot --platform=win32 ${ flags } --app-version=${ windowsAppVersion } `
78+ command : `npx --no-install @electron/packager . Firebot --platform=win32 --arch=x64 ${ flags } --app-version=${ windowsAppVersion } `
8079 } ,
8180 packdarwin : {
82- command : `npx --no-install @electron/packager . Firebot --platform=darwin ${ flags } --arch=arm64 --extend-info="extra.plist" --extra-resource="./src/resources/firebot-setup-file-icon.icns"`
81+ command : `npx --no-install @electron/packager . Firebot --platform=darwin --arch=arm64 ${ flags } --extend-info="extra.plist" --extra-resource="./src/resources/firebot-setup-file-icon.icns"`
8382 } ,
8483 packlinux : {
85- command : `npx --no-install @electron/packager . Firebot --platform=linux ${ flags } `
84+ command : `npx --no-install @electron/packager . Firebot --platform=linux --arch=x64 ${ flags } `
8685 }
8786 }
8887 } ) ;
0 commit comments