Skip to content

Commit

Permalink
release v0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeful committed Oct 27, 2020
1 parent 349fc64 commit 60640c6
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 14 deletions.
10 changes: 10 additions & 0 deletions native/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ platform :osx, '10.12'
workspace 'eqMac.xcworkspace'
use_frameworks!

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.12'
end
end
end

# ignore all warnings from all pods
inhibit_all_warnings!

Expand Down Expand Up @@ -34,3 +42,5 @@ target 'eqMac' do
pod 'Zip', '~> 1.1'
shared_pods
end


2 changes: 1 addition & 1 deletion native/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ SPEC CHECKSUMS:
WebViewJavascriptBridge: 7f5bc4d3581e672e8f32bd0f812d54bc69bb8e29
Zip: 8877eede3dda76bcac281225c20e71c25270774c

PODFILE CHECKSUM: 2cbcc04b4e48bbf45f935ec051c2a1bef52d85cf
PODFILE CHECKSUM: a3ec692017854f820d74ee97fb5741617978a947

COCOAPODS: 1.9.3
6 changes: 3 additions & 3 deletions native/app/Embedded/eqMac.driver/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12A7300</string>
<string>12A7403</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
Expand All @@ -55,9 +55,9 @@
<key>DTSDKName</key>
<string>macosx10.15</string>
<key>DTXcode</key>
<string>1201</string>
<string>1210</string>
<key>DTXcodeBuild</key>
<string>12A7300</string>
<string>12A7403</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>NSHumanReadableCopyright</key>
Expand Down
8 changes: 4 additions & 4 deletions native/app/eqMac.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 0.3.5;
CURRENT_PROJECT_VERSION = 0.3.6;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = JZA6C97KJA;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -1085,7 +1085,7 @@
"$(PROJECT_DIR)/Source/Vendor",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = v0.3.5;
MARKETING_VERSION = v0.3.6;
PRODUCT_BUNDLE_IDENTIFIER = com.bitgapp.eqmac;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1109,7 +1109,7 @@
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 0.3.5;
CURRENT_PROJECT_VERSION = 0.3.6;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = JZA6C97KJA;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -1146,7 +1146,7 @@
"$(PROJECT_DIR)/Source/Vendor",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = v0.3.5;
MARKETING_VERSION = v0.3.6;
PRODUCT_BUNDLE_IDENTIFIER = com.bitgapp.eqmac;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
31 changes: 30 additions & 1 deletion native/driver/Scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,35 @@ if [ "${CONFIGURATION}" = "Debug" ]; then
# Install the new driver
sudo -A cp -f -r "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME" /Library/Audio/Plug-Ins/HAL/
# Restart CoreAudio
sudo -A launchctl kickstart -kp system/com.apple.audio.coreaudiod
coreaudiod_plist="/System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist"
(sudo -A launchctl kickstart -k system/com.apple.audio.coreaudiod &>/dev/null || \
sudo -A launchctl kill SIGTERM system/com.apple.audio.coreaudiod &>/dev/null || \
sudo -A launchctl kill TERM system/com.apple.audio.coreaudiod &>/dev/null || \
sudo -A launchctl kill 15 system/com.apple.audio.coreaudiod &>/dev/null || \
sudo -A launchctl kill -15 system/com.apple.audio.coreaudiod &>/dev/null || \
(sudo -A launchctl unload "$coreaudiod_plist" &>/dev/null && \
sudo -A launchctl load "$coreaudiod_plist" &>/dev/null) || \
sudo -A killall coreaudiod &>/dev/null)

sleep 5

# Wait until coreaudiod has restarted and device is ready to use.
retries=5
while [[ $retries -gt 0 ]]; do
if ! system_profiler SPAudioDataType | grep "eqMac:" >/dev/null 2>&1; then
retries=$((retries - 1))
if [[ $retries -gt 0 ]]; then
echo "Device not ready yet, waiting..."
sleep 3
else
echo "ERROR: Device did not become active"
exit 1
fi
else
retries=0
fi
done
echo "Device became active"

fi

6 changes: 5 additions & 1 deletion native/installer/introduction.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
You will be guided through the steps necessary to install eqMac.

