modify windows / mac shortcut name for multi SDK installation
authorheeyoung <heeyoung1008.hwang@samsung.com>
Mon, 21 Sep 2015 05:02:22 +0000 (14:02 +0900)
committerheeyoung <heeyoung1008.hwang@samsung.com>
Mon, 21 Sep 2015 07:03:24 +0000 (16:03 +0900)
Change-Id: Ic5fa66d0e7581df3148647b3a11dab32e5d8d988
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
package/dynamic-analyzer-product.install.macos [new file with mode: 0644]
package/dynamic-analyzer-product.install.windows
package/dynamic-analyzer-product.remove.macos [new file with mode: 0644]
package/dynamic-analyzer-product.remove.windows

diff --git a/package/dynamic-analyzer-product.install.macos b/package/dynamic-analyzer-product.install.macos
new file mode 100644 (file)
index 0000000..adaf301
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash -ex
+
+SHORTCUT_DIR_PATH_MACOS=/Applications
+INSTALLED_APP_DIR_MACOS=${INSTALLED_PATH}/tools/dynamic-analyzer/dynamic-analyzer.app
+
+##create 'Dynamic Analyzer' shortcut
+if [ "$MAKESHORTCUT_PATH" != "" ]; then
+${MAKESHORTCUT_PATH} \
+-s "${INSTALLED_APP_DIR_MACOS}" \
+-in "${INSTALLED_DIR_NAME}" \
+-n "Dynamic Analyzer-2.4"
+fi
index 9a9c77d..373dc41 100644 (file)
@@ -1,5 +1,5 @@
 @ECHO OFF
-set shortcut_name=Dynamic Analyzer
+set shortcut_name=Dynamic Analyzer-2.4
 set execute_file=dynamic-analyzer.exe
 set icon_file=tizen-sdk-dynamicanalyzer.ico
 set program_path=%INSTALLED_PATH%\tools\dynamic-analyzer
diff --git a/package/dynamic-analyzer-product.remove.macos b/package/dynamic-analyzer-product.remove.macos
new file mode 100644 (file)
index 0000000..5feebca
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash -ex
+##remove 'Dynamic Analyzer' shortcut
+SHORTCUT_DIR_PATH_MACOS=/Applications
+APP_NAME="Dynamic Analyzer-2.4"
+if [ "$REMOVE_SHORTCUT" != "" ]; then
+${REMOVE_SHORTCUT} \
+-in "${INSTALLED_DIR_NAME}" \
+-n "${APP_NAME}"
+fi
\ No newline at end of file
index 63cc6d8..e542632 100644 (file)
@@ -1,6 +1,6 @@
 @echo off
 
-set shortcut_name=Dynamic Analyzer
+set shortcut_name=Dynamic Analyzer-2.4
 set program_path=tools\dynamic-analyzer
 
 :: delims is a TAB followed by a space