Skip to content

Commit 05886c4

Browse files
committed
enhance: add note about deprecated Wine usage and native builds in update check dialog
1 parent af9a73c commit 05886c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/updatecheck.pas

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,10 @@ procedure TfrmUpdateCheck.ReadCheckFile;
165165
ReleasePackage := IfThen(AppSettings.PortableMode, 'portable', 'installer');
166166
memoRelease.Lines.Add(f_('Version %s (yours: %s)', [ReleaseVersion, Mainform.AppVersion]));
167167
memoRelease.Lines.Add(f_('Released: %s', [Ini.ReadString(INISECT_RELEASE, 'Date', '')]));
168-
Note := Ini.ReadString(INISECT_RELEASE, 'Note', '');
168+
if IsWine then
169+
Note := _('Wine support is deprecated. Future versions will not work reliably. Use the native Linux or macOS releases instead.')
170+
else
171+
Note := Ini.ReadString(INISECT_RELEASE, 'Note', '');
169172
if Note <> '' then
170173
memoRelease.Lines.Add(_('Notes') + ': ' + Note);
171174

0 commit comments

Comments
 (0)