File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ build-android:
15
15
16
16
build-macos :
17
17
flutter build macos --no-tree-shake-icons --release
18
+ codesign -f -s " Developer ID Application: YIYAO GUAN (N95437SZ2A)" build/macos/Build/Products/Release/AIdea.app
19
+ productbuild --component AIdea.app /Applications --sign " Developer ID Installer: YIYAO GUAN (N95437SZ2A)" --product AIdea.app/Contents/Info.plist AIdea.pkg
18
20
open build/macos/Build/Products/Release/
19
21
20
22
build-web :
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ part 'payment_state.dart';
11
11
class PaymentBloc extends Bloc <PaymentEvent , PaymentState > {
12
12
PaymentBloc () : super (PaymentInitial ()) {
13
13
on < PaymentLoadAppleProducts > ((event, emit) async {
14
- if (PlatformTool .isIOS () || PlatformTool . isMacOS () ) {
14
+ if (PlatformTool .isIOS ()) {
15
15
final products = await APIServer ().applePayProducts ();
16
16
if (products.consume.isEmpty) {
17
17
emit (PaymentAppleProductsLoaded (
You can’t perform that action at this time.
0 commit comments