diff --git a/patches/appdmg@0.6.6.patch b/patches/appdmg@0.6.6.patch new file mode 100644 index 00000000..f1524fe7 --- /dev/null +++ b/patches/appdmg@0.6.6.patch @@ -0,0 +1,13 @@ +diff --git a/lib/appdmg.js b/lib/appdmg.js +index xxxxxxx..xxxxxxx 100644 +--- a/lib/appdmg.js ++++ b/lib/appdmg.js +@@ -227,7 +227,7 @@ + if (err) return next(err) + + pipeline.addCleanupStep('unmount-temporary-image', 'Unmounting temporary image', function (next) { +- hdiutil.detach(temporaryMountPath, next) ++ hdiutil.detach(global.temporaryImagePath, next) + }) + + global.temporaryMountPath = temporaryMountPath diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c56cb4f1..51e81cc2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,6 +9,11 @@ overrides: node-abi: 4.14.0 '@types/minimatch': 3.0.5 +patchedDependencies: + appdmg@0.6.6: + hash: fed756979040c4154849025dbcebeb287af08ef4790b4ac34c837a0533c9a21e + path: patches/appdmg@0.6.6.patch + importers: .: @@ -1063,11 +1068,11 @@ packages: '@esbuild-kit/core-utils@3.3.2': resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==} - deprecated: 'Merged into tsx: https://tsx.is' + deprecated: 'Merged into tsx: https://tsx.hirok.io' '@esbuild-kit/esm-loader@2.6.5': resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==} - deprecated: 'Merged into tsx: https://tsx.is' + deprecated: 'Merged into tsx: https://tsx.hirok.io' '@esbuild/aix-ppc64@0.25.9': resolution: {integrity: sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==} @@ -10407,7 +10412,7 @@ snapshots: normalize-path: 3.0.0 picomatch: 2.3.1 - appdmg@0.6.6: + appdmg@0.6.6(patch_hash=fed756979040c4154849025dbcebeb287af08ef4790b4ac34c837a0533c9a21e): dependencies: async: 1.5.2 ds-store: 0.1.6 @@ -11267,7 +11272,7 @@ snapshots: debug: 4.4.1 minimist: 1.2.8 optionalDependencies: - appdmg: 0.6.6 + appdmg: 0.6.6(patch_hash=fed756979040c4154849025dbcebeb287af08ef4790b4ac34c837a0533c9a21e) transitivePeerDependencies: - supports-color optional: true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ed76e786..b2590814 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,3 +4,34 @@ packages: - "packages/**" - "!packages/**/whisper.cpp/**" - "!apps/www" + +overrides: + '@electron-forge/maker-dmg': 'https://registry.npmjs.org/@fellow/maker-dmg/-/maker-dmg-7.4.0.tgz' + node-abi: 4.14.0 + '@types/minimatch': '3.0.5' + +onlyBuiltDependencies: + - electron + - electron-winstaller + - '@amical/whisper-wrapper' + - drizzle-orm/libsql + - '@libsql' + - macos-alias + - fs-xattr + - onnxruntime-node + - jest-worker + +ignoredBuiltDependencies: + - '@tailwindcss/oxide' + - core-js-pure + - electron + - electron-winstaller + - esbuild + - keytar + - protobufjs + - sharp + - '@amical/whisper-wrapper' + - drizzle-orm/libsql + +patchedDependencies: + appdmg@0.6.6: patches/appdmg@0.6.6.patch