⚠️ WARNING ⚠️
YOU MIGHT BE ASKED TO RESTART YOUR COMPUTER
It is highly recommended you allow permissions to “SystemUIServer.app“ when asked,
it is needed to correctly guide you through the installation process!

⚠️ WARNING ⚠️
YOU MIGHT ALSO BE ASKED TO RESTART YOUR COMPUTER
after the installation has finished, so please save any work progress you might have!
1 change: 1 addition & 0 deletions native/installer/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ EOT
fi

open /Applications/eqMac.app
sleep 2
## Launch the app 2nd time to open the window
open /Applications/eqMac.app

3 changes: 3 additions & 0 deletions native/update/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# eqMac Changelog

# v0.3.6
* Fixed Dependency issues breaking the app from running on macOS version less than 10.15

# v0.3.5
* Improvements to the Audio pipeline
* Minor bug fixes to installation process
Expand Down
14 changes: 14 additions & 0 deletions native/update/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
#!/bin/sh

if [ -z "$GCLOUD_ACCOUNT" ]; then
echo "Need to set GCLOUD_ACCOUNT"
exit 0
fi

if [ -z "$GCLOUD_PROJECT" ]; then
echo "Need to set GCLOUD_PROJECT"
exit 0
fi

gcloud config set account $GCLOUD_ACCOUNT
gcloud config set project $GCLOUD_PROJECT

gsutil -m -h "Cache-Control:no-cache, max-age=0" cp -z js,css,html -r ./* gs://update.eqmac.app
2 changes: 2 additions & 0 deletions native/update/update.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<h1>eqMac Changelog</h1>
<h1>v0.3.6</h1>
<ul><li>Fixed Dependency issues breaking the app from running on macOS version less than 10.15</li></ul>
<h1>v0.3.5</h1>
<ul><li>Improvements to the Audio pipeline</li><li>Minor bug fixes to installation process</li></ul>
<h1>v0.3.4</h1>
Expand Down
8 changes: 5 additions & 3 deletions native/update/update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
<channel>
<title>eqMac</title>
<item>
<title>v0.3.5</title>
<pubDate>Sun, 25 Oct 2020 21:01:27 +0100</pubDate>
<title>v0.3.6</title>
<pubDate>Wed, 28 Oct 2020 01:22:27 +0100</pubDate>
<description><![CDATA[
<h1>eqMac Changelog</h1>
<h1>v0.3.6</h1>
<ul><li>Fixed Dependency issues breaking the app from running on macOS version less than 10.15</li></ul>
<h1>v0.3.5</h1>
<ul><li>Improvements to the Audio pipeline</li><li>Minor bug fixes to installation process</li></ul>
<h1>v0.3.4</h1>
Expand All @@ -29,7 +31,7 @@
<ul><li>Initial release of eqMac in beta</li></ul>
]]></description>
<sparkle:minimumSystemVersion>10.12</sparkle:minimumSystemVersion>
<enclosure url="https://update.eqmac.app/eqMac.zip" sparkle:version="0.3.5" sparkle:shortVersionString="v0.3.5" type="application/octet-stream" sparkle:edSignature="ZTYRBG3O5s4xcVJuy6psnNqrbEmfzyRMHEMPQaW/FFjSspgh1vxooc/tlW0in7lK5uK757MenOqO/rJ6FOMIBw==" length="12162250"/>
<enclosure url="https://update.eqmac.app/eqMac.zip" sparkle:version="0.3.6" sparkle:shortVersionString="v0.3.6" type="application/octet-stream" sparkle:edSignature="k4szMDFuwD17PdVdVJBsD+WKqNijxdMfQyob7FHnW6pTQMbXHopynxjt46JHs/hPu7lNpVWekRRSykJWejv4DA==" length="12043135"/>
</item>
</channel>
</rss>
2 changes: 1 addition & 1 deletion site/src/app/services/github.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class GithubService {
async getLatestDownloadUrl () {
const release = await this.getLatestRelease()
const { assets } = release
const binary = assets.find(a => a.name.includes('.dmg'))
const binary = assets.find(a => a.name.includes('.pkg'))
const downloadUrl = binary.browser_download_url
return downloadUrl
}
Expand Down

0 comments on commit 60640c6

Please sign in to comment.