openAssetFile method

  1. @visibleForTesting
Future<void> openAssetFile(
  1. File assetFile
)

Execute the downloaded '*.alfredworkflow' GithubAsset using the macOS open Command

Implementation

// coverage:ignore-start
@visibleForTesting
Future<void> openAssetFile(File assetFile) async {
  final result = await Process.run('open', [assetFile.absolute.path]);
  stdout.write(result.stdout);
  stderr.write(result.stderr);
}