Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
Release v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Jun 15, 2020
1 parent af54c43 commit cf69e8e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ A Path of Exile helper which currently provides the following shortcuts which ar
Lunaris automatically updates itself, so you only have to download it once.
You do **not** need install Java.

[Click here to download](https://github.com/mtricht/lunaris/releases/download/v0.6.0/lunaris-0.6.0-win64.zip) and extract it anywhere you'd like.
[Click here to download](https://github.com/mtricht/lunaris/releases/download/v0.6.1/lunaris-0.6.1-win64.zip) and extract it anywhere you'd like.

Having trouble? [Open an issue](https://github.com/mtricht/lunaris/issues/new).

Expand Down
4 changes: 2 additions & 2 deletions autoupdater.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.1" encoding="UTF-8" standalone="yes"?>

<!-- Generated by update4j. Licensed under Apache Software License 2.0 -->
<configuration timestamp="2020-06-13T09:30:03.671275800Z">
<configuration timestamp="2020-06-15T18:14:10.594946900Z">
<properties>
<property key="default.launcher.main.class" value="dev.tricht.lunaris.Lunaris"/>
</properties>
<files>
<file uri="https://github.com/mtricht/lunaris/releases/download/v0.6.0/lunaris-0.6.0.jar" path="${user.dir}/app/lunaris.jar" size="24934436" checksum="b76afc4f" classpath="true" ignoreBootConflict="true"/>
<file uri="https://github.com/mtricht/lunaris/releases/download/v0.6.1/lunaris-0.6.1.jar" path="${user.dir}/app/lunaris.jar" size="24934539" checksum="6287dab4" classpath="true" ignoreBootConflict="true"/>
</files>
</configuration>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dev.tricht.lunaris</groupId>
<artifactId>lunaris</artifactId>
<version>0.6.1-SNAPSHOT</version>
<version>0.6.2-SNAPSHOT</version>

<properties>
<maven.compiler.target>1.9</maven.compiler.target>
Expand Down
10 changes: 7 additions & 3 deletions src/main/java/dev/tricht/lunaris/util/SystemTray.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,20 @@ object SystemTray {
val tray = java.awt.SystemTray.getSystemTray()
val leagueMenu = Menu("League")
var leagueToSelect: CheckboxMenuItem? = null
for (leagueName in PathOfExileAPI.getTradeLeagues()) {
var tradeLeagues = PathOfExileAPI.getTradeLeagues()
for ((index, leagueName) in tradeLeagues.withIndex()) {
val leagueMenuItem = CheckboxMenuItem(leagueName)
leagueMenuItems.add(leagueMenuItem)
leagueMenu.add(leagueMenuItem)
leagueMenuItem.addItemListener(this::changeLeagueEventHandler)
if (leagueName == Properties.league) {
if (leagueName == Properties.league || (leagueToSelect == null && index == 2)) {
leagueToSelect = leagueMenuItem
}
}
selectLeague(leagueToSelect!!.label)
if (leagueToSelect!!.label != Properties.league) {
Properties.league = leagueToSelect.label
}
selectLeague(leagueToSelect.label)
val settings = MenuItem("Settings...")
settings.addActionListener {
SwingUtilities.invokeLater {
Expand Down

0 comments on commit cf69e8e

Please sign in to comment.