mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
generalize project config
This commit is contained in:
parent
9d872754ef
commit
f904d409a5
35 changed files with 123 additions and 91 deletions
|
@ -47,8 +47,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
applicationId "com.place.holder"
|
||||||
applicationId "com.cypherstack.stackwallet"
|
|
||||||
minSdkVersion 23
|
minSdkVersion 23
|
||||||
targetSdkVersion 33
|
targetSdkVersion 33
|
||||||
// ndkVersion = "21.1.6352462"
|
// ndkVersion = "21.1.6352462"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.cypherstack.stackwallet">
|
package="com.place.holder">
|
||||||
<!-- Flutter needs it to communicate with the running application
|
<!-- Flutter needs it to communicate with the running application
|
||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.cypherstack.stackwallet">
|
package="com.place.holder">
|
||||||
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
||||||
calls FlutterMain.startInitialization(this); in its onCreate method.
|
calls FlutterMain.startInitialization(this); in its onCreate method.
|
||||||
In most cases you can leave this as-is, but you if you want to provide
|
In most cases you can leave this as-is, but you if you want to provide
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||||
<application
|
<application
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:label="Stack Wallet"
|
android:label="PlaceHolderName"
|
||||||
android:requestLegacyExternalStorage="true"
|
android:requestLegacyExternalStorage="true"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter
|
<intent-filter
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="Stack Wallet"
|
android:label="PlaceHolderName"
|
||||||
android:priority="1">
|
android:priority="1">
|
||||||
<action android:name="android.intent.action.VIEW"/>
|
<action android:name="android.intent.action.VIEW"/>
|
||||||
<category android:name="android.intent.category.BROWSABLE"/>
|
<category android:name="android.intent.category.BROWSABLE"/>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.cypherstack.stackwallet
|
package com.place.holder
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import io.flutter.embedding.android.FlutterFragmentActivity
|
import io.flutter.embedding.android.FlutterFragmentActivity
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.cypherstack.stackwallet">
|
package="com.place.holder">
|
||||||
<!-- Flutter needs it to communicate with the running application
|
<!-- Flutter needs it to communicate with the running application
|
||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.cypherstack.stackwallet">
|
package="com.place.holder">
|
||||||
<!-- Flutter needs it to communicate with the running application
|
<!-- Flutter needs it to communicate with the running application
|
||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -525,7 +525,7 @@
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = "$(FLUTTER_BUILD_NAME)";
|
MARKETING_VERSION = "$(FLUTTER_BUILD_NAME)";
|
||||||
ONLY_ACTIVE_ARCH = NO;
|
ONLY_ACTIVE_ARCH = NO;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.cypherstack.stackwallet;
|
PRODUCT_BUNDLE_IDENTIFIER = com.place.holder;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
STRIP_INSTALLED_PRODUCT = NO;
|
STRIP_INSTALLED_PRODUCT = NO;
|
||||||
|
@ -716,7 +716,7 @@
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = "$(FLUTTER_BUILD_NAME)";
|
MARKETING_VERSION = "$(FLUTTER_BUILD_NAME)";
|
||||||
ONLY_ACTIVE_ARCH = NO;
|
ONLY_ACTIVE_ARCH = NO;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.cypherstack.stackwallet;
|
PRODUCT_BUNDLE_IDENTIFIER = com.place.holder;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
STRIP_INSTALLED_PRODUCT = NO;
|
STRIP_INSTALLED_PRODUCT = NO;
|
||||||
|
@ -799,7 +799,7 @@
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = "$(FLUTTER_BUILD_NAME)";
|
MARKETING_VERSION = "$(FLUTTER_BUILD_NAME)";
|
||||||
ONLY_ACTIVE_ARCH = NO;
|
ONLY_ACTIVE_ARCH = NO;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.cypherstack.stackwallet;
|
PRODUCT_BUNDLE_IDENTIFIER = com.place.holder;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
STRIP_INSTALLED_PRODUCT = NO;
|
STRIP_INSTALLED_PRODUCT = NO;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>Stack Wallet</string>
|
<string>PlaceHolderName</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
|
|
|
@ -13,6 +13,7 @@ import 'dart:io';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:flutter_svg/flutter_svg.dart';
|
import 'package:flutter_svg/flutter_svg.dart';
|
||||||
|
import 'package:stackwallet/app_config.dart';
|
||||||
import 'package:stackwallet/pages/settings_views/global_settings_view/startup_preferences/startup_wallet_selection_view.dart';
|
import 'package:stackwallet/pages/settings_views/global_settings_view/startup_preferences/startup_wallet_selection_view.dart';
|
||||||
import 'package:stackwallet/providers/providers.dart';
|
import 'package:stackwallet/providers/providers.dart';
|
||||||
import 'package:stackwallet/themes/coin_icon_provider.dart';
|
import 'package:stackwallet/themes/coin_icon_provider.dart';
|
||||||
|
@ -158,7 +159,7 @@ class _StartupPreferencesViewState
|
||||||
textAlign: TextAlign.left,
|
textAlign: TextAlign.left,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Stack Wallet home screen",
|
"${AppConfig.appName} home screen",
|
||||||
style:
|
style:
|
||||||
STextStyles.itemSubtitle(
|
STextStyles.itemSubtitle(
|
||||||
context),
|
context),
|
||||||
|
|
|
@ -15,6 +15,7 @@ import 'package:flutter/services.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:flutter_svg/svg.dart';
|
import 'package:flutter_svg/svg.dart';
|
||||||
import 'package:qr_flutter/qr_flutter.dart';
|
import 'package:qr_flutter/qr_flutter.dart';
|
||||||
|
import 'package:stackwallet/app_config.dart';
|
||||||
import 'package:stackwallet/notifications/show_flush_bar.dart';
|
import 'package:stackwallet/notifications/show_flush_bar.dart';
|
||||||
import 'package:stackwallet/pages/add_wallet_views/new_wallet_recovery_phrase_view/sub_widgets/mnemonic_table.dart';
|
import 'package:stackwallet/pages/add_wallet_views/new_wallet_recovery_phrase_view/sub_widgets/mnemonic_table.dart';
|
||||||
import 'package:stackwallet/pages/wallet_view/transaction_views/transaction_details_view.dart';
|
import 'package:stackwallet/pages/wallet_view/transaction_views/transaction_details_view.dart';
|
||||||
|
@ -126,7 +127,7 @@ class WalletBackupView extends ConsumerWidget {
|
||||||
"Your backup data is the only way you can access your "
|
"Your backup data is the only way you can access your "
|
||||||
"funds if you forget your PIN, lose your phone, etc."
|
"funds if you forget your PIN, lose your phone, etc."
|
||||||
"\n\n"
|
"\n\n"
|
||||||
"Stack Wallet does not keep nor is able to restore "
|
"${AppConfig.appName} does not keep nor is able to restore "
|
||||||
"your backup data. "
|
"your backup data. "
|
||||||
"Only you have access to your wallet.",
|
"Only you have access to your wallet.",
|
||||||
style: STextStyles.label(context),
|
style: STextStyles.label(context),
|
||||||
|
|
|
@ -14,6 +14,7 @@ import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:flutter_svg/svg.dart';
|
import 'package:flutter_svg/svg.dart';
|
||||||
|
import 'package:stackwallet/app_config.dart';
|
||||||
import 'package:stackwallet/notifications/show_flush_bar.dart';
|
import 'package:stackwallet/notifications/show_flush_bar.dart';
|
||||||
import 'package:stackwallet/pages/add_wallet_views/new_wallet_recovery_phrase_view/sub_widgets/mnemonic_table.dart';
|
import 'package:stackwallet/pages/add_wallet_views/new_wallet_recovery_phrase_view/sub_widgets/mnemonic_table.dart';
|
||||||
import 'package:stackwallet/pages/home_view/home_view.dart';
|
import 'package:stackwallet/pages/home_view/home_view.dart';
|
||||||
|
@ -202,7 +203,7 @@ class _DeleteWalletRecoveryPhraseViewState
|
||||||
"Your backup data is the only way you can access your "
|
"Your backup data is the only way you can access your "
|
||||||
"funds if you forget your PIN, lose your phone, etc."
|
"funds if you forget your PIN, lose your phone, etc."
|
||||||
"\n\n"
|
"\n\n"
|
||||||
"Stack Wallet does not keep nor is able to restore "
|
"${AppConfig.appName} does not keep nor is able to restore "
|
||||||
"your backup data. "
|
"your backup data. "
|
||||||
"Only you have access to your wallet.",
|
"Only you have access to your wallet.",
|
||||||
style: STextStyles.label(context),
|
style: STextStyles.label(context),
|
||||||
|
|
|
@ -13,6 +13,7 @@ import 'dart:io';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:flutter_svg/svg.dart';
|
import 'package:flutter_svg/svg.dart';
|
||||||
|
import 'package:stackwallet/app_config.dart';
|
||||||
import 'package:stackwallet/pages_desktop_specific/password/delete_password_warning_view.dart';
|
import 'package:stackwallet/pages_desktop_specific/password/delete_password_warning_view.dart';
|
||||||
import 'package:stackwallet/themes/stack_colors.dart';
|
import 'package:stackwallet/themes/stack_colors.dart';
|
||||||
import 'package:stackwallet/themes/theme_providers.dart';
|
import 'package:stackwallet/themes/theme_providers.dart';
|
||||||
|
@ -73,7 +74,7 @@ class _ForgotPasswordDesktopViewState
|
||||||
height: 42,
|
height: 42,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Stack Wallet",
|
AppConfig.appName,
|
||||||
style: STextStyles.desktopH1(context),
|
style: STextStyles.desktopH1(context),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
|
@ -82,7 +83,7 @@ class _ForgotPasswordDesktopViewState
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 400,
|
width: 400,
|
||||||
child: Text(
|
child: Text(
|
||||||
"Stack Wallet does not store your password. Create new wallet or use a Stack backup file to restore your wallet.",
|
"${AppConfig.appName} does not store your password. Create new wallet or use a Stack backup file to restore your wallet.",
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: STextStyles.desktopTextSmall(context).copyWith(
|
style: STextStyles.desktopTextSmall(context).copyWith(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
|
|
|
@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
|
||||||
|
|
||||||
# The name of the executable created for the application. Change this to change
|
# The name of the executable created for the application. Change this to change
|
||||||
# the on-disk name of your application.
|
# the on-disk name of your application.
|
||||||
set(BINARY_NAME "stack_wallet")
|
set(BINARY_NAME "place_holder")
|
||||||
# The unique GTK application identifier for this application. See:
|
# The unique GTK application identifier for this application. See:
|
||||||
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
||||||
set(APPLICATION_ID "com.cypherstack.stackwallet")
|
set(APPLICATION_ID "com.place.holder")
|
||||||
|
|
||||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||||
# versions of CMake.
|
# versions of CMake.
|
||||||
|
|
|
@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
|
||||||
if (use_header_bar) {
|
if (use_header_bar) {
|
||||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||||
gtk_header_bar_set_title(header_bar, "Stack Wallet");
|
gtk_header_bar_set_title(header_bar, "PlaceHolderName");
|
||||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||||
} else {
|
} else {
|
||||||
gtk_window_set_title(window, "Stack Wallet");
|
gtk_window_set_title(window, "PlaceHolderName");
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_window_set_default_size(window, 1220, 500);
|
gtk_window_set_default_size(window, 1220, 500);
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
|
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
|
||||||
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
|
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
|
||||||
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
|
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
|
||||||
33CC10ED2044A3C60003C045 /* Stack Wallet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Stack Wallet.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
33CC10ED2044A3C60003C045 /* PlaceHolderName.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "PlaceHolderName.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||||
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
|
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
|
||||||
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
||||||
|
@ -160,7 +160,7 @@
|
||||||
33CC10EE2044A3C60003C045 /* Products */ = {
|
33CC10EE2044A3C60003C045 /* Products */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
33CC10ED2044A3C60003C045 /* Stack Wallet.app */,
|
33CC10ED2044A3C60003C045 /* PlaceHolderName.app */,
|
||||||
331C80D5294CF71000263BE5 /* RunnerTests.xctest */,
|
331C80D5294CF71000263BE5 /* RunnerTests.xctest */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
|
@ -267,7 +267,7 @@
|
||||||
);
|
);
|
||||||
name = Runner;
|
name = Runner;
|
||||||
productName = Runner;
|
productName = Runner;
|
||||||
productReference = 33CC10ED2044A3C60003C045 /* Stack Wallet.app */;
|
productReference = 33CC10ED2044A3C60003C045 /* PlaceHolderName.app */;
|
||||||
productType = "com.apple.product-type.application";
|
productType = "com.apple.product-type.application";
|
||||||
};
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
@ -497,10 +497,10 @@
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.cypherstack.stackWallet.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = com.place.holderCamel.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Stack Wallet.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/stack_wallet";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PlaceHolderName.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/stack_wallet";
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
@ -512,10 +512,10 @@
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.cypherstack.stackWallet.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = com.place.holderCamel.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Stack Wallet.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/stack_wallet";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PlaceHolderName.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/stack_wallet";
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
@ -527,10 +527,10 @@
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 1;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
MARKETING_VERSION = 1.0;
|
MARKETING_VERSION = 1.0;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.cypherstack.stackWallet.RunnerTests;
|
PRODUCT_BUNDLE_IDENTIFIER = com.place.holderCamel.RunnerTests;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Stack Wallet.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/stack_wallet";
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PlaceHolderName.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/stack_wallet";
|
||||||
};
|
};
|
||||||
name = Profile;
|
name = Profile;
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "Stack Wallet.app"
|
BuildableName = "PlaceHolderName.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "Stack Wallet.app"
|
BuildableName = "PlaceHolderName.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "Stack Wallet.app"
|
BuildableName = "PlaceHolderName.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "Stack Wallet.app"
|
BuildableName = "PlaceHolderName.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
// 'flutter create' template.
|
// 'flutter create' template.
|
||||||
|
|
||||||
// The application's name. By default this is also the title of the Flutter window.
|
// The application's name. By default this is also the title of the Flutter window.
|
||||||
PRODUCT_NAME = Stack Wallet
|
PRODUCT_NAME = PlaceHolderName
|
||||||
|
|
||||||
// The application's bundle identifier
|
// The application's bundle identifier
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.cypherstack.stack_wallet
|
PRODUCT_BUNDLE_IDENTIFIER = com.place.holder_snake
|
||||||
|
|
||||||
// The copyright displayed in application information
|
// The copyright displayed in application information
|
||||||
PRODUCT_COPYRIGHT = Copyright © 2023 com.cypherstack. All rights reserved.
|
PRODUCT_COPYRIGHT = Copyright © 2023 com.cypherstack. All rights reserved.
|
||||||
|
|
|
@ -2,13 +2,6 @@
|
||||||
|
|
||||||
set -x -e
|
set -x -e
|
||||||
|
|
||||||
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../android/app/build.gradle
|
|
||||||
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../android/app/src/debug/AndroidManifest.xml
|
|
||||||
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../android/app/src/main/AndroidManifest.xml
|
|
||||||
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../android/app/src/main/kotlin/com/cypherstack/stackwallet/MainActivity.kt
|
|
||||||
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../android/app/src/main/profile/AndroidManifest.xml
|
|
||||||
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../android/app/src/profile/AndroidManifest.xml
|
|
||||||
|
|
||||||
# todo: revisit following at some point
|
# todo: revisit following at some point
|
||||||
|
|
||||||
# libepiccash requires old rust
|
# libepiccash requires old rust
|
||||||
|
|
|
@ -4,24 +4,23 @@ set -x -e
|
||||||
|
|
||||||
# Configure files for Duo.
|
# Configure files for Duo.
|
||||||
|
|
||||||
export ORIGINAL_NAME="Stack Wallet"
|
|
||||||
export ORIGINAL_APP_ID="com.cypherstack.stackwallet"
|
|
||||||
|
|
||||||
export NEW_NAME="Stack Duo"
|
export NEW_NAME="Stack Duo"
|
||||||
export NEW_APP_ID="com.cypherstack.stackduo"
|
export NEW_APP_ID="com.cypherstack.stackduo"
|
||||||
|
export NEW_APP_ID_CAMEL="com.cypherstack.stackDuo"
|
||||||
|
export NEW_APP_ID_SNAKE="com.cypherstack.stack_duo"
|
||||||
|
export NEW_BASIC_NAME="stack_duo"
|
||||||
|
|
||||||
|
NEW_PUBSPEC_NAME="stackduo"
|
||||||
PUBSPEC_FILE="${APP_PROJECT_ROOT_DIR}/pubspec.yaml"
|
PUBSPEC_FILE="${APP_PROJECT_ROOT_DIR}/pubspec.yaml"
|
||||||
PUBSPEC_NAME="stackduo"
|
|
||||||
PUBSPEC_DESC="Stack Duo"
|
|
||||||
|
|
||||||
# String replacements.
|
# String replacements.
|
||||||
if [[ "$(uname)" == 'Darwin' ]]; then
|
if [[ "$(uname)" == 'Darwin' ]]; then
|
||||||
# macos specific sed
|
# macos specific sed
|
||||||
sed -i '' "s/name: PLACEHOLDER/name: ${PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
sed -i '' "s/name: PLACEHOLDER/name: ${NEW_PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
sed -i '' "s/description: PLACEHOLDER/description: ${PUBSPEC_DESC}/g" "${PUBSPEC_FILE}"
|
sed -i '' "s/description: PLACEHOLDER/description: ${NEW_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
else
|
else
|
||||||
sed -i "s/name: PLACEHOLDER/name: ${PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
sed -i "s/name: PLACEHOLDER/name: ${NEW_PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
sed -i "s/description: PLACEHOLDER/description: ${PUBSPEC_DESC}/g" "${PUBSPEC_FILE}"
|
sed -i "s/description: PLACEHOLDER/description: ${NEW_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
APP_CONFIG_DART_FILE="${APP_PROJECT_ROOT_DIR}/lib/app_config.g.dart"
|
APP_CONFIG_DART_FILE="${APP_PROJECT_ROOT_DIR}/lib/app_config.g.dart"
|
||||||
|
|
|
@ -4,22 +4,23 @@ set -x -e
|
||||||
|
|
||||||
# Configure files for Stack Wallet.
|
# Configure files for Stack Wallet.
|
||||||
|
|
||||||
# currently unused
|
export NEW_NAME="Stack Wallet"
|
||||||
#export APP_NAME="Stack Wallet"
|
export NEW_APP_ID="com.cypherstack.stackwallet"
|
||||||
#export APP_ID="com.cypherstack.stackwallet"
|
export NEW_APP_ID_CAMEL="com.cypherstack.stackWallet"
|
||||||
|
export NEW_APP_ID_SNAKE="com.cypherstack.stack_wallet"
|
||||||
|
export NEW_BASIC_NAME="stack_wallet"
|
||||||
|
|
||||||
|
NEW_PUBSPEC_NAME="stackwallet"
|
||||||
PUBSPEC_FILE="${APP_PROJECT_ROOT_DIR}/pubspec.yaml"
|
PUBSPEC_FILE="${APP_PROJECT_ROOT_DIR}/pubspec.yaml"
|
||||||
PUBSPEC_NAME="stackwallet"
|
|
||||||
PUBSPEC_DESC="Stack Wallet"
|
|
||||||
|
|
||||||
# String replacements.
|
# String replacements.
|
||||||
if [[ "$(uname)" == 'Darwin' ]]; then
|
if [[ "$(uname)" == 'Darwin' ]]; then
|
||||||
# macos specific sed
|
# macos specific sed
|
||||||
sed -i '' "s/name: PLACEHOLDER/name: ${PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
sed -i '' "s/name: PLACEHOLDER/name: ${NEW_PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
sed -i '' "s/description: PLACEHOLDER/description: ${PUBSPEC_DESC}/g" "${PUBSPEC_FILE}"
|
sed -i '' "s/description: PLACEHOLDER/description: ${NEW_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
else
|
else
|
||||||
sed -i "s/name: PLACEHOLDER/name: ${PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
sed -i "s/name: PLACEHOLDER/name: ${NEW_PUBSPEC_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
sed -i "s/description: PLACEHOLDER/description: ${PUBSPEC_DESC}/g" "${PUBSPEC_FILE}"
|
sed -i "s/description: PLACEHOLDER/description: ${NEW_NAME}/g" "${PUBSPEC_FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
11
scripts/app_config/platforms/android/platform_config.sh
Executable file
11
scripts/app_config/platforms/android/platform_config.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x -e
|
||||||
|
|
||||||
|
sed -i "s/${APP_ID_PLACEHOLDER}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/android/app/build.gradle"
|
||||||
|
sed -i "s/${APP_ID_PLACEHOLDER}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/android/app/src/debug/AndroidManifest.xml"
|
||||||
|
sed -i "s/${APP_ID_PLACEHOLDER}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/android/app/src/profile/AndroidManifest.xml"
|
||||||
|
sed -i "s/${APP_ID_PLACEHOLDER}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/android/app/src/main/AndroidManifest.xml"
|
||||||
|
sed -i "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/android/app/src/main/AndroidManifest.xml"
|
||||||
|
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/android/app/src/main/profile/AndroidManifest.xml"
|
||||||
|
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/android/app/src/main/kotlin/com/cypherstack/stackwallet/MainActivity.kt"
|
7
scripts/app_config/platforms/ios/platform_config.sh
Executable file
7
scripts/app_config/platforms/ios/platform_config.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x -e
|
||||||
|
|
||||||
|
# Configure ios for Duo.
|
||||||
|
sed -i '' "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/ios/Runner/Info.plist"
|
||||||
|
sed -i '' "s/${APP_ID_PLACEHOLDER}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/ios/Runner.xcodeproj/project.pbxproj"
|
7
scripts/app_config/platforms/linux/platform_config.sh
Executable file
7
scripts/app_config/platforms/linux/platform_config.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x -e
|
||||||
|
|
||||||
|
# Configure Linux for Duo.
|
||||||
|
sed -i "s/${APP_BASIC_NAME_PLACEHOLDER}/${NEW_BASIC_NAME}/g" "${APP_PROJECT_ROOT_DIR}/linux/CMakeLists.txt"
|
||||||
|
sed -i "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/linux/my_application.cc"
|
10
scripts/app_config/platforms/macos/platform_config.sh
Executable file
10
scripts/app_config/platforms/macos/platform_config.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x -e
|
||||||
|
|
||||||
|
# Configure macOS for Duo.
|
||||||
|
sed -i '' "s/${APP_ID_PLACEHOLDER_CAMEL}/${NEW_APP_ID_CAMEL}/g" "${APP_PROJECT_ROOT_DIR}/macos/Runner.xcodeproj/project.pbxproj"
|
||||||
|
sed -i '' "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/macos/Runner.xcodeproj/project.pbxproj"
|
||||||
|
sed -i '' "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme"
|
||||||
|
sed -i '' "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/macos/Runner/Configs/AppInfo.xcconfig"
|
||||||
|
sed -i '' "s/${APP_ID_PLACEHOLDER_SNAKE}/${NEW_APP_ID_SNAKE}/g" "${APP_PROJECT_ROOT_DIR}/macos/Runner/Configs/AppInfo.xcconfig"
|
8
scripts/app_config/platforms/windows/platform_config.sh
Executable file
8
scripts/app_config/platforms/windows/platform_config.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x -e
|
||||||
|
|
||||||
|
# Configure Windows for Duo.
|
||||||
|
sed -i "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/windows/runner/Runner.rc"
|
||||||
|
sed -i "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/windows/runner/main.cpp"
|
||||||
|
sed -i "s/${APP_BASIC_NAME_PLACEHOLDER}/${NEW_BASIC_NAME}/g" "${APP_PROJECT_ROOT_DIR}/windows/CMakeLists.txt"
|
|
@ -24,6 +24,3 @@ ln -s "${ASSET_SOURCES_DIR}/icon/${SELECT_ASSETS_DIR}" "${ASSETS_DIR}/icon"
|
||||||
|
|
||||||
rm -f "${ASSETS_DIR}/lottie"
|
rm -f "${ASSETS_DIR}/lottie"
|
||||||
ln -s "${ASSET_SOURCES_DIR}/lottie/${SELECT_ASSETS_DIR}" "${ASSETS_DIR}/lottie"
|
ln -s "${ASSET_SOURCES_DIR}/lottie/${SELECT_ASSETS_DIR}" "${ASSETS_DIR}/lottie"
|
||||||
|
|
||||||
# run icon and image generators
|
|
||||||
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/asset_generators.sh"
|
|
|
@ -54,8 +54,7 @@ if [ -z "$APP_NAMED_ID" ]; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# checks for the correct platform dir and pushes it for later
|
||||||
|
|
||||||
if printf '%s\0' "${APP_PLATFORMS[@]}" | grep -Fxqz -- "${APP_BUILD_PLATFORM}"; then
|
if printf '%s\0' "${APP_PLATFORMS[@]}" | grep -Fxqz -- "${APP_BUILD_PLATFORM}"; then
|
||||||
pushd "${APP_PROJECT_ROOT_DIR}/scripts/${APP_BUILD_PLATFORM}"
|
pushd "${APP_PROJECT_ROOT_DIR}/scripts/${APP_BUILD_PLATFORM}"
|
||||||
else
|
else
|
||||||
|
@ -63,16 +62,21 @@ else
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# apply config project wide change changes
|
||||||
if printf '%s\0' "${APP_NAMED_IDS[@]}" | grep -Fxqz -- "${APP_NAMED_ID}"; then
|
if printf '%s\0' "${APP_NAMED_IDS[@]}" | grep -Fxqz -- "${APP_NAMED_ID}"; then
|
||||||
# shellcheck disable=SC1090
|
|
||||||
source "${APP_PROJECT_ROOT_DIR}/scripts/app_config/configure_${APP_NAMED_ID}.sh"
|
|
||||||
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/update_version.sh" -v "${APP_VERSION_STRING}" -b "${APP_BUILD_NUMBER}"
|
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/update_version.sh" -v "${APP_VERSION_STRING}" -b "${APP_BUILD_NUMBER}"
|
||||||
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/link_assets.sh" "${APP_NAMED_ID}"
|
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/link_assets.sh" "${APP_NAMED_ID}"
|
||||||
|
# shellcheck disable=SC1090
|
||||||
|
source "${APP_PROJECT_ROOT_DIR}/scripts/app_config/configure_${APP_NAMED_ID}.sh"
|
||||||
|
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/platforms/${APP_BUILD_PLATFORM}/platform_config.sh"
|
||||||
else
|
else
|
||||||
echo "Invalid app id: ${APP_NAMED_ID}"
|
echo "Invalid app id: ${APP_NAMED_ID}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# run icon and image generators after project config has completed
|
||||||
|
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/asset_generators.sh"
|
||||||
|
|
||||||
if [ "$BUILD_CRYPTO_PLUGINS" -eq 0 ]; then
|
if [ "$BUILD_CRYPTO_PLUGINS" -eq 0 ]; then
|
||||||
if [[ "$APP_NAMED_ID" = "stack_wallet" ]]; then
|
if [[ "$APP_NAMED_ID" = "stack_wallet" ]]; then
|
||||||
./build_all.sh
|
./build_all.sh
|
||||||
|
|
|
@ -6,4 +6,10 @@ set -x -e
|
||||||
THIS_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
THIS_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
pushd "${THIS_SCRIPT_DIR}/../"
|
pushd "${THIS_SCRIPT_DIR}/../"
|
||||||
export APP_PROJECT_ROOT_DIR="$(pwd)"
|
export APP_PROJECT_ROOT_DIR="$(pwd)"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
export APP_NAME_PLACEHOLDER="PlaceHolderName"
|
||||||
|
export APP_ID_PLACEHOLDER="com.place.holder"
|
||||||
|
export APP_ID_PLACEHOLDER_CAMEL="com.place.holderCamel"
|
||||||
|
export APP_ID_PLACEHOLDER_SNAKE="com.place.holder_snake"
|
||||||
|
export APP_BASIC_NAME_PLACEHOLDER="place_holder"
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
|
|
||||||
set -x -e
|
set -x -e
|
||||||
|
|
||||||
# Configure ios for Duo.
|
|
||||||
sed -i '' "s/${ORIGINAL_NAME}/${NEW_NAME}/g" ../../ios/Runner/Info.plist
|
|
||||||
sed -i '' "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../ios/Runner.xcodeproj/project.pbxproj
|
|
||||||
|
|
||||||
# todo: revisit following at some point
|
# todo: revisit following at some point
|
||||||
|
|
||||||
# libepiccash requires old rust
|
# libepiccash requires old rust
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
|
|
||||||
set -x -e
|
set -x -e
|
||||||
|
|
||||||
# Configure Linux for Duo.
|
|
||||||
sed -i "s/${ORIGINAL_APP_ID}/${NEW_APP_ID}/g" ../../linux/CMakeLists.txt
|
|
||||||
sed -i "s/${ORIGINAL_NAME}/${NEW_NAME}/g" ../../linux/my_application.cc
|
|
||||||
|
|
||||||
# todo: revisit following at some point
|
# todo: revisit following at some point
|
||||||
|
|
||||||
# libepiccash requires old rust
|
# libepiccash requires old rust
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
set -x -e
|
set -x -e
|
||||||
|
|
||||||
# Configure macOS for Duo.
|
|
||||||
sed -i '' 's/com.cypherstack.stackWallet/com.cypherstack.stackDuo/g' ../../macos/Runner.xcodeproj/project.pbxproj
|
|
||||||
|
|
||||||
# todo: revisit following at some point
|
# todo: revisit following at some point
|
||||||
|
|
||||||
# libepiccash requires old rust
|
# libepiccash requires old rust
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
set -x -e
|
set -x -e
|
||||||
|
|
||||||
# Configure Windows for Duo.
|
|
||||||
sed -i 's/Stack Wallet/Stack Duo/g' ../../windows/runner/Runner.rc
|
|
||||||
|
|
||||||
# todo: revisit following at some point
|
# todo: revisit following at some point
|
||||||
|
|
||||||
# libepiccash requires old rust
|
# libepiccash requires old rust
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Project-level configuration.
|
# Project-level configuration.
|
||||||
cmake_minimum_required(VERSION 3.14)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
project(stack_wallet LANGUAGES CXX)
|
project(place_holder LANGUAGES CXX)
|
||||||
|
|
||||||
# The name of the executable created for the application. Change this to change
|
# The name of the executable created for the application. Change this to change
|
||||||
# the on-disk name of your application.
|
# the on-disk name of your application.
|
||||||
set(BINARY_NAME "stack_wallet")
|
set(BINARY_NAME "place_holder")
|
||||||
|
|
||||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||||
# versions of CMake.
|
# versions of CMake.
|
||||||
|
|
|
@ -90,12 +90,12 @@ BEGIN
|
||||||
BLOCK "040904e4"
|
BLOCK "040904e4"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "com.cypherstack" "\0"
|
VALUE "CompanyName", "com.cypherstack" "\0"
|
||||||
VALUE "FileDescription", "Stack Wallet" "\0"
|
VALUE "FileDescription", "PlaceHolderName" "\0"
|
||||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||||
VALUE "InternalName", "Stack Wallet" "\0"
|
VALUE "InternalName", "PlaceHolderName" "\0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2022 com.cypherstack. All rights reserved." "\0"
|
VALUE "LegalCopyright", "Copyright (C) 2022 com.cypherstack. All rights reserved." "\0"
|
||||||
VALUE "OriginalFilename", "Stack Wallet.exe" "\0"
|
VALUE "OriginalFilename", "PlaceHolderName.exe" "\0"
|
||||||
VALUE "ProductName", "Stack Wallet" "\0"
|
VALUE "ProductName", "PlaceHolderName" "\0"
|
||||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
|
@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
||||||
FlutterWindow window(project);
|
FlutterWindow window(project);
|
||||||
Win32Window::Point origin(10, 10);
|
Win32Window::Point origin(10, 10);
|
||||||
Win32Window::Size size(1280, 720);
|
Win32Window::Size size(1280, 720);
|
||||||
if (!window.CreateAndShow(L"Stack Wallet", origin, size)) {
|
if (!window.CreateAndShow(L"PlaceHolderName", origin, size)) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
window.SetQuitOnClose(true);
|
window.SetQuitOnClose(true);
|
||||||
|
|
Loading…
Reference in a new issue