v0.1.2 universal release
This commit is contained in:
		
							parent
							
								
									e18edca08e
								
							
						
					
					
						commit
						454e67da4f
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -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);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user