Code signing for macOS (#471)

* rewrite PCM interface
use public methods, hide internal implementation
use ifft for smoothing

* AutoLeveler

* remove slow std::transform()

* faster smooth algorithm

* perf - quick check for no equations

* adjustments for wavecode.bspectrum=1

* cleanup use of BeatDetect.beatSensitivity

* comments

* more comments

* enum CHANNEL

* fix windows build

* fix windows build

* wip

* macOS installer signing works finally

* version bump

Co-authored-by: Matthew Bellew <matthewb@labkey.com>
This commit is contained in:
Mischa Spiegelmock
2021-02-23 22:11:57 +02:00
committed by GitHub
parent e985a49fd3
commit 23027108b5
12 changed files with 166 additions and 57 deletions

24
mac/Distribution.xml Normal file
View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="1">
<title>projectM Visualizer</title>
<!-- <background file="background.png" alignment="center" mime-type="image/png" scaling="tofit" />-->
<pkg-ref id="net.projectm.music-plugin"/>
<pkg-ref id="net.projectm.sdl"/>
<options customize="never" require-scripts="false" hostArchitectures="x86_64,arm64"/>
<choices-outline>
<line choice="default">
<line choice="net.projectm.music-plugin"/>
<line choice="net.projectm.sdl"/>
</line>
</choices-outline>
<choice id="default"/>
<choice id="net.projectm.music-plugin" visible="false">
<pkg-ref id="net.projectm.music-plugin"/>
</choice>
<pkg-ref id="net.projectm.music-plugin" onConclusion="none">ProjectM-MusicPlugin.pkg</pkg-ref>
<choice id="net.projectm.sdl" visible="false">
<pkg-ref id="net.projectm.sdl"/>
</choice>
<pkg-ref id="net.projectm.sdl" onConclusion="none">ProjectM-SDL.pkg</pkg-ref>
</installer-gui-script>

12
mac/notarize.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
DIR="$( dirname "$_" )"
xcrun altool --notarize-app --primary-bundle-id "net.projectm.installer" \
--asc-provider 'MischaSpiegelmock10100337' \
--username thadwooster@gmail.com --password @keychain:AC_PASSWORD \
--file "$DIR/../ProjectM.pkg"
# sleep 60
# xcrun altool --notarization-history 0 $AUTH
# xcrun stapler staple "$DIR/../ProjectM.pkg"