From: taeyoung2.son Date: Tue, 29 Nov 2011 06:35:20 +0000 (+0900) Subject: [Title] Modify Tizen Branding. NativeIDE => TizenIDE X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21b66a8dfb9abf5f23fec333715c1135733b037f;p=sdk%2Fide%2Fcommon-eplugin.git [Title] Modify Tizen Branding. NativeIDE => TizenIDE [Type] Feature [Module] Main [Priority] Major [CQ#] [Redmine#] [Problem] [Cause] [Solution] --- diff --git a/packager/linux/install.sh b/packager/linux/install.sh index 3816b54..52e86ba 100755 --- a/packager/linux/install.sh +++ b/packager/linux/install.sh @@ -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 diff --git a/packager/linux/remove.sh b/packager/linux/remove.sh index e98d06d..2f15f8e 100755 --- a/packager/linux/remove.sh +++ b/packager/linux/remove.sh @@ -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 diff --git a/packager/windows/install.bat b/packager/windows/install.bat index 6049532..d37df58 100644 --- a/packager/windows/install.bat +++ b/packager/windows/install.bat @@ -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 diff --git a/packager/windows/remove.bat b/packager/windows/remove.bat index 01e7fda..aa7b8d4 100644 --- a/packager/windows/remove.bat +++ b/packager/windows/remove.bat @@ -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