Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.15.0 #217

Merged
merged 36 commits into from
Dec 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
b6ee48e
Explicitely use NodeJS 20 in CI build
xavierfoucrier Sep 15, 2024
42789ae
♻️ refactor `sync-labels` workflow
xavierfoucrier Nov 22, 2024
29e9436
♻️ refactor `ci` workflow
xavierfoucrier Nov 22, 2024
52a161b
📦 update HtmlAgilityPack to 1.11.71
xavierfoucrier Nov 22, 2024
06fe8f3
📦 update Google.Apis.Gmail.v1 to 1.68.0.3427
xavierfoucrier Nov 22, 2024
40ff0e5
🐛 fix obsolete method
xavierfoucrier Nov 22, 2024
4adcf39
⬆️ upgrade log4net to 3.0.3
xavierfoucrier Nov 22, 2024
efa36ee
✏️ update visual studio version number
xavierfoucrier Nov 22, 2024
c92d891
🩹 fix synchronization loop
xavierfoucrier Nov 24, 2024
d97e11c
♻️ dispose cancellation when it is no longer needed
xavierfoucrier Nov 25, 2024
c2d73ad
💄 improve oauth message rendering
xavierfoucrier Nov 25, 2024
efc1946
♻️ move `ringtone` to notification class
xavierfoucrier Nov 26, 2024
9140189
✏️ fill missing comments
xavierfoucrier Nov 26, 2024
94a7102
✏️ use named parameter instead
xavierfoucrier Nov 26, 2024
8d966f8
♻️ refactor inbox `sync` core method
xavierfoucrier Nov 26, 2024
996da2c
💄 fix website link area
xavierfoucrier Nov 29, 2024
46abecf
⚡️ improve the way application restart is running
xavierfoucrier Nov 29, 2024
a72f836
⚡️ improve restart after an application update
xavierfoucrier Nov 29, 2024
5968f9d
🔒 use tls 1.3 to increase security with github
xavierfoucrier Nov 29, 2024
1c238b0
✨ properly store major/minor/patch core versions
xavierfoucrier Nov 29, 2024
d18b5d2
✏️ update visual studio version number
xavierfoucrier Nov 29, 2024
7c24444
⚡ use github api instead to get the last release
xavierfoucrier Nov 29, 2024
9642adc
📦 remove log4net package
xavierfoucrier Nov 29, 2024
a1c505e
📦 remove HtmlAgilityPack package
xavierfoucrier Nov 29, 2024
a7c5e29
✏️ rename endpoint property
xavierfoucrier Nov 30, 2024
6e682cf
⚡ only get `release` version type
xavierfoucrier Dec 2, 2024
5d157bf
🌐 add new translation for available major update
xavierfoucrier Dec 2, 2024
0a397c4
💄 focus the update button after balloon tip interaction
xavierfoucrier Dec 3, 2024
f6fa07e
✨ don't rely on tag when checking for updates
xavierfoucrier Dec 3, 2024
e1e3db5
♻️ set accessors default value
xavierfoucrier Dec 4, 2024
845c350
♻️ improve inbox sync at startup
xavierfoucrier Dec 4, 2024
1a83379
✨ manage major updates to prevent breaking changes
xavierfoucrier Dec 4, 2024
cff00e4
🐛 fix notification interaction when an update is available
xavierfoucrier Dec 4, 2024
a923c32
✏️ fix code indentation
xavierfoucrier Dec 4, 2024
7b27b7f
🔥 remove useless namespace
xavierfoucrier Dec 4, 2024
1b22674
🔖 bump version
xavierfoucrier Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
⚡️ improve restart after an application update
xavierfoucrier committed Nov 29, 2024
commit a72f8369683452de2d13f284d1dc2fe116c1937b
12 changes: 9 additions & 3 deletions code/Update.cs
Original file line number Diff line number Diff line change
@@ -218,12 +218,18 @@ public async Task Download() {

// start the setup installer when the download has complete and exit the current application
client.DownloadFileCompleted += (object source, AsyncCompletedEventArgs target) => {
Process.Start(new ProcessStartInfo("cmd.exe", $"/C ping 127.0.0.1 -n 2 && \"{updatepath}\" {(Settings.Default.UpdateQuiet ? "/verysilent" : "")}") {

// start a new process
Process.Start(new ProcessStartInfo {
FileName = updatepath,
UseShellExecute = true,
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true
CreateNoWindow = true,
Arguments = Settings.Default.UpdateQuiet ? "/verysilent" : ""
});

Application.Exit();
// exit the environment
Environment.Exit(0);
};

// ensure that the Github package URI is callable