mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 20:49:28 +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);
|
||
|
}
|