mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Merge pull request #220 from cake-tech/pubspec-fixes
Add generation of of pubspec to app_config.sh
This commit is contained in:
@@ -22,4 +22,5 @@ esac
|
||||
|
||||
cd ../..
|
||||
flutter pub get
|
||||
flutter pub run tool/generate_pubspec.dart
|
||||
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|
||||
|
||||
@@ -25,6 +25,8 @@ case $APP_IOS_TYPE in
|
||||
;;
|
||||
esac
|
||||
|
||||
flutter pub get
|
||||
flutter pub run tool/generate_pubspec.dart
|
||||
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|
||||
cd $DIR
|
||||
$DIR/app_icon.sh
|
||||
|
||||
+1
-1
@@ -279,7 +279,7 @@ Future<void> generatePubspec({bool hasMonero, bool hasBitcoin}) async {
|
||||
cw_bitcoin:
|
||||
path: ./cw_bitcoin
|
||||
""";
|
||||
final inputFile = File(pubspecDefaultPath);
|
||||
final inputFile = File(pubspecOutputPath);
|
||||
final inputText = await inputFile.readAsString();
|
||||
final inputLines = inputText.split('\n');
|
||||
final dependenciesIndex = inputLines.indexWhere((line) => line.toLowerCase() == 'dependencies:');
|
||||
|
||||
Reference in New Issue
Block a user