File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/mediapipe-task-text Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ import 'dart:io';
22import 'package:native_assets_cli/native_assets_cli.dart' ;
33import 'package:http/http.dart' as http;
44
5- const assetFilename = 'libtext_classifier.dylib' ;
5+ const cloudAssetFilename = 'libtext_classifier-v0.0.3.dylib' ;
6+ const localAssetFilename = 'libtext_classifier.dylib' ;
67const assetLocation =
7- 'https://storage.googleapis.com/random-storage-asdf/$assetFilename ' ;
8+ 'https://storage.googleapis.com/random-storage-asdf/$cloudAssetFilename ' ;
89
910File outputFile = File (
1011 '/Users/craiglabenz/Dev/git/google/flutter-mediapipe/packages/mediapipe-task-text/logs-build.txt' );
@@ -25,7 +26,7 @@ void main(List<String> args) async {
2526Future <void > _build (List <String > args) async {
2627 final buildConfig = await BuildConfig .fromArgs (args);
2728 final buildOutput = BuildOutput ();
28- final downloadFileLocation = buildConfig.outDir.resolve (assetFilename );
29+ final downloadFileLocation = buildConfig.outDir.resolve (localAssetFilename );
2930 if (! buildConfig.dryRun) {
3031 final downloadUri = Uri .parse (assetLocation);
3132 log ('Downloading $downloadUri ' );
You can’t perform that action at this time.
0 commit comments