diff --git a/app-core/src/main/java/com/mercury/platform/core/utils/path/GamePathSearcher.java b/app-core/src/main/java/com/mercury/platform/core/utils/path/GamePathSearcher.java deleted file mode 100644 index b534c2a8..00000000 --- a/app-core/src/main/java/com/mercury/platform/core/utils/path/GamePathSearcher.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.mercury.platform.core.utils.path; - -import org.apache.commons.lang3.StringUtils; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; - -import java.io.BufferedReader; -import java.io.File; -import java.io.IOException; -import java.io.InputStreamReader; - -/** - * Created by Константин on 24.01.2017. - */ -public class GamePathSearcher{ - private final Logger log = LogManager.getLogger(GamePathSearcher.class); - - public String getGamePath(){ - String path = null; - try { - String line; - Process p = Runtime.getRuntime().exec("powershell -command Get-Process | Format-List path"); - BufferedReader input = new BufferedReader - (new InputStreamReader(p.getInputStream(),"866")); - while ((line = input.readLine()) != null) { - if (line.contains("PathOfExile123")) { - String temp = StringUtils.substringAfter(line, "Path : "); - path = StringUtils.substringBeforeLast(temp, File.separator); - path += File.separator; - } - } - }catch (IOException e) { - log.error(e); - } - return path; - } -} diff --git a/app-ui/src/main/java/com/mercury/platform/ui/misc/TooltipConstants.java b/app-ui/src/main/java/com/mercury/platform/ui/misc/TooltipConstants.java index 94383d02..2bdb3469 100644 --- a/app-ui/src/main/java/com/mercury/platform/ui/misc/TooltipConstants.java +++ b/app-ui/src/main/java/com/mercury/platform/ui/misc/TooltipConstants.java @@ -8,7 +8,7 @@ public class TooltipConstants { public static final String TRADE_MODE = "SuperTradeMode. All notifications you receive will be unfolded."; public static final String CHAT_FILTER = "Chat Scanner. All chat messages with matching words will be displayed in a separate window."; public static final String HIDEOUT = "Travel to your hideout"; - public static final String ADR_SETTINGS = "Aura Duration Tracker settings"; + public static final String ADR_SETTINGS = "Overseer settings"; public static final String TIMER = "Timer. Just a simple timer."; public static final String HISTORY = "History. Browse through all notifications you received previously."; public static final String SETUP_FRAMES_LOCATION = "Panel unlock. Unlock panels to reposition."; diff --git a/app-ui/src/main/resources/app/overseer_icon.png b/app-ui/src/main/resources/app/overseer_icon.png index 91ef78fc..8ec7c721 100644 Binary files a/app-ui/src/main/resources/app/overseer_icon.png and b/app-ui/src/main/resources/app/overseer_icon.png differ diff --git a/app-ui/src/main/resources/notes/patch/patch-notes.json b/app-ui/src/main/resources/notes/patch/patch-notes.json index 6a8cc171..188e8d0c 100644 --- a/app-ui/src/main/resources/notes/patch/patch-notes.json +++ b/app-ui/src/main/resources/notes/patch/patch-notes.json @@ -3,7 +3,7 @@ "notes":[ { "title" : "Update", - "text" : "- New feature: Mercury: Overseer (check reddit).\n- New configuration system based on profiles.\n- Now Notification panel can be disabled\n- Mercury now works nicely regardless of the localization you use.\n- Added poeapp.com trade messages templates.\n- Many inner improvements.\n\nDetail information you can find on reddit in related thread. Thank you for staying with us!", + "text" : "- New feature: Mercury: Overseer (check reddit).\n- New configuration system based on profiles.\n- Now Notification panel can be disabled\n- Mercury now works nicely regardless of the localization you use.\n- Added poeapp.com trade messages templates.\n- Many backend improvements.\n\nDetailed information you can find on reddit in related thread. Thank you for staying with us!", "image" : "", "layout" : "VERTICAL" }