Skip to content

Commit

Permalink
[Updater] Drop version in .bin cache directory path, closes #99
Browse files Browse the repository at this point in the history
There is no reason to organize the *.bin files in subfolders corresponding to the version of the updater. A *.bin stays a *.bin no matter what.
  • Loading branch information
Darthyson committed Mar 6, 2024
1 parent 87a6367 commit 110ece0
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -25,10 +25,10 @@
public final class FlashDiffMode {
private final static Logger logger = LoggerFactory.getLogger(FlashDiffMode.class.getName());
// hexCacheDir will be used as a cache directory for the cached *.hex files used by the differential update mode
// windows: C:\Users\[currentUser]\AppData\Local\Selfbus\Selfbus-Updater\Cache\[version]
// linux : /home/[user-home]]/.cache/Selfbus-Updater/[version]
// windows: C:\Users\[currentUser]\AppData\Local\Selfbus\Selfbus-Updater\Cache\
// linux : /home/[user-home]]/.cache/Selfbus-Updater/
private static final String hexCacheDirectory = AppDirsFactory.getInstance().getUserCacheDir(
ToolInfo.getTool(), ToolInfo.getVersion(), ToolInfo.getAuthor());
ToolInfo.getTool(), "", ToolInfo.getAuthor());
private final static String IMAGE_IDENTIFIER = "image";
private final static String FILE_NAME_SEP = "-";
private final static String FILE_EXTENSION = ".bin";
Expand Down

0 comments on commit 110ece0

Please sign in to comment.