v0.1.2 universal release

This commit is contained in:
samtiz 2025-07-06 01:50:02 +09:00
parent e18edca08e
commit 454e67da4f
2 changed files with 6 additions and 10 deletions

View File

@ -23,11 +23,12 @@ files:
# Additional resources to be copied into the app's resources directory
extraResources:
- from: src/assets/SystemAudioDump
to: SystemAudioDump
- from: pickleglass_web/out
to: out
asarUnpack:
- "src/assets/SystemAudioDump"
# macOS specific configuration
mac:
# The application category type
@ -39,13 +40,8 @@ mac:
hardenedRuntime: true
entitlements: entitlements.plist
entitlementsInherit: entitlements.plist
notarize: true
target:
- target: dmg
arch:
- x64
- arm64
arch: universal
- target: zip
arch:
- x64
- arm64
arch: universal

View File

@ -766,7 +766,7 @@ async function startMacOSAudioCapture() {
const { app } = require('electron');
const path = require('path');
const systemAudioPath = app.isPackaged
? path.join(process.resourcesPath, 'SystemAudioDump')
? path.join(process.resourcesPath, 'app.asar.unpacked', 'src', 'assets', 'SystemAudioDump')
: path.join(app.getAppPath(), 'src', 'assets', 'SystemAudioDump');
console.log('SystemAudioDump path:', systemAudioPath);