split script

back into platform-specific scripts
This commit is contained in:
sneurlax 2024-05-15 17:45:29 -05:00
parent 5c7e4960c4
commit 966bc81662
6 changed files with 17 additions and 12 deletions

View file

@ -0,0 +1,7 @@
# Configure Android for Duo.
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../../android/app/build.gradle
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../../android/app/src/debug/AndroidManifest.xml
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../../android/app/src/main/AndroidManifest.xml
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../../android/app/src/main/kotlin/com/cypherstack/stackwallet/MainActivity.kt
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../../android/app/src/main/profile/AndroidManifest.xml
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../../android/app/src/profile/AndroidManifest.xml

View file

@ -1,15 +1,3 @@
# Configure files for Duo.
sed -i 's/Wallet/Duo/g' ../lib/app_config.dart
sed -i 's/Stack Wallet/Stack Duo/g' ../pubspec.yaml
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../android/app/build.gradle
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../android/app/src/debug/AndroidManifest.xml
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../android/app/src/main/AndroidManifest.xml
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../android/app/src/main/kotlin/com/cypherstack/stackwallet/MainActivity.kt
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../android/app/src/main/profile/AndroidManifest.xml
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../android/app/src/profile/AndroidManifest.xml
sed -i 's/Stack Wallet/Stack Duo/g' ../ios/Runner/Info.plist
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../ios/Runner.xcodeproj/project.pbxproj
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../linux/CMakeLists.txt
sed -i 's/Stack Wallet/Stack Duo/g' ../linux/my_application.cc
sed -i 's/com.cypherstack.stackWallet/com.cypherstack.stackDuo/g' ../macos/Runner.xcodeproj/project.pbxproj
sed -i 's/Stack Wallet/Stack Duo/g' ../windows/runner/Runner.rc

View file

@ -0,0 +1,3 @@
# Configure iOS for Duo.
sed -i 's/Stack Wallet/Stack Duo/g' ../ios/Runner/Info.plist
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../ios/Runner.xcodeproj/project.pbxproj

3
scripts/linux/configure_duo.sh Executable file
View file

@ -0,0 +1,3 @@
# Configure Linux for Duo.
sed -i 's/com.cypherstack.stackwallet/com.cypherstack.stackduo/g' ../../linux/CMakeLists.txt
sed -i 's/Stack Wallet/Stack Duo/g' ../../linux/my_application.cc

View file

@ -0,0 +1,2 @@
# Configure macOS for Duo.
sed -i 's/com.cypherstack.stackWallet/com.cypherstack.stackDuo/g' ../macos/Runner.xcodeproj/project.pbxproj

View file

@ -0,0 +1,2 @@
# Configure Windows for Duo.
sed -i 's/Stack Wallet/Stack Duo/g' ../windows/runner/Runner.rc