From 9da021b308621115a1ec346f9b8af0a9959b9cbc Mon Sep 17 00:00:00 2001 From: Exslims Date: Sun, 6 Aug 2017 01:37:02 +0400 Subject: [PATCH] fix tooltips before release --- .../core/utils/path/GamePathSearcher.java | 37 ------------------ .../platform/ui/misc/TooltipConstants.java | 2 +- .../src/main/resources/app/overseer_icon.png | Bin 1290 -> 1306 bytes .../resources/notes/patch/patch-notes.json | 2 +- 4 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 app-core/src/main/java/com/mercury/platform/core/utils/path/GamePathSearcher.java 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 91ef78fca9fd6ea63263e6a647a83373075fce24..8ec7c7211c1f411a67a6a3a5e0a52548dd001032 100644 GIT binary patch delta 1226 zcmV;*1U37L3YrR#JPN=701m(bYSxJfkwz$gmq|oHRCr$Pn@MgHK@^5L4`C5yRuJI~ zuwqy-W?X{KP=g&$J8}9Un=Wjrrv6X0vD6ywgY;jZ!i^GIZF0u~hui$M=(e zpWogl$?uOni`e~;>}9ev@SqjKR?fU*r5JjK0V9gX~32GoVIQV=u?;hzM@SOWd>@; zHb7J=Ga^*937C-%Ey_#Rg{D6n)Qf6=0PT7a!c|~I$Z0^GC7AWUE^LuP~Z17AUDVWn|KW7BiaPaaP{)(gS^}Zn8e2vu3|I7 z*97F`GQcH1ws4gg{SohN0A27xn%8QxSsxSJljAa>TD4yo5$kOLVr0;?o{H0dx zD}!1bGgj(m6Clil8pkp~=ekQgSGW$;wwv((iR9!Vj%z^n4$rrd>6rR}9=6k9+n982 zZ4P4CCje_|gCfPt)&>Y;8nA-sQ zaFTPJ+P(WgCrmdF=9WKbRr8Gopop3v)9&2|`@+QF(BO`1CW`Gj0|@R+M+O`j&_xDN z9l9t{o{I0qlsgl}b=&~TC*f%gQM!3$Ppw1vzM^nvqPUJ4K)Je?Pz_>#>h#HNt_j?k zD6V4$P##l!i*k9|c@k`OyUqYzo{NyW(G1YNqw;+xXdBdmI5jnCeJYsh8r}(tbLY=& zAx6#D8X!L=7t=Mh?UpHrgQ@PmDE9GJ`>T%!8(=#HrW_77157oe8esazg5$iL6Vm|O z4BUCK<}^TlTrR2;WI6?Zrg#^5>TzdP*Srnj?tm-ahT2!EB}%2sf7EzW?_dLb3g?N} zk;h1%jlw$10C|m5oKOY0;$`xP_cdKzcNrj-m#2fj8A3cY)#c32UCL%K9Fr(|T*k*Np!5P4O#=%Ru_}qAMdlp zUWdg0`u;9iUt2sdV0>a!yn69qZ>K+gIVxVie7H9;IhMUOnq&qLBcsDfv$@c^X!Rm= o?CJN>_}T0s1NxOdH(((73uDc*x%VG{UH||907*qoM6N<$g7k()?EnA( delta 1210 zcmV;r1V#Ir3W^GlJPN@801m+cxRGn^kwz$gheaJ+(sUeOzmij4o1M^TD>udvJ;we03I0>2&>t*f3oLUBi#FrB86EnhU z0^_p{h>0&P+^24T#%39SH=MfS=jQJ3_tUV{h?#&lW+@La4!y8WGQf>cgJRMV~Tyk<5aWsp|u?q5lNJYYjBsYYt?eqVn-%K%M`6brPWW2Dxz%e8NBpU$SIF|zxx2C++Aym{m{U~HA5rxd>^1jXpWU-{f=ZD`e2=80EjiWm{5nh{TZ8W z0Ei8NdZmp(J=Cou9x%R^0U%@oC}l)UIIxNb%&Bbvh?xLrM2Z;{4J`Gobpi8G8|zvI z0DN%DGAMA(2$52MEA)mZ!F=RmUE2U+xf@D>J}IZ}!WzX50Qf8sYBgm9PhI*A&kAcb zVgN~b4acBpkbCMbtc!YBH)4QGjv1vzyRZjpW8Js`F8ITw6)C?2r)t1iKr~=ueZD#m zUz#M)if_pt8i23OzI*%XT$lij&^kIcd}IK?_h~zw*8Z&}(a&_AwW^W-;*S|{J{hR~ Y0q*9ycna+UdjJ3c07*qoM6N<$g5?WB3jhEB 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" }