Skip to content

Force Proxy to any Windows/MacOS/Linux Application TCP and UDP traffic

trail space

Sourav Kalal4916c232472c
diff --git a/gui/ViewModels/UpdateNotificationViewModel.cs b/gui/ViewModels/UpdateNotificationViewModel.cs
index fda8f5a..a8e8add 100644
--- a/gui/ViewModels/UpdateNotificationViewModel.cs
+++ b/gui/ViewModels/UpdateNotificationViewModel.cs
@@ -14,7 +14,7 @@ public class UpdateNotificationViewModel : ViewModelBase
private readonly SettingsService _settingsService;
private readonly Action _onClose;
private readonly VersionInfo _versionInfo;
-
+
private string _currentVersion = "";
private string _latestVersion = "";
private string _downloadStatus = "";
@@ -33,10 +33,10 @@ public class UpdateNotificationViewModel : ViewModelBase
_settingsService = new SettingsService();
_onClose = onClose;
_versionInfo = versionInfo;
-
+
CurrentVersion = versionInfo.CurrentVersionString;
LatestVersion = versionInfo.LatestVersionString;
-
+
UpdateNowCommand = new RelayCommand(async () => await DownloadAndInstallAsync());
DontAskAgainCommand = new RelayCommand(DontAskAgain);
LaterCommand = new RelayCommand(_onClose);
diff --git a/gui/Views/UpdateNotificationWindow.axaml b/gui/Views/UpdateNotificationWindow.axaml
index 5515ea1..7383227 100644
--- a/gui/Views/UpdateNotificationWindow.axaml
+++ b/gui/Views/UpdateNotificationWindow.axaml
@@ -31,20 +31,20 @@
<!-- Version Info -->
<StackPanel Spacing="12">
<StackPanel Orientation="Horizontal" Spacing="8">
- <TextBlock Text="Current Version:"
- FontWeight="Medium"
- Foreground="#FFB0B0B0"
+ <TextBlock Text="Current Version:"
+ FontWeight="Medium"
+ Foreground="#FFB0B0B0"
Width="120"/>
- <TextBlock Text="{Binding CurrentVersion}"
+ <TextBlock Text="{Binding CurrentVersion}"
Foreground="#FF007ACC"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="8">
- <TextBlock Text="New Version:"
- FontWeight="Medium"
- Foreground="#FFB0B0B0"
+ <TextBlock Text="New Version:"
+ FontWeight="Medium"
+ Foreground="#FFB0B0B0"
Width="120"/>
- <TextBlock Text="{Binding LatestVersion}"
+ <TextBlock Text="{Binding LatestVersion}"
Foreground="#FF4CAF50"/>
</StackPanel>
</StackPanel>
@@ -58,10 +58,10 @@
<!-- Download Progress -->
<StackPanel IsVisible="{Binding IsDownloading}" Spacing="8">
- <TextBlock Text="{Binding DownloadStatus}"
+ <TextBlock Text="{Binding DownloadStatus}"
HorizontalAlignment="Center"
Foreground="#FF007ACC"/>
- <ProgressBar Value="{Binding DownloadProgress}"
+ <ProgressBar Value="{Binding DownloadProgress}"
Maximum="100"
Height="8"
Background="#FF3C3C3C"
@@ -69,7 +69,7 @@
</StackPanel>
<!-- Error Message -->
- <TextBlock Text="{Binding ErrorMessage}"
+ <TextBlock Text="{Binding ErrorMessage}"
Foreground="#FFFF6B6B"
HorizontalAlignment="Center"
TextWrapping="Wrap"
@@ -79,24 +79,24 @@
<!-- Buttons -->
<Border Grid.Row="2" Background="#FF252526" BorderBrush="#FF007ACC" BorderThickness="0,1,0,0" Padding="16,12">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Spacing="10">
- <Button Content="Update Now"
+ <Button Content="Update Now"
Command="{Binding UpdateNowCommand}"
IsEnabled="{Binding !IsDownloading}"
- Background="#FF4CAF50"
+ Background="#FF4CAF50"
Foreground="White"
Padding="16,6"
CornerRadius="3"/>
- <Button Content="Don't Ask Again"
+ <Button Content="Don't Ask Again"
Command="{Binding DontAskAgainCommand}"
IsEnabled="{Binding !IsDownloading}"
- Background="#FFFF6B6B"
+ Background="#FFFF6B6B"
Foreground="White"
Padding="16,6"
CornerRadius="3"/>
- <Button Content="Later"
+ <Button Content="Later"
Command="{Binding LaterCommand}"
IsEnabled="{Binding !IsDownloading}"
- Background="#FF3C3C3C"
+ Background="#FF3C3C3C"
Foreground="White"
Padding="16,6"
CornerRadius="3"/>