Added script for generate key.properties file.

This commit is contained in:
M 2021-03-17 22:19:51 +02:00
parent 237141d4a7
commit ed336bdd18

View file

@ -0,0 +1,14 @@
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);
}