Skip to content

Commit

Permalink
#Changd#
Browse files Browse the repository at this point in the history
add attention note text to plugin
  • Loading branch information
hui.zhao committed Feb 7, 2020
1 parent bdc9f40 commit 92e07bc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 2 additions & 0 deletions android-godeye-idea-plugin/AndroidGodEye_plugin.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ echo "Use port %MONITOR_PORT%"

adb forward tcp:%MONITOR_PORT% tcp:%MONITOR_PORT% && cmd /c start http://localhost:%MONITOR_PORT%/index.html

echo "If it is always loading, try close and open the browser tab again."

pause
2 changes: 1 addition & 1 deletion android-godeye-idea-plugin/AndroidGodEye_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ fi

echo "Use port $MONITOR_PORT"

adb forward tcp:${MONITOR_PORT} tcp:${MONITOR_PORT} && open "http://localhost:$MONITOR_PORT/index.html" && read -p "Press any key to continue..."
adb forward tcp:${MONITOR_PORT} tcp:${MONITOR_PORT} && open "http://localhost:$MONITOR_PORT/index.html" && echo "If it is always loading, try close and open the browser tab again." && read -p "Press any key to continue..."
Binary file modified android-godeye-idea-plugin/android-godeye-idea-plugin.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions android-godeye-idea-plugin/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin>
<id>cn.hikyson.godeye.ideaplugin</id>
<name>AndroidGodEye</name>
<version>1.7</version>
<version>1.8</version>
<vendor email="[email protected]" url="https://github.com/Xiangxingqian">qian_xx</vendor>

<description><![CDATA[
Expand All @@ -12,7 +12,7 @@
</description>

<change-notes><![CDATA[
Indicate how to find port.<br>
Add note text.<br>
]]>
</change-notes>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,11 @@ private String askForPort(Project project, String portRunning, String portSaved)
String initPort = portSaved;
if (portRunning != null && !portRunning.equals("")) {
initPort = portRunning;
sb.append("AndroidGodEye monitor is running at ").append(initPort);
sb.append("AndroidGodEye monitor is running at ").append(initPort).append("\n");
} else {
sb.append("Can not find which port AndroidGodEye monitor is running at, initialize with default ").append(initPort);
sb.append("Can not find which port AndroidGodEye monitor is running at, initialize with default ").append(initPort).append("\n");
}
sb.append("[Attention] If it is always loading, try close and open the browser tab again.");
return Messages.showInputDialog(project,
String.valueOf(sb), "AndroidGodEye", IconLoader.getIcon("/icons/android_god_eye_logo_2.png"), initPort, new InputValidator() {

Expand Down
7 changes: 0 additions & 7 deletions android-godeye-idea-plugin/test.bat

This file was deleted.

0 comments on commit 92e07bc

Please sign in to comment.