Update dependencies.

This commit is contained in:
2025-06-28 10:16:42 +08:00
parent 20130ef89e
commit e86f8b7f51
4 changed files with 123 additions and 117 deletions

View File

@@ -16,15 +16,13 @@ Future<void> _register(String scheme) async {
String appPath = Platform.resolvedExecutable;
String protocolRegKey = 'Software\\Classes\\$scheme';
RegistryValue protocolRegValue = const RegistryValue(
RegistryValue protocolRegValue = const RegistryValue.string(
'URL Protocol',
RegistryValueType.string,
'',
);
String protocolCmdRegKey = 'shell\\open\\command';
RegistryValue protocolCmdRegValue = RegistryValue(
RegistryValue protocolCmdRegValue = RegistryValue.string(
'',
RegistryValueType.string,
'"$appPath" "%1"',
);