mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
15 lines
341 B
Dart
15 lines
341 B
Dart
|
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);
|
||
|
}
|