Skip to content

Commit

Permalink
Fixes in cache handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lanthale committed May 25, 2024
1 parent ec15e97 commit 9656214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PhotoSlide/src/main/java/org/photoslide/SoftwareUpdater.java
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ protected String call() throws Exception {
httpsURL = "https://github.com/lanthale/PhotoSlide/releases/download/v" + nextAppVersion + "/PhotoSlide-" + nextAppVersion + ".dmg";
filename = "PhotoSlide-" + nextAppVersion + ".dmg";
} else if (OS.contains("MAC") && architecture.equalsIgnoreCase("aarch64")) {
httpsURL = "https://github.com/lanthale/PhotoSlide/releases/download/v" + nextAppVersion + "/PhotoSlide_" + "aarch_64" + "-" + nextAppVersion + ".dmg";
filename = "PhotoSlide_" + "aarch_64" + "-" + nextAppVersion + ".dmg";
httpsURL = "https://github.com/lanthale/PhotoSlide/releases/download/v" + nextAppVersion + "/PhotoSlide_" + architecture + "-" + nextAppVersion + ".dmg";
filename = "PhotoSlide_" + architecture + "-" + nextAppVersion + ".dmg";
} else if (OS.contains("NUX")) {
httpsURL = "https://github.com/lanthale/PhotoSlide/releases/download/v" + nextAppVersion + "/PhotoSlide_" + nextAppVersion + "_amd64.deb";
filename = "PhotoSlide-" + nextAppVersion + ".deb";
Expand Down
2 changes: 1 addition & 1 deletion PhotoSlide/src/main/resources/pkg-config/mac-jpackage.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--type dmg
--name ${app.name}_${os.detected.arch}
--name ${app.name}
--icon ${project.resources[0].directory}/org/photoslide/img/osx/PhotoSlide.icns
--resource-dir ${project.resources[0].directory}/org/photoslide/img/osx/pkgresource
--dest ${project.build.directory}
Expand Down

0 comments on commit 9656214

Please sign in to comment.