Skip to content

Commit

Permalink
Platform version fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
autumoswitzerland committed Oct 30, 2024
1 parent 5e66c6a commit 0cac2a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ public class BeetRootConfigurationManager {
// App-Version
final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
try {
// The app's overwritten version
InputStream inputStream = classLoader.getResourceAsStream("VERSION.txt");
if (inputStream == null) {
// The beetRoot version
inputStream = classLoader.getResourceAsStream("beetRoot-VERSION.txt");
}
if (inputStream != null) {
final byte buffer[] = new byte[5];
final int length = inputStream.read(buffer);
Expand Down
File renamed without changes.

0 comments on commit 0cac2a7

Please sign in to comment.