[Title] Modify Tizen Branding. NativeIDE => TizenIDE
authortaeyoung2.son <taeyoung2.son@samsung.com>
Tue, 29 Nov 2011 06:35:20 +0000 (15:35 +0900)
committertaeyoung2.son <taeyoung2.son@samsung.com>
Tue, 29 Nov 2011 06:35:20 +0000 (15:35 +0900)
[Type] Feature
[Module] Main
[Priority] Major
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

packager/linux/install.sh
packager/linux/remove.sh
packager/windows/install.bat
packager/windows/remove.bat

index 3816b54..52e86ba 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/bash
 ## User Define for desktop menu
 currentPath=`pwd`
-desktopfile=${HOME}/.local/share/applications/samsung-sdk-ide.desktop
-iconfile=samsung-sdk-ide.ico
-ide_path=NativeIDE
+desktopfile=${HOME}/.local/share/applications/tizen-sdk-ide.desktop
+iconfile=tizen-sdk-ide.ico
+ide_path=TizenIDE
 exefile=startup.sh
-comment="The Native IDE of Tizen SDK"
-name="Native IDE"
+comment="The IDE of Tizen SDK"
+name="Tizen IDE"
 
 ## Do not modify the followings (Make desktop menu)
 TIZEN_SDK_INSTALL_PATH=${INSTALLED_PATH}
@@ -15,18 +15,18 @@ ide_resources_path=${TIZEN_SDK_INSTALL_PATH}/${ide_path}/resources
 ide_tools_path=${ide_resources_path}/tools
 ide_icons_path=${ide_resources_path}/icons
 
-categoryfile=${HOME}/.local/share/desktop-directories/samsung-sdk_menu.directory
+categoryfile=${MENU_DIRECTORY_PATH}
 
 UBUNTU_VER=`awk 'BEGIN {FS="="}; /DISTRIB_RELEASE.*/ {print $2}' /etc/lsb-release`
 case ${UBUNTU_VER} in
        11.04)
-               categories="Samsung Linux Platform;Development"
+               categories="Tizen SDK;Development"
                ;;
        11.10)
-               categories="Samsung Linux Platform;Development"
+               categories="Tizen SDK;Development"
                ;;
        *)
-               categories="Samsung Linux Platform"
+               categories="Tizen SDK"
                ;;
 esac
        
@@ -81,3 +81,4 @@ else
        gksudo "${TIZEN_SDK_INSTALL_PATH}/temp/samsung_device_setup.sh ${HOME} ${ide_tools_path} ${samsung_udev}"
 fi
 
+exit 0
index e98d06d..2f15f8e 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh
 ## Register .desktop file
-xdg-desktop-menu uninstall samsung-sdk_menu.directory samsung-sdk-ide.desktop
+xdg-desktop-menu uninstall ${MENU_DIRECTORY_NAME} tizen-sdk-ide.desktop
 ### END Register Menu ###
 
 ## Remove auto creating files
-ide_path=NativeIDE
+ide_path=TizenIDE
 rm -rf ${INSTALLED_PATH}/${ide_path}/p2
 
 # Remove Tizen Font
index 6049532..d37df58 100644 (file)
@@ -1,9 +1,9 @@
 @ECHO OFF
-set shortcut_name=Tizen IDE
-set execute_file=NativeIDE.exe
-set icon_file=samsung-sdk-ide.ico
+set shortcut_name="Tizen IDE"
+set execute_file=TizenIDE.exe
+set icon_file=tizen-sdk-ide.ico
 set font_file=EcoSansMonoBD_110929.ttf
-set program_path=%INSTALLED_PATH%\NativeIDE
+set program_path=%INSTALLED_PATH%\TizenIDE
 set execute_path=%program_path%\%execute_file%
 set icon_path=%program_path%\resources\icons
 set font_path=%program_path%\resources\fonts
@@ -12,7 +12,7 @@ set font_path=%program_path%\resources\fonts
 FOR /F "tokens=2* delims=       " %%A IN ('reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Programs') DO SET start_menu_programs_path=%%B
 
 echo Setting shortcut...
-wscript.exe "%MAKESHORTCUT_PATH%" /shortcut:"%start_menu_programs_path%\Samsung Linux Platform\%shortcut_name%" /target:"%execute_path%\%icon_file%" /icon:"%icon_path%"
+wscript.exe "%MAKESHORTCUT_PATH%" /shortcut:"%start_menu_programs_path%\%MENU_DIRECTORY%\%shortcut_name%" /target:"%execute_path%\%icon_file%" /icon:"%icon_path%"
 
 echo Make shortcut success.
 :: Install Tizen font
index 01e7fda..aa7b8d4 100644 (file)
@@ -1,10 +1,10 @@
 @echo off
 
-set shortcut_name=Native IDE
+set shortcut_name="Tizen IDE"
 
 :: delims is a TAB followed by a space
 FOR /F "tokens=2* delims=       " %%A IN ('reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Programs') DO SET start_menu_programs_path=%%B
-rm -r -f "%start_menu_programs_path%\Samsung Linux Platform\%shortcut_name%.lnk"
+rm -r -f "%start_menu_programs_path%\%MENU_DIRECTORY%\%shortcut_name%.lnk"
 
 :: Uninstall Tizen font
 :: del %HOMEDRIVE%\Windows\Fonts\unnamed.ttf