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
 | 
					# Additional resources to be copied into the app's resources directory
 | 
				
			||||||
extraResources:
 | 
					extraResources:
 | 
				
			||||||
    - from: src/assets/SystemAudioDump
 | 
					 | 
				
			||||||
      to: SystemAudioDump
 | 
					 | 
				
			||||||
    - from: pickleglass_web/out
 | 
					    - from: pickleglass_web/out
 | 
				
			||||||
      to: out
 | 
					      to: out
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					asarUnpack:
 | 
				
			||||||
 | 
					    - "src/assets/SystemAudioDump"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# macOS specific configuration
 | 
					# macOS specific configuration
 | 
				
			||||||
mac:
 | 
					mac:
 | 
				
			||||||
    # The application category type
 | 
					    # The application category type
 | 
				
			||||||
@ -39,13 +40,8 @@ mac:
 | 
				
			|||||||
    hardenedRuntime: true
 | 
					    hardenedRuntime: true
 | 
				
			||||||
    entitlements: entitlements.plist
 | 
					    entitlements: entitlements.plist
 | 
				
			||||||
    entitlementsInherit: entitlements.plist
 | 
					    entitlementsInherit: entitlements.plist
 | 
				
			||||||
    notarize: true
 | 
					 | 
				
			||||||
    target:
 | 
					    target:
 | 
				
			||||||
      - target: dmg
 | 
					      - target: dmg
 | 
				
			||||||
        arch:
 | 
					        arch: universal
 | 
				
			||||||
          - x64
 | 
					 | 
				
			||||||
          - arm64
 | 
					 | 
				
			||||||
      - target: zip
 | 
					      - target: zip
 | 
				
			||||||
        arch:
 | 
					        arch: universal
 | 
				
			||||||
          - x64
 | 
					 | 
				
			||||||
          - arm64
 | 
					 | 
				
			||||||
 | 
				
			|||||||
@ -766,7 +766,7 @@ async function startMacOSAudioCapture() {
 | 
				
			|||||||
    const { app } = require('electron');
 | 
					    const { app } = require('electron');
 | 
				
			||||||
    const path = require('path');
 | 
					    const path = require('path');
 | 
				
			||||||
    const systemAudioPath = app.isPackaged
 | 
					    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');
 | 
					        : path.join(app.getAppPath(), 'src', 'assets', 'SystemAudioDump');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    console.log('SystemAudioDump path:', systemAudioPath);
 | 
					    console.log('SystemAudioDump path:', systemAudioPath);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user