Skip to content

Commit caa23aa

Browse files
authored
resampling factor (#326)
Changes in this Release ***This update is exclusive to Firefly Luciferin. No firmware update required if running Glow Worm Luciferin v5.22.4.*** - **Added a setting to adjust screen capture quality.** Balanced is recommended for most users, while higher quality offers more precision at the cost of higher resource usage, and lower quality reduces the load on the system. This is particularly useful on lower-end hardware or in [multi-screen](https://github.com/sblantipodi/firefly_luciferin/wiki/Multi-monitor-support#screen-capture-quality) setups with high resolutions. - **Installation improvements** (Windows only – not required on Linux): - Added a checkbox option to launch Firefly Luciferin immediately after [installation](https://github.com/sblantipodi/firefly_luciferin/wiki/Installers-and-binaries). - Enhanced the [auto-update process](https://github.com/sblantipodi/firefly_luciferin/wiki/Luciferin-update-management): no manual confirmation is needed in the UI anymore, and the app now starts automatically once the update is complete. This will take effect starting with the next update. - Fixed a Linux-only issue that prevented Firefly Luciferin from running when multiple installation types were present on the system, such as .deb/.rpm, Snap, or Flatpak. - Java/JavaFX 25, libs update, code refactor to avoid using deprecated methods, CI/CD pipeline improvements.
1 parent 67af81a commit caa23aa

40 files changed

+246
-186
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
echo $RELEASE_VERSION
2222
echo ${{ env.RELEASE_VERSION }}
2323
shell: bash
24-
- name: Set up AdoptOpenJDK 24
24+
- name: Set up AdoptOpenJDK 25
2525
uses: actions/setup-java@v5
2626
with:
2727
distribution: 'temurin'
28-
java-version: '24'
28+
java-version: '25'
2929
architecture: x64
3030
- name: Install submodules
3131
run: |
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
rm -rf target/fireflyluciferin-${{steps.get-id.outputs.id}}.jar;
5757
echo ${{github.run_number}}
58-
jpackage -i target --type exe --main-class org.dpsoftware.JavaFXStarter --main-jar FireflyLuciferin-jar-with-dependencies.jar --icon data/img/java_fast_screen_capture_logo.ico --win-menu --win-menu-group Luciferin --copyright "Davide Perini" --name "Firefly Luciferin" --vendor DPsoftware --win-dir-chooser --win-shortcut --win-per-user-install --win-upgrade-uuid 33c82dc4-e0e0-11ea-87d0-0242ac130003 --app-version "0.0.${{github.run_number}}" --win-shortcut --win-shortcut-prompt --java-options "-XX:+UseZGC -XX:+UseStringDeduplication -Xms64m -Xmx1024m --add-modules=jdk.incubator.vector --enable-native-access=org.dpsoftware --enable-native-access=ALL-UNNAMED --enable-native-access=com.sun.jna --enable-native-access=javafx.graphics --enable-native-access=javafx.web --enable-native-access=com.fazecast.jSerialComm"
58+
jpackage -i target --type exe --resource-dir build_tools/wix --main-class org.dpsoftware.JavaFXStarter --main-jar FireflyLuciferin-jar-with-dependencies.jar --icon data/img/java_fast_screen_capture_logo.ico --win-menu --win-menu-group Luciferin --copyright "Davide Perini" --name "Firefly Luciferin" --vendor DPsoftware --win-dir-chooser --win-shortcut --win-per-user-install --win-upgrade-uuid 33c82dc4-e0e0-11ea-87d0-0242ac130003 --app-version "0.0.${{github.run_number}}" --win-shortcut --win-shortcut-prompt --java-options "-XX:+UseZGC -XX:+UseStringDeduplication -Xms64m -Xmx1024m --add-modules=jdk.incubator.vector --enable-native-access=org.dpsoftware --enable-native-access=ALL-UNNAMED --enable-native-access=com.sun.jna --enable-native-access=javafx.graphics --enable-native-access=javafx.web --enable-native-access=com.fazecast.jSerialComm"
5959
shell: bash
6060
- name: Adding asset to the release
6161
env:
@@ -70,7 +70,7 @@ jobs:
7070
path: FireflyLuciferinSetup.exe
7171

7272
linux_build_parallel:
73-
runs-on: ubuntu-24.04
73+
runs-on: ubuntu-latest
7474
steps:
7575
- uses: actions/checkout@v5
7676
with:
@@ -81,11 +81,11 @@ jobs:
8181
run: |
8282
echo $RELEASE_VERSION
8383
echo ${{ env.RELEASE_VERSION }}
84-
- name: Set up AdoptOpenJDK 24
84+
- name: Set up AdoptOpenJDK 25
8585
uses: actions/setup-java@v5
8686
with:
8787
distribution: 'temurin'
88-
java-version: '24'
88+
java-version: '25'
8989
architecture: x64
9090
- id: get-id
9191
run: |

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# - https://gh.io/supported-runners-and-hardware-resources
2828
# - https://gh.io/using-larger-runners (GitHub.com only)
2929
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
30-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-24.04' }}
30+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
3131
permissions:
3232
# required for all workflows
3333
security-events: write

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
create_draft_release:
1010
env:
1111
commitmsg: ${{ github.event.head_commit.message }}
12-
runs-on: ubuntu-24.04
12+
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v5
1515
- name: Set env
@@ -49,11 +49,11 @@ jobs:
4949
echo $RELEASE_VERSION
5050
echo ${{ env.RELEASE_VERSION }}
5151
shell: bash
52-
- name: Set up AdoptOpenJDK 24
52+
- name: Set up AdoptOpenJDK 25
5353
uses: actions/setup-java@v5
5454
with:
5555
distribution: 'temurin'
56-
java-version: '24'
56+
java-version: '25'
5757
architecture: x64
5858
- name: Install submodules
5959
run: |
@@ -84,7 +84,7 @@ jobs:
8484
- name: Java 14 Package API, create EXE binary
8585
run: |
8686
rm -rf target/fireflyluciferin-${{steps.get-id.outputs.id}}.jar;
87-
jpackage -i target --type exe --main-class org.dpsoftware.JavaFXStarter --main-jar FireflyLuciferin-jar-with-dependencies.jar --icon data/img/java_fast_screen_capture_logo.ico --win-menu --win-menu-group Luciferin --copyright "Davide Perini" --name "Firefly Luciferin" --vendor DPsoftware --win-dir-chooser --win-shortcut --win-per-user-install --win-upgrade-uuid 33c82dc4-e0e0-11ea-87d0-0242ac130003 --app-version "${{steps.get-id.outputs.id}}" --win-shortcut --win-shortcut-prompt --java-options "-XX:+UseZGC -XX:+UseStringDeduplication -Xms64m -Xmx1024m --add-modules=jdk.incubator.vector --enable-native-access=org.dpsoftware --enable-native-access=ALL-UNNAMED --enable-native-access=com.sun.jna --enable-native-access=javafx.graphics --enable-native-access=javafx.web --enable-native-access=com.fazecast.jSerialComm"
87+
jpackage -i target --type exe --resource-dir build_tools/wix --main-class org.dpsoftware.JavaFXStarter --main-jar FireflyLuciferin-jar-with-dependencies.jar --icon data/img/java_fast_screen_capture_logo.ico --win-menu --win-menu-group Luciferin --copyright "Davide Perini" --name "Firefly Luciferin" --vendor DPsoftware --win-dir-chooser --win-shortcut --win-per-user-install --win-upgrade-uuid 33c82dc4-e0e0-11ea-87d0-0242ac130003 --app-version "${{steps.get-id.outputs.id}}" --win-shortcut --win-shortcut-prompt --java-options "-XX:+UseZGC -XX:+UseStringDeduplication -Xms64m -Xmx1024m --add-modules=jdk.incubator.vector --enable-native-access=org.dpsoftware --enable-native-access=ALL-UNNAMED --enable-native-access=com.sun.jna --enable-native-access=javafx.graphics --enable-native-access=javafx.web --enable-native-access=com.fazecast.jSerialComm"
8888
shell: bash
8989
- name: Adding asset to the release
9090
env:
@@ -96,7 +96,7 @@ jobs:
9696

9797
linux_build_parallel:
9898
needs: [ create_draft_release ]
99-
runs-on: ubuntu-24.04
99+
runs-on: ubuntu-latest
100100
steps:
101101
- uses: actions/checkout@v5
102102
- name: Set env
@@ -105,11 +105,11 @@ jobs:
105105
run: |
106106
echo $RELEASE_VERSION
107107
echo ${{ env.RELEASE_VERSION }}
108-
- name: Set up AdoptOpenJDK 24
108+
- name: Set up AdoptOpenJDK 25
109109
uses: actions/setup-java@v5
110110
with:
111111
distribution: 'temurin'
112-
java-version: '24'
112+
java-version: '25'
113113
architecture: x64
114114
- id: get-id
115115
run: |
@@ -170,11 +170,11 @@ jobs:
170170
id=$(echo $RELEASE_VERSION | cut -dv -f2)
171171
echo "id=$id" >> $GITHUB_OUTPUT
172172
shell: bash
173-
- name: Set up AdoptOpenJDK 24
173+
- name: Set up AdoptOpenJDK 25
174174
uses: actions/setup-java@v5
175175
with:
176176
distribution: 'temurin'
177-
java-version: '24'
177+
java-version: '25'
178178
architecture: x64
179179
- name: Set up Maven Settings for deploy
180180
uses: s4u/maven-settings-action@v4.0.0

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
stale:
8-
runs-on: ubuntu-24.04
8+
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/stale@main
1111
with:

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Ambient Lighting or Bias Light is a technology that enhances your viewing experi
33

44
**Luciferin** is a generic term for the light-emitting compound found in organisms that generate bioluminescence like Fireflies and Glow Worms. `Firefly Luciferin is a Java Fast Screen Capture` PC software designed for the [Glow Worm Luciferin](https://github.com/sblantipodi/glow_worm_luciferin) firmware, the combination of these software create the perfect `Bias Lighting and Ambient Light system for PC`.
55
_Written in Java with a native flavour for Windows and Linux._
6-
7-
8-
<img align="right" width="100" height="100" src="https://github.com/sblantipodi/firefly_luciferin/blob/master/data/img/luciferin_logo.png">
6+
7+
8+
<img align="right" width="100" height="100" src="https://raw.githubusercontent.com/sblantipodi/firefly_luciferin/master/data/img/luciferin_logo.png">
99

1010

1111
[![Web Installer](https://img.shields.io/website/https/sblantipodi.github.io/glow_worm_luciferin.svg?label=Web%20Installer&down_color=red&down_message=offline&up_color=4bc51d&up_message=online&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAD1BMVEUAAAD%2F%2F%2F%2F%2F%2F%2F%2F%2FVyL%2F%2F%2F8bK2t7AAAAA3RSTlMAARYXuUDOAAAAhklEQVR42u3WyQ2AMAwEQAz9lxxCCRCuONHse2XPy3JsS98EAAAAAAAAQDpAfLywAgAADAuoJ716dw4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAwgLcCAACQH%2FB3AAAAAAAAAPoDWovrxYdjBwAAmA7QerAKAADANICnD0sBAADIDjgAPijZuQgZskEAAAAASUVORK5CYII%3D)](https://sblantipodi.github.io/glow_worm_luciferin)
@@ -53,7 +53,8 @@ Why don't you build your own `Luciferin`?
5353
Here's a [**Quick Start guide**](https://github.com/sblantipodi/firefly_luciferin/wiki/Quick-start)
5454

5555
## Glow Worm Luciferin + Firefly Luciferin (click to watch it on YouTube)
56-
[![Luciferin YouTube Video #1](https://github.com/sblantipodi/firefly_luciferin/blob/master/data/img/ambilight_color.png)](https://youtu.be/PO37JC7-Nn4?si=nxVYd5b_qlfqo6HP)
56+
57+
[![Luciferin YouTube Video #1](https://raw.githubusercontent.com/sblantipodi/firefly_luciferin/master/data/img/ambilight_color.png)](https://youtu.be/PO37JC7-Nn4?si=nxVYd5b_qlfqo6HP)
5758

5859
## Easy to learn, easy to use
5960

data/img/aspect_ratio.jpg

10.1 KB
Loading

data/img/baud_rate.jpg

8.98 KB
Loading

data/img/enable_wifi.jpg

6.76 KB
Loading

data/img/enable_wifi_mixed.png

-6.56 KB
Loading

0 commit comments

Comments
 (0)