Skip to content

Commit

Permalink
generic dev version of xmt
Browse files Browse the repository at this point in the history
  • Loading branch information
francescotescari committed Mar 25, 2021
1 parent a75422d commit 8106edd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/xiaomitool/v2/engine/ToolManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
import java.util.List;

public class ToolManager {
public static final String TOOL_VERSION = "20.7.21";
public static final String TOOL_VERSION = "99.9.9";
public static final String URL_DONATION = "https://www.xiaomitool.com/V2/donate";
public static final String TOOL_VERSION_EX = "beta";
public static final String TOOL_VERSION_EX = "dev";
public static final String XMT_HOST = "https://www.xiaomitool.com/V2";
public static final String URL_UPDATE_V2 = XMT_HOST + "/updateV2.php";
public static final String URL_LATEST = XMT_HOST + "/latest";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xiaomitool/v2/gui/fxml/MainFrame.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<Insets bottom="13.0" top="13.0" />
</HBox.margin>
</ImageView>
<Label prefHeight="29.0" prefWidth="402.0" text="XiaoMiTool V2 (by Francesco Tescari)" textFill="#363636">
<Label prefHeight="29.0" prefWidth="402.0" text="XiaoMiTool V2" textFill="#363636">
<HBox.margin>
<Insets bottom="6.0" top="5.0" />
</HBox.margin>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xiaomitool/v2/gui/raw/Disclaimer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ This tool uses advanced procedures that might brick your device, use it at your
This tool will send device related data (such as serial number, device model, ...) and user related data (such as userId) to Xiaomi server to use Xiaomi API in some procedures.
This tool might void your warranty depending on your seller.
This tool will NOT save or share any personal data, unless you clearly specify to save some on your local pc in the options.
The whole resposability of the possible outcomes of this tool is handled by the user who decides to use it (you), not by Xiaomi, not by the developer (me).
The whole responsibility of the possible outcomes of this tool is handled by the user who decides to use it (you), not by Xiaomi, not by the developer (me).
By using this tool, you accept that some anonymous data will be sent to the developer server to improve the tool.
2 changes: 1 addition & 1 deletion src/main/java/com/xiaomitool/v2/inet/EasyHttp.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public class EasyHttp {
public static final String CHROME_USERAGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36";
private static final boolean DEBUG_PROXY = Log.ADVANCED_LOG;
private static final boolean DEBUG_PROXY = false; // Log.ADVANCED_LOG;
protected CustomHttpRequest request = new CustomHttpRequest();
private boolean headOnly = false;
private Map<String, String> cookies = new LinkedHashMap<>();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/xiaomitool/v2/logging/Log.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.io.StringWriter;

public class Log {
public static final boolean ADVANCED_LOG = true;
public static final boolean ADVANCED_LOG = false;
private static final String PREFIX_DEBUG = "DEBUG";
private static final String PREFIX_INFO = "INFO";
private static final String PREFIX_WARN = "WARN";
Expand Down

0 comments on commit 8106edd

Please sign in to comment.