Browse Source

Update internal IP; Autoformat;

master
Nero Ignis 4 years ago
parent
commit
2ca9a75a88
  1. 26
      .idea/workspace.xml
  2. 7
      ADBService.php
  3. 2
      index.php

26
.idea/workspace.xml

@ -4,10 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="770ea386-39b9-422e-9e8d-15b616f9ec1c" name="Default Changelist" comment="Add logos;"> <list default="true" id="770ea386-39b9-422e-9e8d-15b616f9ec1c" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/remote.css" beforeDir="false" afterPath="$PROJECT_DIR$/remote.css" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -58,7 +57,8 @@
<workItem from="1606346469059" duration="5052000" /> <workItem from="1606346469059" duration="5052000" />
<workItem from="1606567112406" duration="3908000" /> <workItem from="1606567112406" duration="3908000" />
<workItem from="1606578454928" duration="18000" /> <workItem from="1606578454928" duration="18000" />
<workItem from="1606578619906" duration="970000" /> <workItem from="1606578619906" duration="1082000" />
<workItem from="1609443927381" duration="243000" />
</task> </task>
<task id="LOCAL-00001" summary="Add media keys; Style keys;"> <task id="LOCAL-00001" summary="Add media keys; Style keys;">
<created>1606568426368</created> <created>1606568426368</created>
@ -81,7 +81,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1606578468049</updated> <updated>1606578468049</updated>
</task> </task>
<option name="localTasksCounter" value="4" /> <task id="LOCAL-00004" summary="Implement Media keys;">
<created>1606579665936</created>
<option name="number" value="00004" />
<option name="presentableId" value="LOCAL-00004" />
<option name="project" value="LOCAL" />
<updated>1606579665936</updated>
</task>
<option name="localTasksCounter" value="5" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -91,13 +98,14 @@
<MESSAGE value="Add media keys; Style keys;" /> <MESSAGE value="Add media keys; Style keys;" />
<MESSAGE value="Add app keys &amp; backend;" /> <MESSAGE value="Add app keys &amp; backend;" />
<MESSAGE value="Add logos;" /> <MESSAGE value="Add logos;" />
<option name="LAST_COMMIT_MESSAGE" value="Add logos;" /> <MESSAGE value="Implement Media keys;" />
<option name="LAST_COMMIT_MESSAGE" value="Implement Media keys;" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="222" y="0" width="912" height="720" key="CommitChangelistDialog2" timestamp="1606579065643"> <state x="222" y="0" width="912" height="720" key="CommitChangelistDialog2" timestamp="1606579665804">
<screen x="0" y="0" width="1366" height="720" /> <screen x="0" y="0" width="1366" height="720" />
</state> </state>
<state x="222" y="0" width="912" height="720" key="CommitChangelistDialog2/0.0.1366.720@0.0.1366.720" timestamp="1606579065643" /> <state x="222" y="0" width="912" height="720" key="CommitChangelistDialog2/0.0.1366.720@0.0.1366.720" timestamp="1606579665804" />
<state x="317" y="133" width="722" height="459" key="EditFileWatcherDialog" timestamp="1606348204010"> <state x="317" y="133" width="722" height="459" key="EditFileWatcherDialog" timestamp="1606348204010">
<screen x="0" y="0" width="1366" height="720" /> <screen x="0" y="0" width="1366" height="720" />
</state> </state>
@ -110,10 +118,10 @@
<screen x="0" y="0" width="1366" height="720" /> <screen x="0" y="0" width="1366" height="720" />
</state> </state>
<state x="172" y="0" key="SettingsEditor/0.0.1366.720@0.0.1366.720" timestamp="1606348206869" /> <state x="172" y="0" key="SettingsEditor/0.0.1366.720@0.0.1366.720" timestamp="1606348206869" />
<state x="278" y="92" width="800" height="542" key="Vcs.Push.Dialog.v2" timestamp="1606578469468"> <state x="278" y="92" width="800" height="542" key="Vcs.Push.Dialog.v2" timestamp="1606579667422">
<screen x="0" y="0" width="1366" height="720" /> <screen x="0" y="0" width="1366" height="720" />
</state> </state>
<state x="278" y="92" width="800" height="542" key="Vcs.Push.Dialog.v2/0.0.1366.720@0.0.1366.720" timestamp="1606578469468" /> <state x="278" y="92" width="800" height="542" key="Vcs.Push.Dialog.v2/0.0.1366.720@0.0.1366.720" timestamp="1606579667422" />
<state x="347" y="155" key="run.anything.popup" timestamp="1606347435018"> <state x="347" y="155" key="run.anything.popup" timestamp="1606347435018">
<screen x="0" y="0" width="1366" height="720" /> <screen x="0" y="0" width="1366" height="720" />
</state> </state>

7
ADBService.php

@ -5,13 +5,13 @@ include_once 'AppNames.php';
class ADBService class ADBService
{ {
const DEFAULT_HOST = '192.168.1.132'; const DEFAULT_HOST = '192.168.0.132';
private $host; private $host;
public function __construct($host) public function __construct($host)
{ {
$this->host = $host; $this->host = $host;
$this->connect(); return $this->connect();
} }
public function connect() public function connect()
@ -38,4 +38,5 @@ class ADBService
{ {
return $this->executeCommand(' shell am start ' . APP_NAMES[$appName]); return $this->executeCommand(' shell am start ' . APP_NAMES[$appName]);
} }
} }

2
index.php

@ -139,4 +139,4 @@ $service = new ADBService(ADBService::DEFAULT_HOST);
); );
</script> </script>
</body> </body>
</html> </html>

Loading…
Cancel
Save