You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing a crash on the latest Flutter stable - the sign_update binary complains about not being able to modify the arguments list.
Unhandled exception:
Unsupported operation: Cannot add to a fixed-length list
#0 FixedLengthListMixin.add (dart:_internal/list.dart:21:5)#1 main ([...]/auto_updater-0.1.6/bin/sign_update.dart:21:17)#2 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:294:33)#3 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)
A simple patch would be to clone the arguments list instead of adding to it, like so:
final args =List<String>.from(arguments);
if (Platform.isWindows) {
if (args.length ==1) {
args.add('.\\dsa_priv.pem');
}
}
Process process =awaitProcess.start(
executable,
args,
);
I'd submit a PR but I don't think I have the privileges to push to this repository.
The text was updated successfully, but these errors were encountered:
I'm seeing a crash on the latest Flutter stable - the
sign_update
binary complains about not being able to modify thearguments
list.A simple patch would be to clone the
arguments
list instead of adding to it, like so:I'd submit a PR but I don't think I have the privileges to push to this repository.
The text was updated successfully, but these errors were encountered: