Skip to content

Commit 6359876

Browse files
committed
Updated test n keys script
1 parent 6c92a66 commit 6359876

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

scripts/keys-n-stuff.dart

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ Future<void> main() async {
8787
await copyFile('$source/prod.jks', 'android/app/prod.jks');
8888
}
8989

90+
await copyFile('$source/dev.properties', 'android/dev.properties');
91+
9092
// Copy keystore file to android/app
91-
final testKeystoreFile = File('$source/test.jks');
92-
if (await testKeystoreFile.exists()) {
93-
await copyFile('$source/prod.jks', 'android/app/test.jks');
93+
final devKeystoreFile = File('$source/dev.jks');
94+
if (await devKeystoreFile.exists()) {
95+
await copyFile('$source/dev.jks', 'android/app/dev.jks');
9496
}
9597

9698
final serviceAccountFile = File('$source/service-account.json');
@@ -99,7 +101,8 @@ Future<void> main() async {
99101
}
100102

101103
print(
102-
'Successfully copied all configuration files to their respective directories');
104+
'Successfully copied all configuration files to their respective directories',
105+
);
103106
} else {
104107
throw 'Unsupported project type: $projectType';
105108
}

0 commit comments

Comments
 (0)