File tree Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.2.1
2
+
3
+ * chore(windows): Support before-quit-for-update event
4
+
1
5
## 0.2.0
2
6
3
7
* feat: Convert to federated plugin
Original file line number Diff line number Diff line change 1
1
name : auto_updater
2
2
description : This plugin allows Flutter desktop apps to automatically update themselves (based on sparkle and winsparkle).
3
- version : 0.2.0
3
+ version : 0.2.1
4
4
homepage : https://github.com/leanflutter/auto_updater
5
5
6
6
platforms :
@@ -17,7 +17,7 @@ environment:
17
17
dependencies :
18
18
auto_updater_macos : ^0.2.0
19
19
auto_updater_platform_interface : ^0.2.0
20
- auto_updater_windows : ^0.2.0
20
+ auto_updater_windows : ^0.2.1
21
21
flutter :
22
22
sdk : flutter
23
23
json_annotation : ^4.8.0
Original file line number Diff line number Diff line change
1
+ ## 0.2.1
2
+
3
+ * chore(windows): Support before-quit-for-update event
4
+
1
5
## 0.2.0
2
6
3
7
* First release.
Original file line number Diff line number Diff line change 1
1
name : auto_updater_windows
2
2
description : Windows implementation of the auto_updater plugin.
3
- version : 0.2.0
3
+ version : 0.2.1
4
4
repository : https://github.com/leanflutter/auto_updater/tree/main/packages/auto_updater_windows
5
5
6
6
environment :
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ void __onShutdownRequestCallback() {
115
115
AutoUpdater* autoUpdater = AutoUpdater::GetInstance ();
116
116
if (autoUpdater == nullptr )
117
117
return ;
118
- autoUpdater->OnWinSparkleEvent (" shutdownRequest " );
118
+ autoUpdater->OnWinSparkleEvent (" before-quit-for-update " );
119
119
}
120
120
121
121
void __onDidFindUpdateCallback () {
@@ -164,6 +164,6 @@ void __onUserRunInstallerCallback() {
164
164
AutoUpdater* autoUpdater = AutoUpdater::GetInstance ();
165
165
if (autoUpdater == nullptr )
166
166
return ;
167
- autoUpdater->OnWinSparkleEvent (" before-quit-for-update " );
167
+ autoUpdater->OnWinSparkleEvent (" userRunInstaller " );
168
168
}
169
169
} // namespace
You can’t perform that action at this time.
0 commit comments