mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-06-22 06:19:02 -04:00
Clarify portable update notice
This commit is contained in:
@@ -105,7 +105,7 @@ public class UpdateCheckComp extends SimpleComp {
|
||||
var name = Bindings.createStringBinding(
|
||||
() -> {
|
||||
if (updateReady.getValue()) {
|
||||
return AppI18n.get("updateReady");
|
||||
return XPipeDistributionType.get() == XPipeDistributionType.PORTABLE ? AppI18n.get("updateReadyPortable") : AppI18n.get("updateReady");
|
||||
}
|
||||
|
||||
return AppI18n.get("checkForUpdates");
|
||||
@@ -114,7 +114,7 @@ public class UpdateCheckComp extends SimpleComp {
|
||||
var description = Bindings.createStringBinding(
|
||||
() -> {
|
||||
if (updateReady.getValue()) {
|
||||
return AppI18n.get("updateReadyDescription");
|
||||
return XPipeDistributionType.get() == XPipeDistributionType.PORTABLE ? AppI18n.get("updateReadyDescriptionPortable") : AppI18n.get("updateReadyDescription");
|
||||
}
|
||||
|
||||
return AppI18n.get("checkForUpdatesDescription");
|
||||
|
||||
Reference in New Issue
Block a user