Skip to content

Commit

Permalink
feat: Enabled updater end installer for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jagodevreede committed Nov 30, 2024
1 parent 8edca12 commit adc8818
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ public static Optional<UiInstaller> getInstance() {
if (OsHelper.isWindows()) {
return Optional.of(new WindowsInstaller());
}
if (OsHelper.isMac()) {
return Optional.of(new ShellInstaller());
}
return Optional.empty();
return Optional.of(new ShellInstaller());
}

abstract public void updateScriptAndVersion();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ public static Optional<AutoUpdater> getInstance() {
if (OsHelper.isWindows()) {
return Optional.of(new AutoUpdaterWindows());
}
if (OsHelper.hasShell()) {
return Optional.of(new AutoUpdaterShell());
}
return Optional.empty();
return Optional.of(new AutoUpdaterShell());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,18 @@
{
"pattern":"\\Qmain.fxml\\E"
},
{
"pattern":"\\Qsdkui.sh\\E"
},
{
"pattern":"\\Qsimplelogger.properties\\E"
},
{
"pattern":"\\Qtemplate/bash_shell\\E"
},
{
"pattern":"\\Qupdate.sh\\E"
},
{
"pattern":"\\Qversion.txt\\E"
}
Expand Down

0 comments on commit adc8818

Please sign in to comment.