mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-06-28 12:08:09 +03:00
[FIX] Fix sync command
This commit is contained in:
parent
a959414c64
commit
ab1fa64f7a
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ public void invoke(String... args) throws Exception {
|
||||||
try {
|
try {
|
||||||
if (!IOHelper.isDir(Path.of(updatesDir)))
|
if (!IOHelper.isDir(Path.of(updatesDir)))
|
||||||
Files.createDirectory(Path.of(updatesDir));
|
Files.createDirectory(Path.of(updatesDir));
|
||||||
readUpdatesDir();
|
sync(null);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
logger.error("Updates not synced", e);
|
logger.error("Updates not synced", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue