diff --git a/install.sh b/install.sh index 4c26373d..b5ba0bde 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ install_path='/opt/tencent'; current_dir=`pwd` -desktop_dir='/usr/share/applications/wechat_web_devtools_old.desktop' +desktop_dir='/usr/share/applications' soft_link_path='/usr/local/bin/wechat_web_devtools_old' # install app @@ -37,7 +37,7 @@ EOF # create shortcut if [ -d "$desktop_dir" ]; then - sudo cp "${app_path}/wechat_web_devtools.desktop" $desktop_dir + sudo cp "${app_path}/wechat_web_devtools.desktop" "${desktop_dir}/wechat_web_devtools_old.desktop" fi # create soft link and boot application from terminal diff --git a/wechat_web_devtools.desktop b/wechat_web_devtools.desktop index 39803ae6..c161f3d3 100644 --- a/wechat_web_devtools.desktop +++ b/wechat_web_devtools.desktop @@ -1,10 +1,10 @@ [Desktop Entry] Encoding=UTF-8 -Name=WeChat Web DevTools +Name=WeChat Web DevTools Old Key=WeChat;Web;Dev; Comment=The development tools for wechat web develop Exec=/opt/tencent/wechat_web_devtools_old/wechat_web_devtools -Icon=/opt/tencent/wechat_web_devtools_old/app/images/logo2.png +Icon=/opt/tencent/wechat_web_devtools_old/app/images/icon.png Categories=Application;WeChat;Development; Version=0.15.152900 Type=Application