some minor cleanup
continuous-integration/drone/push Build is passing 详情

这个提交包含在:
Jannik 2019-11-27 16:22:07 +01:00
父节点 e4cc195fa8
当前提交 03c69b232a
签署人:: Seil0
GPG 密钥 ID: E8459F3723C52C24
共有 2 个文件被更改,包括 0 次插入7 次删除

查看文件

@ -206,16 +206,12 @@ public class SettingsView {
@FXML
private void updateBtnAction(ActionEvent event) {
new UpdateController();
if (UpdateController.isUpdateAvailable()) {
updateBtn.setText(XMLController.getLocalBundle().getString("updateBtnUpdateAvailable"));
UpdateController.update();
} else {
updateBtn.setText(XMLController.getLocalBundle().getString("updateBtnNoUpdateAvailable"));
}
}
/** TODO can this be done async?

查看文件

@ -57,9 +57,6 @@ public class UpdateController {
/**
* updater for Project HomeFlix based on cemu_UIs, checks for Updates and download it
*/
public UpdateController() {
}
public static void update() {
if (browserDownloadUrl != null) {