cake_wallet/tool/generate_android_key_properties.dart

15 lines
341 B
Dart
Raw Normal View History

import 'dart:io';
const outputPath = 'android/key.properties';
Future<void> main(List<String> args) async {
final output = args.fold('', (String acc, String arg) => acc + arg + '\n');
final outputFile = File(outputPath);
if (outputFile.existsSync()) {
await outputFile.delete();
}
await outputFile.writeAsString(output);
}