From a5d21c2b5ed86c0d64d1808f44eb56c37c9aecde Mon Sep 17 00:00:00 2001 From: Sebastian Wallin Date: Sun, 6 Nov 2016 13:53:06 +0100 Subject: [PATCH] Added tool for DMG package --- OrthoCtrl.xcodeproj/project.pbxproj | 4 ++-- OrthoCtrl/Info.plist | 2 +- README.md | 28 ++++++++++++++++++++++------ appdmg.json | 8 ++++++++ 4 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 appdmg.json diff --git a/OrthoCtrl.xcodeproj/project.pbxproj b/OrthoCtrl.xcodeproj/project.pbxproj index aee9af5..2c7c071 100644 --- a/OrthoCtrl.xcodeproj/project.pbxproj +++ b/OrthoCtrl.xcodeproj/project.pbxproj @@ -624,7 +624,7 @@ "$(inherited)", "$(PROJECT_DIR)/build/Debug", ); - PRODUCT_BUNDLE_IDENTIFIER = TegelSoft.OrthoCtrl; + PRODUCT_BUNDLE_IDENTIFIER = TegelSoft.OrthoBar; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -641,7 +641,7 @@ "$(inherited)", "$(PROJECT_DIR)/build/Debug", ); - PRODUCT_BUNDLE_IDENTIFIER = TegelSoft.OrthoCtrl; + PRODUCT_BUNDLE_IDENTIFIER = TegelSoft.OrthoBar; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; diff --git a/OrthoCtrl/Info.plist b/OrthoCtrl/Info.plist index ead14e5..8da8236 100644 --- a/OrthoCtrl/Info.plist +++ b/OrthoCtrl/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.1 + 0.0.1 CFBundleSignature ???? CFBundleVersion diff --git a/README.md b/README.md index b90966b..4d3e39a 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,10 @@ from Teenage Engineering **This project is in development. Your help is much appreciated** -## Installation +## Install -This project uses [Cocoapods](https://cocoapods.org/) so you need to run: - -```bash -$ pod install -``` +[Download latest build](https://github.com/wallin/ortho-ctrl/releases) and +install the app like any other Mac app. ## Usage @@ -26,6 +23,23 @@ $ pod install | Previous track | ctrl + alt + b | | Toggle playback | ctrl + alt + m | +## Build + +This project uses [Cocoapods](https://cocoapods.org/) so you need to run: + +```bash +$ pod install +``` + +## Package + +First build the project for Archive. +Then create a DMG using the [appgdmg](https://github.com/LinusU/node-appdmg) tool + +```bash +$ appdmg appdmg.json OrthoBar.app +``` + ## TODO - [x] Auto discover device IP @@ -35,6 +49,8 @@ $ pod install - [ ] Show real device name in list - [ ] Configurable shortcuts - [ ] Show connection status in toolbar icon +- [ ] App Icon +- [ ] Upload to App Store ## Licence diff --git a/appdmg.json b/appdmg.json new file mode 100644 index 0000000..5457b15 --- /dev/null +++ b/appdmg.json @@ -0,0 +1,8 @@ +{ + "title": "OrthoBar", + "background-color": "#FFF", + "contents": [ + { "x": 448, "y": 344, "type": "link", "path": "/Applications" }, + { "x": 192, "y": 344, "type": "file", "path": "OrthoBar.app" } + ] +}