Skip to content

Commit

Permalink
Fix datagen filename
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Aug 22, 2024
1 parent 98af18c commit e939c5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/intl4x/hook/build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,10 @@ final class FetchMode extends BuildMode {
config.outputDirectory.resolve(config.filename('icu4x')),
);

final datagenName = config.targetOS.executableFileName('$target-datagen');
final datagen = await fetchToFile(
Uri.parse(
'https://github.com/dart-lang/i18n/releases/download/$version/$target-datagen'),
'https://github.com/dart-lang/i18n/releases/download/$version/$datagenName'),
config.outputDirectory.resolve('datagen'),
);

Expand Down

0 comments on commit e939c5a

Please sign in to comment.