installUpdate method

Future<void> installUpdate({
  1. required String stagingPath,
  2. List<String> removedFiles = const [],
  3. bool allowUnsignedMacOSUpdates = false,
  4. String? diagnosticsLogPath,
})

Installs a staged update, then lets the native helper relaunch the app.

Implementation

Future<void> installUpdate({
  /// Platform-specific staged artifact path.
  required String stagingPath,

  /// Legacy-compatible list of files removed during install.
  List<String> removedFiles = const [],

  /// Allows unsigned macOS update artifacts for explicitly trusted lanes.
  bool allowUnsignedMacOSUpdates = false,

  /// Optional app-owned native helper diagnostics log path.
  String? diagnosticsLogPath,
}) {
  throw UnimplementedError("installUpdate() has not been implemented.");
}