Skip to content

Commit 454e67d

Browse files
committed
v0.1.2 universal release
1 parent e18edca commit 454e67d

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

electron-builder.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ files:
2323

2424
# Additional resources to be copied into the app's resources directory
2525
extraResources:
26-
- from: src/assets/SystemAudioDump
27-
to: SystemAudioDump
2826
- from: pickleglass_web/out
2927
to: out
3028

29+
asarUnpack:
30+
- "src/assets/SystemAudioDump"
31+
3132
# macOS specific configuration
3233
mac:
3334
# The application category type
@@ -39,13 +40,8 @@ mac:
3940
hardenedRuntime: true
4041
entitlements: entitlements.plist
4142
entitlementsInherit: entitlements.plist
42-
notarize: true
4343
target:
4444
- target: dmg
45-
arch:
46-
- x64
47-
- arm64
45+
arch: universal
4846
- target: zip
49-
arch:
50-
- x64
51-
- arm64
47+
arch: universal

src/features/listen/liveSummaryService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ async function startMacOSAudioCapture() {
766766
const { app } = require('electron');
767767
const path = require('path');
768768
const systemAudioPath = app.isPackaged
769-
? path.join(process.resourcesPath, 'SystemAudioDump')
769+
? path.join(process.resourcesPath, 'app.asar.unpacked', 'src', 'assets', 'SystemAudioDump')
770770
: path.join(app.getAppPath(), 'src', 'assets', 'SystemAudioDump');
771771

772772
console.log('SystemAudioDump path:', systemAudioPath);

0 commit comments

Comments
 (0)