mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 14:23:42 +00:00
fix: upgrade to race-safe dart_ipc (#1479)
This commit is contained in:
14 files changed
+136
-79
No files matched your search
@@ -251,7 +251,7 @@ Future<String?> _getManifestPath(Browser browser) async {
|
||||
|
||||
Future<bool> _checkWindowsRegistry(String keyPath) async {
|
||||
try {
|
||||
final key = Registry.openPath(RegistryHive.localMachine, path: keyPath);
|
||||
final key = LOCAL_MACHINE.open(keyPath);
|
||||
key.close();
|
||||
return true;
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user