Skip to content

Commit

Permalink
updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
zmilla93 committed Dec 19, 2024
1 parent 6b8f98b commit 1e4ea85
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 31 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release JAR

on:
push:
branches: [ "prerelease" ]

jobs:
build-and-release:

permissions: write-all
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Build the JAR file
run: mvn clean compile assembly:single

- name: Extract app version from pom.xml
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Create release
uses: ncipollo/release-action@v1
with:
name: SlimTrade ${{ env.VERSION }}
tag: ${{ env.VERSION }}
prerelease: true
bodyFile: src/main/resources/patch_notes/v${{ env.VERSION }}.txt
# bodyFile: src/main/resources/patch_notes/static.txv${{ env.VERSION }}.txtt
artifacts: target/SlimTrade.jar
token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release JAR

on:
push:
branches: [ "prerelease" ]
on: workflow_dispatch

jobs:
build-and-release:
Expand Down Expand Up @@ -35,6 +33,5 @@ jobs:
tag: ${{ env.VERSION }}
prerelease: true
bodyFile: src/main/resources/patch_notes/v${{ env.VERSION }}.txt
# bodyFile: src/main/resources/patch_notes/static.txv${{ env.VERSION }}.txtt
artifacts: target/SlimTrade.jar
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>github.zmilla93</groupId>
<artifactId>slimtrade</artifactId>
<version>0.5.0-pre6</version>
<version>0.5.0</version>
<packaging>jar</packaging>

<properties>
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/github/zmilla93/gui/messaging/ExpandPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import github.zmilla93.core.enums.ThemeColor;
import github.zmilla93.modules.theme.components.AdvancedButton;

import javax.swing.*;

public class ExpandPanel extends NotificationPanel {

public ExpandPanel() {
Expand All @@ -21,7 +19,7 @@ public ExpandPanel() {

@Override
protected void resolveMessageColor() {
messageColor = UIManager.getColor("Button.foreground");
// messageColor = UIManager.getColor("Button.foreground");
}

public void setText(String text) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class ThemeExtension {
public ColorVariant APPROVE = new ColorVariant("Actions.Green", "Actions.Blue");
public ColorVariant DENY = new ColorVariant("Actions.Red", "Objects.Pink");
public ColorVariant INDETERMINATE = new ColorVariant("Actions.Yellow");
public ColorVariant NEUTRAL = new ColorVariant("Label.foreground");
public ColorVariant INCOMING_TRADE = new ColorVariant("Actions.Green", "Actions.Blue");
public ColorVariant OUTGOING_TRADE = new ColorVariant("Actions.Red", "Objects.Pink");
public ColorVariant SCANNER_MESSAGE = new ColorVariant("Actions.Yellow");
Expand All @@ -34,6 +35,7 @@ protected void buildColorMap() {
colorMap.put(ThemeColor.APPROVE, APPROVE);
colorMap.put(ThemeColor.DENY, DENY);
colorMap.put(ThemeColor.INDETERMINATE, INDETERMINATE);
colorMap.put(ThemeColor.NEUTRAL, NEUTRAL);
colorMap.put(ThemeColor.INCOMING_MESSAGE, INCOMING_TRADE);
colorMap.put(ThemeColor.OUTGOING_MESSAGE, OUTGOING_TRADE);
colorMap.put(ThemeColor.SCANNER_MESSAGE, SCANNER_MESSAGE);
Expand Down
30 changes: 8 additions & 22 deletions src/main/resources/patch_notes/v0.5.0.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,21 @@
**This version is not well tested.**

## Known Issues
- Save file is not backwards compatible, backup "SlimTrade" folder if you care (Options > Information > Settings Folder)
- When using game detection, bounds are not saved. Detection is rerun at launch (and can be triggered from options)
- Changing client.txt file requires a restart
- Currency icons & translations only use POE1 data
- Theme & UI improvements incomplete

## Path of Exile 2
- SlimTrade now works seamlessly with Path of Exile 1 & 2
- Added currency icons & currency translations for POE 2 (updated for POE1)

## Game Window
## Improvements
- Updated all 30 color themes. *Hate the changes? Give it time, or try out a new theme since they all have a new look!*
- Added a new window detection system for UI alignment, replacing the old stash alignment window
- Unpinned windows are centered in the game window, rather than your first monitor
- Unpinned windows are now centered relative to the game window on launch
- Many small UI improvements & bug fixes
- Possible improvements for Mac & Linux (untested)

## Cloud Gaming
- Added partial support for GeForce Now (other platforms upon request)
- Features that require access to game files DO NOT work (trade popups, chat scanner, history)
- **Features that require access to game files DO NOT work (trade popups, chat scanner, history)**
- All other features should work (game macros, cheat sheets, stash/npc searching)
- Things might be buggy

## Additional Changes
- Many small UI improvements
- Adjusted the way windows are displayed on top of the game window
- Fixed a crash on systems that don't support a system tray
- Fixed preferred font changed the first time you saved after installing
- Possible improvements for Mac & Linux (untested)
- **BUG: Game macros often repeat old commands, investigating**

## How to Install
- Make sure you have [Java](https://www.java.com) installed
- Download and run 'SlimTrade.jar' from below
- Download and run 'SlimTrade.jar' from 'Assets' below

*Having issues? Check the [troubleshooting guide](https://github.com/zmilla93/SlimTrade/wiki/Troubleshooting).*
1 change: 0 additions & 1 deletion src/test/java/github/zmilla93/ReleaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import github.zmilla93.core.References;
import github.zmilla93.core.saving.legacy.SaveFilePatcherManager;
import github.zmilla93.core.utility.NinjaInterface;
import github.zmilla93.gui.windows.OptionsWindow;
import github.zmilla93.modules.updater.UpdateManager;
import github.zmilla93.modules.updater.data.AppInfo;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit 1e4ea85

Please sign in to comment.