diff --git a/MonitorProcess.cs b/MonitorProcess.cs
deleted file mode 100644
index 77aea91..0000000
--- a/MonitorProcess.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-#region Using statements
-
-using System;
-using System.Diagnostics;
-using System.IO;
-
-#endregion Using statements
-
-namespace WeekNumber
-{
- internal static class MonitorProcess
- {
- ///
- /// Creates and runs WeekNumberMonitor.exe
- /// If WeekNumber.exe process is terminated it cleans up the taskbar icon and exits
- /// Only English OS GUI language supported
- ///
- internal static void Run()
- {
- string file = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Temp", "WeekNumberMonitor.exe");
- File.WriteAllBytes(file, Convert.FromBase64String(@"TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAOhQsWAAAAAAAAAAAOAAAgELATAAABAAAAAIAAAAAAAAKi4AAAAgAAAAQAAAAABAAAAgAAAAAgAABAAAAAAAAAAGAAAAAAAAAACAAAAAAgAAglYAAAIAYIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAANgtAABPAAAAAEAAAAgEAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAMA4AAAAgAAAAEAAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAAgEAAAAQAAAAAYAAAASAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAGAAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAAAMLgAAAAAAAEgAA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AAAAwAAAAsPgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"));
- _ = new Process()
- {
- StartInfo = new ProcessStartInfo(file, Process.GetCurrentProcess().Id.ToString())
- {
- CreateNoWindow = true,
- WindowStyle = ProcessWindowStyle.Hidden,
- UseShellExecute = false
- }
- }.Start();
- }
- }
-}
diff --git a/Properties/App.config b/Properties/App.config
index 71f843d..4fc14b8 100644
--- a/Properties/App.config
+++ b/Properties/App.config
@@ -14,7 +14,6 @@
-
@@ -23,6 +22,5 @@
-
\ No newline at end of file
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index b26346a..4eda15f 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -18,8 +18,8 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("550adc75-8afb-4813-ac91-8c8c6cb681ae")]
-[assembly: AssemblyVersion("1.6.6.8")]
-[assembly: AssemblyFileVersion("1.6.6.8")]
+[assembly: AssemblyVersion("1.6.6.9")]
+[assembly: AssemblyFileVersion("1.6.6.9")]
[assembly: NeutralResourcesLanguage("en-US")]
#endregion Assembly information
\ No newline at end of file
diff --git a/README.de-DE.md b/README.de-DE.md
index 58514b7..9223b0c 100644
--- a/README.de-DE.md
+++ b/README.de-DE.md
@@ -5,7 +5,7 @@ Windows 11/10 Systemtray-Anwendung, die die aktuelle Kalenderwoche anzeigt
![image](https://user-images.githubusercontent.com/2292809/121431601-e8451780-c979-11eb-9734-f30304c348d1.png)
-[![Neueste Version herunterladen](https://img.shields.io/github/v/release/voltura/WeekNumber?label=ladda%20ner%20senaste%20versionen&style=for-the-badge)](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.8.zip)
+[![Neueste Version herunterladen](https://img.shields.io/github/v/release/voltura/WeekNumber?label=ladda%20ner%20senaste%20versionen&style=for-the-badge)](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.9.zip)
[![Github All Releases](https://img.shields.io/github/downloads/voltura/WeekNumber/total.svg)]()
[![License](https://img.shields.io/badge/licence-MIT-green)]()
@@ -14,7 +14,7 @@ Windows 11/10 Systemtray-Anwendung, die die aktuelle Kalenderwoche anzeigt
Das aktuelle Kalenderwoche wird als Symbol im Systemtray der Windows-Taskleiste angezeigt.
Durch Doppelklicken auf das Symbol können Sie die Kalenderwoche für andere Daten nachschlagen.
-Stellen Sie ein, dass die Anwendung mit Windows startet, passen Sie die Symbolfarben, die Sprache, Benachrichtigungen, automatische Updates, Kalenderregeln und vieles mehr an. Für eine detaillierte Beschreibung siehe den _**Hilfebereich**_ unten.
+Stellen Sie ein, dass die Anwendung mit Windows startet, passen Sie die Symbolfarben, die Sprache, Benachrichtigungen, Kalenderregeln und vieles mehr an. Für eine detaillierte Beschreibung siehe den _**Hilfebereich**_ unten.
### Sprachunterstützung
- Englisch
@@ -61,11 +61,8 @@ Wenn Sie das Symbol der Anwendung nicht sehen, klicken Sie auf das Dachsymbol (^
### Kontextmenü:
- **Über WeekNumber** - _Zeigt Versionsinformationen an_
-- **Nach neuer Version suchen** - _Überprüft, ob eine neue Version verfügbar ist; wenn ja, gibt es die Option zu aktualisieren_
-- **Öffnen Sie die Webseite der Anwendung** - _Zeigt die Webseite der Anwendung an_
- **Einstellungen**
- **Mit Windows starten** - _Wenn angekreuzt, startet die Anwendung automatisch mit Windows_
- - **Automatisch aktualisieren** - _Wenn angekreuzt, wird die Anwendung automatisch aktualisiert, ohne dass Sie etwas tun müssen_
- **Sprache** - _Ändert die Sprache, die die Anwendung verwendet_
- **English** - _Englisch_
- **Deutsch**
diff --git a/README.md b/README.md
index 897a27c..14b2001 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Windows 11/10 system tray area application that displays the current week number
![image](https://user-images.githubusercontent.com/2292809/120940539-0f071200-c71e-11eb-8b03-8f24b9fb36ad.png)
-[![Latest release ZIP](https://img.shields.io/github/v/release/voltura/WeekNumber?label=download%20latest%20release&style=for-the-badge)](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.8.zip)
+[![Latest release ZIP](https://img.shields.io/github/v/release/voltura/WeekNumber?label=download%20latest%20release&style=for-the-badge)](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.9.zip)
[![Github All Releases](https://img.shields.io/github/downloads/voltura/WeekNumber/total.svg)]()
[![License](https://img.shields.io/badge/licence-MIT-green)]()
@@ -41,7 +41,7 @@ Options to start with Windows, customize icon colors, language, notifications, c
![Settings Language](https://user-images.githubusercontent.com/2292809/121083488-c9ab1900-c7df-11eb-9a09-6dac98153ba2.png)
## Installation
-After download of WeekNumber_v1.6.6.8.zip via [*Download latest release*](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.8.zip) first unzip the archive, then run WeekNumber.exe.
+After download of WeekNumber_v1.6.6.9.zip via [*Download latest release*](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.9.zip) first unzip the archive, then run WeekNumber.exe.
To remove the application just delete the executable and other files extracted from the zip archive and the generated application configuration file WeekNumber.exe.config.
### Download notes
@@ -64,11 +64,8 @@ If the application icon is not visible then press the ^ symbol on the system tra
### Context menu options:
- **About WeekNumber** - _Displays version information_
-- **Check for updated version** - _Checks if newer version is available, option to update if that's the case_
-- **Open application web page** - _Shows the application web page_
- **Settings**
- **Start with Windows** - _If ticked, the application starts automatically with Windows_
- - **Update automatically** - _If ticked, updates automatically without user interaction_
- **Language** - _Change language used by the application_
- **English**
- **Deutsch**
diff --git a/README.sv-SE.md b/README.sv-SE.md
index ea93344..3d5d2ec 100644
--- a/README.sv-SE.md
+++ b/README.sv-SE.md
@@ -5,7 +5,7 @@ Windows 11/10 systemfältsapplikation som visar aktuellt veckonummer
![image](https://user-images.githubusercontent.com/2292809/121431601-e8451780-c979-11eb-9734-f30304c348d1.png)
-[![Latest release ZIP](https://img.shields.io/github/v/release/voltura/WeekNumber?label=ladda%20ner%20senaste%20versionen&style=for-the-badge)](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.8.zip)
+[![Latest release ZIP](https://img.shields.io/github/v/release/voltura/WeekNumber?label=ladda%20ner%20senaste%20versionen&style=for-the-badge)](https://github.com/voltura/weeknumber/releases/latest/download/WeekNumber_v1.6.6.9.zip)
[![Github All Releases](https://img.shields.io/github/downloads/voltura/WeekNumber/total.svg)]()
[![License](https://img.shields.io/badge/licence-MIT-green)]()
@@ -14,7 +14,7 @@ Windows 11/10 systemfältsapplikation som visar aktuellt veckonummer
Aktuellt veckonummer visas som en ikon i systemfältet i Windows aktivitetsfält.
Slå upp veckonummer för andra datum genom att dubbel-klicka på ikonen.
-Ställ in att starta med Windows, anpassa ikonfärger, språk, notiser, automatiska uppdatering, kalender-regler och mycket mer. För detaljerad beskrivning se _**Hjälpavsnitt**_ nedan.
+Ställ in att starta med Windows, anpassa ikonfärger, språk, notiser, kalender-regler och mycket mer. För detaljerad beskrivning se _**Hjälpavsnitt**_ nedan.
### Språkstöd
- Engelska
@@ -61,11 +61,8 @@ Om du inte ser applikationens ikon så tryck på taktecknet (^) vid systemfälte
### Högerklicks-meny:
- **Om WeekNumber** - _Visar versionsinformation_
-- **Se om ny version finns** - _Kontrollerar om ny version finns, om så är fallet finns val att uppdatera_
-- **Öppna applikationens webbsida** - _Visar applikationens webbsida_
- **Inställningar**
- **Starta med Windows** - _Om ikryssad så startar applikationen automatiskt med Windows_
- - **Uppdatera automatiskt** - _Om ikryssad så uppdaterar applikationen automatiskt utan att du behöver göra något själv_
- **Språk** - _Ändrar vilket språk som applikationen använder_
- **English** - _Engelska_
- **German** - _Tyska_
diff --git a/Resources/Resources.Designer.cs b/Resources/Resources.Designer.cs
index 934b325..d202707 100644
--- a/Resources/Resources.Designer.cs
+++ b/Resources/Resources.Designer.cs
@@ -63,7 +63,7 @@ internal Resources() {
///
/// Looks up a localized string similar to WeekNumber by Voltura AB
///
- ///Copyright © Voltura AB 2018-2022.
+ ///Copyright © Voltura AB 2018-2024.
///
internal static string About {
get {
@@ -98,33 +98,6 @@ internal static string ApplicationLogMenu {
}
}
- ///
- /// Looks up a localized string similar to AutoUpdate.
- ///
- internal static string AutoUpdate {
- get {
- return ResourceManager.GetString("AutoUpdate", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Update automatically.
- ///
- internal static string AutoUpdateMenu {
- get {
- return ResourceManager.GetString("AutoUpdateMenu", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to New version:.
- ///
- internal static string AvailableVersion {
- get {
- return ResourceManager.GetString("AvailableVersion", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Blue.
///
@@ -161,24 +134,6 @@ internal static string CheckBrowserNavigation {
}
}
- ///
- /// Looks up a localized string similar to Manually check for newer version here:.
- ///
- internal static string CheckForNewVersionHere {
- get {
- return ResourceManager.GetString("CheckForNewVersionHere", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Check for updated version.
- ///
- internal static string CheckForNewVersionMenu {
- get {
- return ResourceManager.GetString("CheckForNewVersionMenu", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Get week number for date....
///
@@ -323,15 +278,6 @@ internal static string DisplayWeekChangedNotificationMenu {
}
}
- ///
- /// Looks up a localized string similar to Download and install new version now?.
- ///
- internal static string DownloadAndInstallQuestion {
- get {
- return ResourceManager.GetString("DownloadAndInstallQuestion", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to en-US.
///
@@ -368,15 +314,6 @@ internal static string ExportSettingsMenu {
}
}
- ///
- /// Looks up a localized string similar to Failed to download and run the installer automatically..
- ///
- internal static string FailedAutoInstall {
- get {
- return ResourceManager.GetString("FailedAutoInstall", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Failed to update icon resolution..
///
@@ -386,24 +323,6 @@ internal static string FailedToChangeIconResolution {
}
}
- ///
- /// Looks up a localized string similar to Failed to perform version check, cannot find an active internet connection..
- ///
- internal static string FailedToCheckUpdateNoInternet {
- get {
- return ResourceManager.GetString("FailedToCheckUpdateNoInternet", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to download new version..
- ///
- internal static string FailedToDownloadNewVersion {
- get {
- return ResourceManager.GetString("FailedToDownloadNewVersion", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Failed to export settings!.
///
@@ -433,15 +352,6 @@ internal static string FailedToNotifyWindowsOfTaskbarIconSizeChange {
}
}
- ///
- /// Looks up a localized string similar to Failed to perform version check..
- ///
- internal static string FailedToPerformVersionCheck {
- get {
- return ResourceManager.GetString("FailedToPerformVersionCheck", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Could not set Icon.
///
@@ -453,15 +363,6 @@ internal static string FailedToSetIcon {
}
}
- ///
- /// Looks up a localized string similar to Failed to start the installer automatically..
- ///
- internal static string FailedToStartInstaller {
- get {
- return ResourceManager.GetString("FailedToStartInstaller", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Could not calendar week rule setting.
///
@@ -549,6 +450,24 @@ internal static string FridayMenu {
}
}
+ ///
+ /// Looks up a localized string similar to de-DE.
+ ///
+ internal static string German {
+ get {
+ return ResourceManager.GetString("German", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Deutsch.
+ ///
+ internal static string GermanMenu {
+ get {
+ return ResourceManager.GetString("GermanMenu", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Graphics settings.
///
@@ -1280,25 +1199,6 @@ internal static string SwedishMenu {
}
}
-
- ///
- /// Looks up a localized string similar to de-DE.
- ///
- internal static string German {
- get {
- return ResourceManager.GetString("German", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Deutsch.
- ///
- internal static string GermanMenu {
- get {
- return ResourceManager.GetString("GermanMenu", resourceCulture);
- }
- }
-
///
/// Looks up a localized string similar to Use large taskbar.
///
diff --git a/Resources/Resources.de-DE.resx b/Resources/Resources.de-DE.resx
index ab4a7ce..db4bd58 100644
--- a/Resources/Resources.de-DE.resx
+++ b/Resources/Resources.de-DE.resx
@@ -120,7 +120,7 @@
WeekNumber von Voltura AB
-Copyright © Voltura AB 2018-2022
+Copyright © Voltura AB 2018-2024
Über WeekNumber
@@ -131,20 +131,23 @@ Copyright © Voltura AB 2018-2022
Anwendungs Log
-
- AutoUpdate
+
+ Blue
-
- Automatische Updates
+
+ IconBackground
-
- Neue Version:
+
+ IconBackgroundBlue
-
- Blue
+
+ IconBackgroundGreen
-
- Kalender
+
+ Hintergrund
+
+
+ IconBackgroundRed
Kalender Wochen Regeln
@@ -152,45 +155,15 @@ Copyright © Voltura AB 2018-2022
Überprüfen Sie, ob Sie über einen Webbrowser zu dieser Adresse navigieren können:
-
- Überprüfe die neue Version manuell hier:
-
-
- Überprüfe auf aktualisierte Version
-
Hole Kalender Woche für Datum...
Schließen
-
- Schließen Sie diese Anwendung und führen Sie sie manuell aus
-
Symbol Farben
-
- Standard
-
-
- Gamma korrigiert
-
-
- Hohe Qualität
-
-
- Hohe Geschwindigkeit
-
-
- CompositingQuality
-
-
- Assume Linear
-
-
- Kompositionsqualität
-
Tag
@@ -200,55 +173,22 @@ Copyright © Voltura AB 2018-2022
Zeige Start Benachrichtigung
-
- Zeige neue Woche Benachrichtigung
-
-
- DisplayWeekChangedNotification
-
-
- Download und installieren der neuen Version?
-
Beende WeekNumber
-
- Exportiere Einstellungen...
-
-
- Automatischer Download und Ausführung des Installationsprogramms fehlgeschlagen
-
Aktualisierung der Symbolauflösung fehlgeschlagen
-
- Überprüfung der Version fehlgeschlagen, keine aktive Internetverbindung gefunden.
-
-
- Download der neuen Version fehlgeschlagen.
-
-
- Export der Einstellungen fehlgeschlagen!
-
-
- Import der Einstellungen fehlgeschlagen!
-
Konnte Windows nicht über die Änderung der Taskleistensymbolgröße informieren.
Bitte melden Sie dies an feedback@voltura.se!
-
- Überprüfung der Version fehlgeschlagen.
-
Konnte Symbol nicht festlegen.
Bitte melden Sie dies an feedback@voltura.se!
-
- Automatischer Start des Installationsprogramms fehlgeschlagen.
-
Konnte Kalenderwochenregel-Einstellung nicht festlegen.
@@ -279,12 +219,24 @@ Bitte melden Sie dies an feedback@voltura.se!
Erste volle Woche
+
+ IconForeground
+
+
+ IconForegroundBlue
+
+
+ IconForegroundGreen
+
+
+ Foreground
+
+
+ IconForegroundRed
+
Freitag
-
- Grafik Einstellungen
-
Green
@@ -321,99 +273,15 @@ Bitte melden Sie dies an feedback@voltura.se!
64x64
-
- IconBackground
-
-
- IconBackgroundAlpha
-
-
- Benutze Transparenten Hintergrund
-
-
- IconBackgroundBlue
-
-
- IconBackgroundGreen
-
-
- Hintergrund
-
-
- IconBackgroundRed
-
-
- IconForeground
-
-
- IconForegroundBlue
-
-
- IconForegroundGreen
-
-
- Foreground
-
-
- IconForegroundRed
-
-
- Symbol
-
IconResolution
Symbol Auflösung
-
- Importiere Einstellungen...
-
-
- information
-
Deine Version:
-
- InterpolationMode
-
-
- Bicubic
-
-
- Bilinear
-
-
- Standard
-
-
- Hoch
-
-
- Hohe Qualität Bicubic
-
-
- Hohe Qualität Bilinear
-
-
- Niedrig
-
-
- Interpolations Modus
-
-
- Nächster Nachbar
-
-
- Installationsprogramm-Prüfsumme inkorrekt, automatische Installation fehlgeschlagen.
-
-
- Language
-
-
- Sprache
-
Sie haben die neueste Version!
@@ -429,9 +297,6 @@ Bitte melden Sie dies an feedback@voltura.se!
Es ist eine neue Version verfügbar
-
- Benachrichtigungen
-
Entschuldigung, diese Funktion ist noch nicht implementiert.
@@ -441,9 +306,6 @@ Bitte melden Sie dies an feedback@voltura.se!
Anwendungswebseite öffnen
-
- WeekNumber von Voltura AB
-
Red
@@ -471,12 +333,6 @@ Bitte melden Sie dies an feedback@voltura.se!
-
-
- Einstellungen erfolgreich exportiert!
-
-
- Einstellungen erfolgreich importiert!
-
Einstellungen
@@ -486,26 +342,14 @@ Bitte melden Sie dies an feedback@voltura.se!
Zeige das Anwendungsprotokoll
-
- Anti Alias
-
-
- SmoothingMode
-
-
- Standard
-
-
- Hohe Qualität
-
-
- Hohe Geschwindigkeit
+
+ UseSilentNotifications
-
- Glättungsmodus
+
+ Benutze versteckte Benachrichtigungen
-
- Keine
+
+ Benachrichtigungen
Rechtsklick auf das Symbol im System-Tray für Funktionen und Einstellungen
@@ -519,17 +363,170 @@ Bitte melden Sie dies an feedback@voltura.se!
Sonntag
+
+ Benutze große Taskbar
+
+
+ Benutze kleine Taskbar
+
+
+ Donnerstag
+
+
+ Dienstag
+
+
+ Irgendetwas ist schiefgelaufen. Bitte an feedback@voltura.se melden!
+
+
+ UseApplicationLog
+
+
+ Benutze Anwendungsprotokoll
+
+
+ version
+
+
+ Mittwoch
+
+
+ Woche
+
+
+ Jahr
+
+
+ Kalender
+
+
+ Symbol
+
+
+ DisplayWeekChangedNotification
+
+
+ Zeige neue Woche Benachrichtigung
+
+
+ Schließen Sie diese Anwendung und führen Sie sie manuell aus
+
+
+ information
+
+
+ Installationsprogramm-Prüfsumme inkorrekt, automatische Installation fehlgeschlagen.
+
+
+ um die Anwendung zu aktualisieren.
+
+
+ Versuchen Sie, es manuell über einen Webbrowser von dieser Adresse herunterzuladen:
+
+
+ Umwandlung fehlgeschlagen
+
+
+ en-US
+
+
+ English
+
+
+ Language
+
+
+ Sprache
+
+
+ WeekNumber von Voltura AB
+
sv-SE
Svenska
-
- Benutze große Taskbar
+
+ de-DE
-
- Benutze kleine Taskbar
+
+ Deutsch
+
+
+ CompositingQuality
+
+
+ Assume Linear
+
+
+ Standard
+
+
+ Gamma korrigiert
+
+
+ Hohe Qualität
+
+
+ Hohe Geschwindigkeit
+
+
+ Kompositionsqualität
+
+
+ Grafik Einstellungen
+
+
+ InterpolationMode
+
+
+ Bicubic
+
+
+ Bilinear
+
+
+ Standard
+
+
+ Hoch
+
+
+ Hohe Qualität Bicubic
+
+
+ Hohe Qualität Bilinear
+
+
+ Niedrig
+
+
+ Interpolations Modus
+
+
+ Nächster Nachbar
+
+
+ Anti Alias
+
+
+ SmoothingMode
+
+
+ Standard
+
+
+ Hohe Qualität
+
+
+ Hohe Geschwindigkeit
+
+
+ Glättungsmodus
+
+
+ Keine
TextContrast
@@ -552,46 +549,28 @@ Bitte melden Sie dies an feedback@voltura.se!
Text Kontrast
-
- Donnerstag
-
-
- um die Anwendung zu aktualisieren.
-
-
- Versuchen Sie, es manuell über einen Webbrowser von dieser Adresse herunterzuladen:
-
-
- Dienstag
-
-
- Umwandlung fehlgeschlagen
-
-
- Irgendetwas ist schiefgelaufen. Bitte an feedback@voltura.se melden!
-
-
- UseApplicationLog
+
+ Exportiere Einstellungen...
-
- Benutze Anwendungsprotokoll
+
+ Export der Einstellungen fehlgeschlagen!
-
- UseSilentNotifications
+
+ Import der Einstellungen fehlgeschlagen!
-
- Benutze versteckte Benachrichtigungen
+
+ Importiere Einstellungen...
-
- version
+
+ Einstellungen erfolgreich exportiert!
-
- Mittwoch
+
+ Einstellungen erfolgreich importiert!
-
- Woche
+
+ IconBackgroundAlpha
-
- Jahr
+
+ Benutze Transparenten Hintergrund
\ No newline at end of file
diff --git a/Resources/Resources.en-US.resx b/Resources/Resources.en-US.resx
index e7b6f9f..674f871 100644
--- a/Resources/Resources.en-US.resx
+++ b/Resources/Resources.en-US.resx
@@ -120,7 +120,7 @@
WeekNumber by Voltura AB
-Copyright © Voltura AB 2018-2022
+Copyright © Voltura AB 2018-2024
About box text
@@ -132,16 +132,6 @@ Copyright © Voltura AB 2018-2022
Application log
-
- AutoUpdate
- Setting, do not change
-
-
- Update automatically
-
-
- New version:
-
Blue
Setting, do not change
@@ -171,12 +161,6 @@ Copyright © Voltura AB 2018-2022
Check if you can navigate via a web browser to this address:
-
- Manually check for newer version here:
-
-
- Check for updated version
-
Get week number for date...
@@ -196,40 +180,22 @@ Copyright © Voltura AB 2018-2022
Display startup notification
-
- Download and install new version now?
-
Exit WeekNumber
-
- Failed to download and run the installer automatically.
-
Failed to update icon resolution.
-
- Failed to perform version check, cannot find an active internet connection.
-
-
- Failed to download new version.
-
Could not inform Windows about change of taskbar icon size.
Please report to feedback@voltura.se!
-
- Failed to perform version check.
-
Could not set Icon.
Please report to feedback@voltura.se!
-
- Failed to start the installer automatically.
-
Could not calendar week rule setting.
@@ -509,6 +475,12 @@ Please report to feedback@voltura.se!
Svenska
+
+ de-DE
+
+
+ German
+
CompositingQuality
Setting, do not change
diff --git a/Resources/Resources.resx b/Resources/Resources.resx
index 997ebc4..3640ba7 100644
--- a/Resources/Resources.resx
+++ b/Resources/Resources.resx
@@ -120,7 +120,7 @@
WeekNumber by Voltura AB
-Copyright © Voltura AB 2018-2022
+Copyright © Voltura AB 2018-2024
About box text
@@ -132,16 +132,6 @@ Copyright © Voltura AB 2018-2022
Application log
-
- AutoUpdate
- Setting, do not change
-
-
- Update automatically
-
-
- New version:
-
Blue
Setting, do not change
@@ -171,12 +161,6 @@ Copyright © Voltura AB 2018-2022
Check if you can navigate via a web browser to this address:
-
- Manually check for newer version here:
-
-
- Check for updated version
-
Get week number for date...
@@ -196,40 +180,22 @@ Copyright © Voltura AB 2018-2022
Display startup notification
-
- Download and install new version now?
-
Exit WeekNumber
-
- Failed to download and run the installer automatically.
-
Failed to update icon resolution.
-
- Failed to perform version check, cannot find an active internet connection.
-
-
- Failed to download new version.
-
Could not inform Windows about change of taskbar icon size.
Please report to feedback@voltura.se!
-
- Failed to perform version check.
-
Could not set Icon.
Please report to feedback@voltura.se!
-
- Failed to start the installer automatically.
-
Could not calendar week rule setting.
diff --git a/Resources/Resources.sv-SE.resx b/Resources/Resources.sv-SE.resx
index dc16b34..a390e33 100644
--- a/Resources/Resources.sv-SE.resx
+++ b/Resources/Resources.sv-SE.resx
@@ -120,7 +120,7 @@
WeekNumber av Voltura AB
-Copyright © Voltura AB 2018-2022
+Copyright © Voltura AB 2018-2024
About box text
@@ -132,22 +132,28 @@ Copyright © Voltura AB 2018-2022
Applikationslogg
-
- AutoUpdate
+
+ Blue
Setting, do not change
-
- Uppdatera automatiskt
+
+ IconBackground
+ Setting, do not change
-
- Ny version:
+
+ IconBackgroundBlue
+ Setting, do not change
-
- Blue
+
+ IconBackgroundGreen
Setting, do not change
-
- Kalender
+
+ Bakgrundsfärg
+
+
+ IconBackgroundRed
+ Setting, do not change
'Årets-första-vecka'-regel
@@ -155,51 +161,15 @@ Copyright © Voltura AB 2018-2022
Kontrollera om det går att navigera via en brower till denna adress:
-
- Se om ny version finns här manuellt:
-
-
- Se om ny version finns
-
Få veckonummer för datum...
Stäng
-
- Stäng applikationen och kör manuellt
-
Ikonfärger
-
- CompositingQuality
- Setting, do not change
-
-
- Anta linjär
- 4
-
-
- Standard
- 0
-
-
- Gamma korrigerad
- 3
-
-
- Hög kvalitet
- 2
-
-
- Hög hastighet
- 1
-
-
- Kompositkvalitet
-
Dag
@@ -210,59 +180,18 @@ Copyright © Voltura AB 2018-2022
Visa uppstartsnotis
-
- DisplayWeekChangedNotification
- Setting, do not change
-
-
- Visa ny veckonotis
-
-
- Ladda ner och installera ny version?
-
-
- en-US
- Setting, do not change
-
-
- English
-
Avsluta WeekNumber
-
- Exportera inställningar...
-
-
- Misslyckades ladda ner och köra installationen automatiskt.
-
Misslyckades uppdatera ikonupplösning.
-
- Kunde inte kontrollera om ny version fanns, kontrollera internetuppkopplingen.
-
-
- Misslyckades ladda ner ny version.
-
-
- Misslyckades exportera inställningar!
-
-
- Misslyckades importera inställningar!
-
Kunde inte informera Windows om att uppdatera storlek på taskbar.
-
- Misslyckades kontrollera ny version.
-
Kunde inte sätta ikon.
-
- Misslyckades att automatiskt starta installationen.
-
Kunde ej uppdatera veckoregel.
@@ -287,12 +216,28 @@ Copyright © Voltura AB 2018-2022
Första hela vecka
+
+ IconForeground
+ Setting, do not change
+
+
+ IconForegroundBlue
+ Setting, do not change
+
+
+ IconForegroundGreen
+ Setting, do not change
+
+
+ Förgrundsfärg
+
+
+ IconForegroundRed
+ Setting, do not change
+
Fredag
-
- Grafikinställningar
-
Green
Setting, do not change
@@ -341,54 +286,6 @@ Copyright © Voltura AB 2018-2022
64x64
Setting, do not change
-
- IconBackground
- Setting, do not change
-
-
- IconBackgroundAlpha
- Setting, do not change
-
-
- Använd transparent bakgrund
-
-
- IconBackgroundBlue
- Setting, do not change
-
-
- IconBackgroundGreen
- Setting, do not change
-
-
- Bakgrundsfärg
-
-
- IconBackgroundRed
- Setting, do not change
-
-
- IconForeground
- Setting, do not change
-
-
- IconForegroundBlue
- Setting, do not change
-
-
- IconForegroundGreen
- Setting, do not change
-
-
- Förgrundsfärg
-
-
- IconForegroundRed
- Setting, do not change
-
-
- Ikon
-
IconResolution
Setting, do not change
@@ -396,64 +293,9 @@ Copyright © Voltura AB 2018-2022
Ikonupplösning
-
- Importera inställningar...
-
-
- information
-
Installerad version:
-
- InterpolationMode
- Setting, do not change
-
-
- Bicubic
- 4
-
-
- Bilinear
- 3
-
-
- Standard
- 0
-
-
- Hög
- 2
-
-
- Högkvalitativ Bicubic
- 7
-
-
- Bilinear av hög kvalitet
- 6
-
-
- Låg
- 1
-
-
- Interpolationsläge
-
-
- Närmaste granne
- 5
-
-
- Installationsprogrammets checksumma var felaktig, kan ej uppdatera automatiskt.
-
-
- Language
- Setting, do not change
-
-
- Språk
-
Du har den senaste versionen!
@@ -470,9 +312,6 @@ Copyright © Voltura AB 2018-2022
Det finns en ny version tillgänglig!
-
- Notiser
-
Ursäkta, denna funktion är inte implementerad än!
@@ -482,9 +321,6 @@ Copyright © Voltura AB 2018-2022
Öppna applikationens webbsida
-
- WeekNumber av Voltura AB
-
Red
Setting, do not change
@@ -514,12 +350,6 @@ Copyright © Voltura AB 2018-2022
-
Separator character, do not change
-
- Export av inställningar lyckades!
-
-
- Import av inställningar lyckades!
-
Inställningar
@@ -529,32 +359,15 @@ Copyright © Voltura AB 2018-2022
Visa applikationslogg
-
- Anti Aliase
- 4 Specifies antialiased rendering.
-
-
- SmoothingMode
+
+ UseSilentNotifications
Setting, do not change
-
- Standard
- 0 Specifies no antialiasing.
-
-
- Hög kvalitet
- 2 Specifies antialiased rendering.
-
-
- Hög hastighet
- 1 Specifies no antialiasing.
-
-
- Utjämningsläge
+
+ Använd tysta notiser
-
- Ingen
- 3 Specifies no antialiasing.
+
+ Notiser
Höger-klicka på ikonen i systemfältet
@@ -570,6 +383,88 @@ för funktioner och inställningar
Söndag
+
+ Använd stora aktivitetsfältsikoner
+
+
+ Använd små aktivitetsfältsikoner
+
+
+ Torsdag
+
+
+ Tisdag
+
+
+ Något gick fel
+
+
+ UseApplicationLog
+ Setting, do not change
+
+
+ Använd applikationslogg
+
+
+ version
+
+
+ Onsdag
+
+
+ Vecka
+
+
+ År
+
+
+ Kalender
+
+
+ Ikon
+
+
+ DisplayWeekChangedNotification
+ Setting, do not change
+
+
+ Visa ny veckonotis
+
+
+ Stäng applikationen och kör manuellt
+
+
+ information
+
+
+ Installationsprogrammets checksumma var felaktig, kan ej uppdatera automatiskt.
+
+
+ för att uppdatera applikationen.
+
+
+ Försök att ladda ned manuellt från denna adress:
+
+
+ Kunde inte tolka
+
+
+ en-US
+ Setting, do not change
+
+
+ English
+
+
+ Language
+ Setting, do not change
+
+
+ Språk
+
+
+ WeekNumber av Voltura AB
+
sv-SE
Setting, do not change
@@ -577,11 +472,107 @@ för funktioner och inställningar
Svenska
-
- Använd stora aktivitetsfältsikoner
+
+ de-DE
-
- Använd små aktivitetsfältsikoner
+
+ Tyska
+
+
+ CompositingQuality
+ Setting, do not change
+
+
+ Anta linjär
+ 4
+
+
+ Standard
+ 0
+
+
+ Gamma korrigerad
+ 3
+
+
+ Hög kvalitet
+ 2
+
+
+ Hög hastighet
+ 1
+
+
+ Kompositkvalitet
+
+
+ Grafikinställningar
+
+
+ InterpolationMode
+ Setting, do not change
+
+
+ Bicubic
+ 4
+
+
+ Bilinear
+ 3
+
+
+ Standard
+ 0
+
+
+ Hög
+ 2
+
+
+ Högkvalitativ Bicubic
+ 7
+
+
+ Bilinear av hög kvalitet
+ 6
+
+
+ Låg
+ 1
+
+
+ Interpolationsläge
+
+
+ Närmaste granne
+ 5
+
+
+ Anti Aliase
+ 4 Specifies antialiased rendering.
+
+
+ SmoothingMode
+ Setting, do not change
+
+
+ Standard
+ 0 Specifies no antialiasing.
+
+
+ Hög kvalitet
+ 2 Specifies antialiased rendering.
+
+
+ Hög hastighet
+ 1 Specifies no antialiasing.
+
+
+ Utjämningsläge
+
+
+ Ingen
+ 3 Specifies no antialiasing.
TextContrast
@@ -606,48 +597,29 @@ för funktioner och inställningar
Textkontrast
The gamma correction value used for rendering antialiased and ClearType text.
-
- Torsdag
-
-
- för att uppdatera applikationen.
-
-
- Försök att ladda ned manuellt från denna adress:
+
+ Exportera inställningar...
-
- Tisdag
+
+ Misslyckades exportera inställningar!
-
- Kunde inte tolka
+
+ Misslyckades importera inställningar!
-
- Något gick fel
+
+ Importera inställningar...
-
- UseApplicationLog
- Setting, do not change
+
+ Export av inställningar lyckades!
-
- Använd applikationslogg
+
+ Import av inställningar lyckades!
-
- UseSilentNotifications
+
+ IconBackgroundAlpha
Setting, do not change
-
- Använd tysta notiser
-
-
- version
-
-
- Onsdag
-
-
- Vecka
-
-
- År
+
+ Använd transparent bakgrund
\ No newline at end of file
diff --git a/Settings.cs b/Settings.cs
index 913f886..e92f951 100644
--- a/Settings.cs
+++ b/Settings.cs
@@ -276,7 +276,6 @@ private static void CreateSettings()
-
@@ -285,7 +284,6 @@ private static void CreateSettings()
-
";
File.Delete(settingsFile);
diff --git a/UpdateHandler.cs b/UpdateHandler.cs
deleted file mode 100644
index 4ebfd9f..0000000
--- a/UpdateHandler.cs
+++ /dev/null
@@ -1,467 +0,0 @@
-#region Using statements
-
-using System;
-using System.Configuration;
-using System.Diagnostics;
-using System.Globalization;
-using System.IO;
-using System.Net;
-using System.Net.Http;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using static System.Net.WebRequestMethods;
-
-#endregion Using statements
-
-namespace WeekNumber
-{
- internal sealed class UpdateHandler
- {
- #region Private constants
-
- private static readonly string VERSION_CHECK_BASE_URL = "https://github.com/voltura/WeekNumber/releases/latest/download/";
- private static readonly string VERSION_CHECK_URL = $"{VERSION_CHECK_BASE_URL}VERSION.TXT";
- internal static readonly string APPLICATION_URL = "https://voltura.github.io/WeekNumber/";
-
- #endregion Private constants
-
- #region Internal struct
-
- internal struct VersionInfo
- {
- public bool Error;
- public string Version;
- public string Installer;
- }
-
- #endregion Internal struct
-
- #region Private static variables
-
- private static readonly Lazy _lazy = new Lazy(() => new UpdateHandler());
-
- #endregion Private static variables
-
- #region Private variables
-
- private readonly HttpClient _client;
-
- #endregion Private variables
-
- #region Private constructor
-
- private UpdateHandler()
- {
- _client = new HttpClient();
- }
-
- #endregion Private constructor
-
- #region Internal instance (singleton)
-
- internal static UpdateHandler Instance { get { return _lazy.Value; } }
-
- #endregion Internal instance (singleton)
-
- #region Internal methods
-
- internal void UpdateClick(object sender, EventArgs e)
- {
- Log.LogCaller();
- PerformUpdateCheck();
- }
-
- internal void OpenApplicationWebPageClick(object sender, EventArgs e)
- {
- Log.LogCaller();
- try
- {
- using (Process process = new Process() { StartInfo = new ProcessStartInfo(APPLICATION_URL) { UseShellExecute = true } })
- {
- process.Start();
- }
- }
- catch (InvalidOperationException ex)
- {
- Message.Show(Resources.UnhandledException, ex);
- }
- }
-
- internal void PerformUpdateCheck(bool silent = false)
- {
- if (silent)
- {
- string lastUpdateValue = Settings.GetSetting("LastUpdateCheck");
- if (DateTime.TryParse(lastUpdateValue, out DateTime lastUpdate) &&
- (DateTime.Now - lastUpdate).TotalDays < 7)
- {
- // If less than a week since the last update, skip the silent update check
- return;
- }
- }
-
- Log.LogCaller();
- UpdateLastUpdateCheck();
- string runningVersion = Application.ProductVersion;
- VersionInfo internetVersionInfo = GetInternetVersion(silent);
- if (internetVersionInfo.Error) return;
- if (!IsNewerVersion(runningVersion, internetVersionInfo.Version))
- {
- LogAndShow($"\r\n\r\n{Resources.LatestVersionInstalled}", silent);
- return;
- }
- if (silent || Message.UserAcceptedQuestion($@"{Resources.NewVersionAvailable}
-
-{Resources.InstalledVersion} {runningVersion}
-{Resources.AvailableVersion} {internetVersionInfo.Version}
-
-{Resources.DownloadAndInstallQuestion}"))
- {
- string destinationFullPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Temp",
- internetVersionInfo.Installer);
-
- bool checksumDownloaded = DownloadFile(VERSION_CHECK_BASE_URL + internetVersionInfo.Installer + ".MD5", destinationFullPath + ".MD5");
- if (!checksumDownloaded)
- {
- LogAndShow($"{Resources.FailedToDownloadNewVersion}", silent);
- return;
- }
- bool installerDownloaded = DownloadFile(VERSION_CHECK_BASE_URL + internetVersionInfo.Installer, destinationFullPath);
- if (!installerDownloaded)
- {
- LogAndShow($"{Resources.FailedToDownloadNewVersion}", silent);
- return;
- }
- try
- {
- if (System.IO.File.Exists(destinationFullPath) &&
- System.IO.File.Exists(destinationFullPath + ".MD5"))
- {
- //remove smartscreen filter (alternative data stream Zone.Identifier) on downloaded installer executable file
- UnblockFile(destinationFullPath);
- //validate installer checksum
- string installerMD5 = CalculateMD5(destinationFullPath);
- string installerInternetMD5 = System.IO.File.ReadAllText(destinationFullPath + ".MD5").PadRight(32).Substring(0, 32);
- if (installerMD5 != installerInternetMD5)
- {
- LogAndShow($@"{Resources.FailedAutoInstall}
-{Resources.InvalidChecksumCouldNotAutoInstall}
-{Resources.CheckForNewVersionHere} {VERSION_CHECK_BASE_URL}", silent, new Exception($"{Resources.FailedAutoInstall} {Resources.InvalidChecksumCouldNotAutoInstall}"));
- return;
- }
- Settings.BackupSettings();
- //Start installer + close current app
- using (Process process = new Process()
- {
- StartInfo = new ProcessStartInfo(destinationFullPath)
- {
- UseShellExecute = true,
- CreateNoWindow = silent,
- WindowStyle = silent ? ProcessWindowStyle.Hidden : ProcessWindowStyle.Normal,
- Arguments = silent ? "/S" : string.Empty
- }
- })
- {
- process.Start();
- }
- Application.Exit();
- }
- else
- {
- LogAndShow($@"{Resources.FailedAutoInstall}
-
-{Resources.CheckForNewVersionHere} {VERSION_CHECK_BASE_URL}", silent, new Exception(Resources.FailedAutoInstall));
- return;
- }
- }
- catch (InvalidOperationException ex)
- {
- LogAndShow($@"{Resources.FailedToStartInstaller}
-
-{Resources.CloseAppAndManuallyRun} {destinationFullPath} {Resources.ToUpdateTheApplication}", silent, ex);
- return;
- }
-
- #region Previous code, can cause thread issues
- /*
- try
- {
- using (WebClient client = new WebClient())
- {
- client.DownloadFile(VERSION_CHECK_BASE_URL + internetVersionInfo.Installer + ".MD5", destinationFullPath + ".MD5");
- client.DownloadFile(VERSION_CHECK_BASE_URL + internetVersionInfo.Installer, destinationFullPath);
- }
- }
- catch (WebException we)
- {
- // The URI formed by combining System.Net.WebClient.BaseAddress and address is invalid.-or-
- // An error occurred while downloading the resource.
- LogAndShow($@"{Resources.FailedToDownloadNewVersion}
-
-{Resources.TryDownloadingManuallyFromThisAddress}
-
-{VERSION_CHECK_BASE_URL}", silent, we);
- return;
- }
- catch (NotSupportedException nse)
- {
- // The method has been called simultaneously on multiple threads.
- LogAndShow($@"{Resources.FailedToDownloadNewVersion}
-
-{Resources.TryDownloadingManuallyFromThisAddress}
-
-{VERSION_CHECK_BASE_URL}", silent, nse);
- }
- */
- #endregion Previous code, can cause thread issues
- }
- }
-
- #endregion Internal methods
-
- #region Private methods
-
- private void UpdateLastUpdateCheck()
- {
- Settings.UpdateSetting("LastUpdateCheck", DateTime.Now.ToString(CultureInfo.InvariantCulture));
- }
-
- private VersionInfo GetInternetVersion(bool silent)
- {
- Log.LogCaller();
- VersionInfo vi = new VersionInfo
- {
- Version = "0.0.0.0",
- Error = true
- };
- if (!NativeMethods.IsConnectedToInternet())
- {
- LogAndShow(Resources.FailedToCheckUpdateNoInternet, silent, new Exception(Resources.FailedToCheckUpdateNoInternet));
- return vi;
- }
- string versionInfoFromInternet = GetVersionInfo();
- Log.Info = $"versionInfoFromInternet='{versionInfoFromInternet}'";
- #region Replaced code
- /* synchronious version, not thread safe
- try
- {
- using (WebClient client = new WebClient())
- {
- versionInfoFromInternet = client.DownloadString(VERSION_CHECK_URL).Replace('\r', ' ').Replace('\n', ' ').TrimEnd();
- }
- Log.Info = $"versionInfoFromInternet='{versionInfoFromInternet}'";
- }
- catch (WebException we)
- {
- // The URI formed by combining System.Net.WebClient.BaseAddress and address is invalid.-or-
- // An error occurred while downloading the resource.
- LogAndShow($@"{Resources.FailedToPerformVersionCheck}
-
- {Resources.CheckBrowserNavigation}
- {VERSION_CHECK_BASE_URL}", silent, we);
- return vi;
- }
- catch (NotSupportedException nse)
- {
- // The method has been called simultaneously on multiple threads.
- LogAndShow($@"{Resources.FailedToPerformVersionCheck}
- {Resources.CheckForNewVersionHere}
- {VERSION_CHECK_BASE_URL}", silent, nse);
- return vi;
- }
- */
- #endregion Replaced code
- string[] versionInfo = versionInfoFromInternet.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
- if (versionInfo.Length != 2)
- {
- LogAndShow($@"{Resources.FailedToPerformVersionCheck}
-{Resources.UnableToParse} '{VERSION_CHECK_URL}' {Resources.Information}.
-{Resources.CheckForNewVersionHere}
-{VERSION_CHECK_BASE_URL}", silent, new InvalidDataException(Resources.FailedToPerformVersionCheck));
- return vi;
- }
- vi.Error = false;
- vi.Version = versionInfo[0];
- vi.Installer = versionInfo[1];
- return vi;
- }
-
- private string GetVersionInfo()
- {
- Log.LogCaller();
- string versionFromInternet = GetAsyncVersionInfo().GetAwaiter().GetResult();
- return versionFromInternet.Replace('\r', ' ').Replace('\n', ' ').TrimEnd();
- }
-
- private async Task GetAsyncVersionInfo()
- {
- Log.LogCaller();
- try
- {
- return await _client.GetStringAsync(VERSION_CHECK_URL).ConfigureAwait(false);
- }
- catch (Exception ex)
- {
- Log.Error = ex;
- }
- return string.Empty;
- }
-
- private bool DownloadFile(string source, string destination)
- {
- Log.LogCaller();
- try
- {
- if (System.IO.File.Exists(destination)) System.IO.File.Delete(destination);
- Task.Run(async () => { await new WebClient().DownloadFileTaskAsync(new Uri(source), destination); }).Wait();
- return System.IO.File.Exists(destination);
- }
- catch (Exception ex)
- {
- Log.Error = ex;
- }
- return false;
- }
-
- ///
- /// Check if a newer version exist
- ///
- ///
- ///
- ///
- private static bool IsNewerVersion(string existingVersion, string internetVersion)
- {
- Log.LogCaller();
- bool result = existingVersion != internetVersion;
- if (!result) return false;
- char[] dotSeparator = new char[] { '.' };
- string[] existingVersionParts = existingVersion.Split(dotSeparator);
- string[] internetVersionParts = internetVersion.Split(dotSeparator);
- bool parseVer = Int32.TryParse(existingVersionParts[0], out int eMajor);
- if (!parseVer) return result;
- parseVer = Int32.TryParse(internetVersionParts[0], out int iMajor);
- if (!parseVer) return result;
- if (iMajor > eMajor) return true;
- parseVer = Int32.TryParse(existingVersionParts[1], out int eMinor);
- if (!parseVer) return result;
- parseVer = Int32.TryParse(internetVersionParts[1], out int iMinor);
- if (!parseVer) return result;
- if (iMinor > eMinor) return true;
- parseVer = Int32.TryParse(existingVersionParts[2], out int eBuild);
- if (!parseVer) return result;
- parseVer = Int32.TryParse(internetVersionParts[2], out int iBuild);
- if (!parseVer) return result;
- if (iBuild > eBuild) return true;
- parseVer = Int32.TryParse(existingVersionParts[3], out int eRevision);
- if (!parseVer) return result;
- parseVer = Int32.TryParse(internetVersionParts[3], out int iRevision);
- if (!parseVer) return result;
- if (iRevision > eRevision) return true; else return false;
- }
-
- private static void LogAndShow(string msg, bool silent, Exception ex = null)
- {
- if (ex is null)
- {
- Log.Info = msg;
- if (!silent) Message.Show(msg);
- }
- else
- {
- Log.ErrorString = msg;
- Log.Error = ex;
- if (!silent) Message.Show(msg, isError: ex != null);
- }
- }
-
- private static string CalculateMD5(string filename)
- {
- Log.LogCaller();
- string fileMD5Hash = string.Empty;
- try
- {
- if (System.IO.File.Exists(filename))
- {
- using (System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5.Create())
- {
- using (FileStream stream = System.IO.File.OpenRead(filename))
- {
- byte[] hash = md5.ComputeHash(stream);
- fileMD5Hash = BitConverter.ToString(hash).Replace("-", "").ToLowerInvariant();
- Log.Info = $"Calculated MD5 hash for file '{filename}' to '{fileMD5Hash}'";
- }
- }
- }
- else
- {
- Log.ErrorString = $"Cannot calculate MD5 hash for file '{filename}' since the file does not exist.";
- }
- }
- catch (Exception ex)
- {
- Log.Error = ex;
- }
- return fileMD5Hash;
- }
-
- ///
- /// Removes Zone Identification tagging that are using Alternate Data Streams (Zone.Identifier) created on file
- /// when downloaded from internet, also called 'Mark of the Web'
- /// Allows to execute file without Microsoft Defender SmartScreen interferance.
- /// See https://www.winhelponline.com/blog/bulk-unblock-files-downloaded-internet/ for more info
- ///
- ///
- private static bool UnblockFile(string fullPath)
- {
- Log.LogCaller();
- bool result = false;
- string parameters = @"-Command ""& {Unblock-File -Path """ + fullPath + @""" }""";
- try
- {
- if (!System.IO.File.Exists(fullPath))
- {
- Log.ErrorString = $"File '{fullPath}' not found.";
- return result;
- }
- using (Process p = new Process()
- {
- StartInfo = new ProcessStartInfo("powershell.exe", parameters)
- {
- CreateNoWindow = true,
- WindowStyle = ProcessWindowStyle.Hidden,
- UseShellExecute = true
- }
- })
- {
- Log.Info = $"About to unblock file '{fullPath}'...";
- if (p.Start())
- {
- result = p.WaitForExit(10000);
- }
- else
- {
- Log.ErrorString = $"Failed to start 'powershell.exe {parameters}'";
- }
- }
- }
- catch (Exception ex)
- {
- Log.Error = ex;
- }
- finally
- {
- if (result)
- {
- Log.Info = $"File '{fullPath}' unblocked successfully.";
- }
- else
- {
- Log.ErrorString = $"Failed unblock file '{fullPath}'.";
- }
- }
- return result;
- }
-
- #endregion Private methods
- }
-}
diff --git a/WeekApplicationContext.cs b/WeekApplicationContext.cs
index 348e895..597054e 100644
--- a/WeekApplicationContext.cs
+++ b/WeekApplicationContext.cs
@@ -21,7 +21,6 @@ internal class WeekApplicationContext : ApplicationContext
private readonly Timer _timer;
private int _currentWeek;
private int _lastIconRes;
- private readonly UpdateHandler _updateHandler;
#endregion Private variables
@@ -32,8 +31,6 @@ internal WeekApplicationContext()
try
{
Log.LogCaller();
- //MonitorProcess.Run(); // Removed because of false positive virus varning
- _updateHandler = UpdateHandler.Instance;
Settings.StartWithWindows = Settings.SettingIsValue(Resources.StartWithWindows, true.ToString());
Application.ApplicationExit += OnApplicationExit;
SystemEvents.UserPreferenceChanged += OnUserPreferenceChanged;
@@ -42,7 +39,6 @@ internal WeekApplicationContext()
Gui = new TaskbarGui(_currentWeek, _lastIconRes);
Gui.UpdateRequest += GuiUpdateRequestHandler;
_timer = GetTimer;
- AutoUpdateCheck();
}
catch (Exception ex)
{
@@ -85,7 +81,6 @@ private Timer GetTimer
private void GuiUpdateRequestHandler(object sender, EventArgs e)
{
Log.LogCaller();
- AutoUpdateCheck();
UpdateIcon(true, true);
}
@@ -98,7 +93,6 @@ private void OnApplicationExit(object sender, EventArgs e)
private void OnUserPreferenceChanged(object sender, EventArgs e)
{
Log.LogCaller();
- AutoUpdateCheck();
int iconRes = WeekIcon.GetIconResolution(true);
if (iconRes != _lastIconRes)
{
@@ -110,17 +104,6 @@ private void OnUserPreferenceChanged(object sender, EventArgs e)
private void OnTimerTick(object sender, EventArgs e)
{
UpdateIcon();
- AutoUpdateCheck();
- }
-
- private void AutoUpdateCheck()
- {
- Log.LogCaller();
- if (!Settings.SettingIsValue(Resources.AutoUpdate, "True"))
- {
- return;
- }
- _updateHandler.PerformUpdateCheck(silent: true);
}
private void UpdateIcon(bool force = false, bool redrawContextMenu = false)
diff --git a/WeekNumber.csproj b/WeekNumber.csproj
index 5939267..b53fe22 100644
--- a/WeekNumber.csproj
+++ b/WeekNumber.csproj
@@ -125,7 +125,6 @@
MessageForm.cs
-
@@ -156,7 +155,6 @@
-
@@ -182,18 +180,6 @@
-
-
- False
- Microsoft .NET Framework 4.6.1 %28x86 and x64%29
- true
-
-
- False
- .NET Framework 3.5 SP1
- false
-
-
DateForm.cs
@@ -204,6 +190,7 @@
ResXFileCodeGenerator
Resources.de-DE.Designer.cs
+ Designer
ResXFileCodeGenerator
@@ -215,6 +202,7 @@
WeekNumber
ResXFileCodeGenerator
Resources.sv-SE.Designer.cs
+ Designer
ResXFileCodeGenerator
diff --git a/WeekNumber.sln b/WeekNumber.sln
index 857e95e..a9d2578 100644
--- a/WeekNumber.sln
+++ b/WeekNumber.sln
@@ -1,12 +1,10 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.31205.134
+# Visual Studio Version 17
+VisualStudioVersion = 17.11.35327.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WeekNumber", "WeekNumber.csproj", "{82D086D4-E145-4487-81FA-28BD3B1577D2}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WeekNumberMonitor", "WeekNumberMonitor\WeekNumberMonitor.csproj", "{89755684-7EB2-4687-B21F-5B6A7D55C7DB}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -27,16 +25,6 @@ Global
{82D086D4-E145-4487-81FA-28BD3B1577D2}.Release|x64.Build.0 = Release|x64
{82D086D4-E145-4487-81FA-28BD3B1577D2}.Release|x86.ActiveCfg = Release|x86
{82D086D4-E145-4487-81FA-28BD3B1577D2}.Release|x86.Build.0 = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Debug|Any CPU.ActiveCfg = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Debug|Any CPU.Build.0 = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Debug|x64.ActiveCfg = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Debug|x64.Build.0 = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Debug|x86.ActiveCfg = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Debug|x86.Build.0 = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Release|Any CPU.ActiveCfg = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Release|x64.ActiveCfg = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Release|x86.ActiveCfg = Release|x86
- {89755684-7EB2-4687-B21F-5B6A7D55C7DB}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/WeekNumberContextMenu.cs b/WeekNumberContextMenu.cs
index 040bc4e..ac5dc24 100644
--- a/WeekNumberContextMenu.cs
+++ b/WeekNumberContextMenu.cs
@@ -15,18 +15,11 @@ internal class WeekNumberContextMenu : IDisposable
#endregion Internal context menu
- #region Private variables
-
- private readonly UpdateHandler _updateHandler;
-
- #endregion Private variables
-
#region Internal contructor
internal WeekNumberContextMenu()
{
Log.LogCaller();
- _updateHandler = UpdateHandler.Instance;
CreateContextMenu();
}
@@ -346,27 +339,6 @@ private void StartWithWindowsClick(object o, EventArgs e)
}
}
- private void AutoUpdateClick(object o, EventArgs e)
- {
- try
- {
- Log.LogCaller();
- MenuItem mi = (MenuItem)o;
- if (mi != null)
- {
- mi.Enabled = false;
- mi.Checked = !mi.Checked;
- Settings.UpdateSetting(Resources.AutoUpdate, mi.Checked ? "True" : "False");
- EnableMenuItem(mi);
- SettingsChangedHandler?.Invoke(null, null);
- }
- }
- catch (Exception ex)
- {
- Message.Show(Resources.UnhandledException, ex);
- }
- }
-
private void AboutClick(object o, EventArgs e)
{
Log.LogCaller();
@@ -374,7 +346,7 @@ private void AboutClick(object o, EventArgs e)
try
{
mi.Enabled = false;
- Forms.MessageForm.LogAndDisplayLinkMessage(Resources.About, UpdateHandler.APPLICATION_URL);
+ Forms.MessageForm.LogAndDisplayMessage(Resources.About);
}
finally
{
@@ -485,14 +457,12 @@ private void ExportSettingsClick(object o, EventArgs e)
internal void CreateContextMenu()
{
Log.LogCaller();
- ContextMenu = new ContextMenu(new MenuItem[7]
+ ContextMenu = new ContextMenu(new MenuItem[5]
{
new MenuItem(Resources.AboutMenu, AboutClick)
{
DefaultItem = true
},
- new MenuItem(Resources.CheckForNewVersionMenu, _updateHandler.UpdateClick),
- new MenuItem(Resources.OpenApplicationWebPageMenu, _updateHandler.OpenApplicationWebPageClick),
SettingsMenu(),
new MenuItem(Resources.CheckWeekForDateMenu, CheckWeekForDateClick),
new MenuItem(Resources.SeparatorMenu),
@@ -507,16 +477,12 @@ internal void CreateContextMenu()
private MenuItem SettingsMenu()
{
Log.LogCaller();
- return new MenuItem(Resources.SettingsMenu, new MenuItem[10]
+ return new MenuItem(Resources.SettingsMenu, new MenuItem[9]
{
new MenuItem(Resources.StartWithWindowsMenu, StartWithWindowsClick)
{
Checked = Settings.StartWithWindows
},
- new MenuItem(Resources.AutoUpdateMenu, AutoUpdateClick)
- {
- Checked = Settings.SettingIsValue(Resources.AutoUpdate, "True")
- },
LanguageMenu(),
ApplicationLogMenu(),
NotificationsMenu(),
diff --git a/WeekNumberMonitor/AssemblyInfo.cs b/WeekNumberMonitor/AssemblyInfo.cs
index 21d31b2..e502c26 100644
--- a/WeekNumberMonitor/AssemblyInfo.cs
+++ b/WeekNumberMonitor/AssemblyInfo.cs
@@ -7,7 +7,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Voltura AB")]
[assembly: AssemblyProduct("WeekNumberMonitor")]
-[assembly: AssemblyCopyright("Copyright © Voltura AB 2022")]
+[assembly: AssemblyCopyright("Copyright © Voltura AB 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]