From 2ca715da0aa03474faa36ca404dfe115e01b4fcb Mon Sep 17 00:00:00 2001 From: "jihye424.kim" Date: Fri, 26 Jun 2015 15:18:52 +0900 Subject: [PATCH] Install: add install, remove script to macos - make shortcut and remove shortcut Change-Id: Ib853e5a3e8f54367b0d167056a4b80874792628f Signed-off-by: jihye424.kim --- package/emulator-manager.install.macos-64 | 13 +++++++++++++ package/emulator-manager.remove.macos-64 | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 package/emulator-manager.install.macos-64 create mode 100644 package/emulator-manager.remove.macos-64 diff --git a/package/emulator-manager.install.macos-64 b/package/emulator-manager.install.macos-64 new file mode 100644 index 0000000..6d9eed2 --- /dev/null +++ b/package/emulator-manager.install.macos-64 @@ -0,0 +1,13 @@ +#!/bin/bash -ex + +SHORTCUT_DIR_PATH_MACOS=/Applications +INSTALLED_APP_DIR_MACOS=${INSTALLED_PATH}/tools/emulator/bin/emulator-manager.app + +##create 'Emulator Manager' shortcut +if [ "$MAKESHORTCUT_PATH" != "" ]; then +${MAKESHORTCUT_PATH} \ +-t "${SHORTCUT_DIR_PATH_MACOS}" \ +-s "${INSTALLED_APP_DIR_MACOS}" \ +-in "${INSTALLED_DIR_NAME}" +fi + diff --git a/package/emulator-manager.remove.macos-64 b/package/emulator-manager.remove.macos-64 new file mode 100644 index 0000000..b499008 --- /dev/null +++ b/package/emulator-manager.remove.macos-64 @@ -0,0 +1,14 @@ +#!/bin/bash -ex + +SHORTCUT_DIR_PATH_MACOS=/Applications +APP_NAME=emulator-manager + +##remove 'Emulator Manager' shortcut +if [ "$REMOVE_SHORTCUT" != "" ]; then +${REMOVE_SHORTCUT} \ +-t "${SHORTCUT_DIR_PATH_MACOS}" \ +-in "${INSTALLED_DIR_NAME}" \ +-an "${APP_NAME}" +fi + + -- 2.7.4