From 6b6ccf872b7c3a90f6554e9fd3f670e2d1e143cd Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Wed, 3 Aug 2022 21:07:41 +1000 Subject: [PATCH] `desktop_photo_search` bugfix the rebuild script (#1358) --- desktop_photo_search/codelab_rebuild.yaml | 124 +++++++++++----------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/desktop_photo_search/codelab_rebuild.yaml b/desktop_photo_search/codelab_rebuild.yaml index 9a5673056..1c19500af 100644 --- a/desktop_photo_search/codelab_rebuild.yaml +++ b/desktop_photo_search/codelab_rebuild.yaml @@ -12,38 +12,38 @@ steps: flutter: create --platforms windows,linux,macos --project-name desktop_photo_search . - name: Replace fluent_ui/macos/Runner/DebugProfile.entitlements path: fluent_ui/macos/Runner/DebugProfile.entitlements - replace-contents: - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.files.user-selected.read-write - - com.apple.security.network.client - - com.apple.security.network.server - - - + patch-u: | + --- b/desktop_photo_search/fluent_ui/macos/Runner/DebugProfile.entitlements + +++ a/desktop_photo_search/fluent_ui/macos/Runner/DebugProfile.entitlements + @@ -6,6 +6,10 @@ + + com.apple.security.cs.allow-jit + + + com.apple.security.files.user-selected.read-write + + + + com.apple.security.network.client + + + com.apple.security.network.server + + - name: Patch fluent_ui/macos/Runner/Release.entitlements path: fluent_ui/macos/Runner/Release.entitlements - replace-contents: - - - - - com.apple.security.app-sandbox - - com.apple.security.files.user-selected.read-write - - com.apple.security.network.client - - - + patch-u: | + --- b/desktop_photo_search/fluent_ui/macos/Runner/Release.entitlements + +++ a/desktop_photo_search/fluent_ui/macos/Runner/Release.entitlements + @@ -4,5 +4,9 @@ + + com.apple.security.app-sandbox + + + com.apple.security.files.user-selected.read-write + + + + com.apple.security.network.client + + + + + - name: Flutter upgrade + path: fluent_ui + flutter: pub upgrade --major-versions - name: Flutter build macOS path: fluent_ui flutter: build macos @@ -58,41 +58,38 @@ steps: flutter: create --platforms windows,linux,macos --project-name desktop_photo_search . - name: Replace material/macos/Runner/DebugProfile.entitlements path: material/macos/Runner/DebugProfile.entitlements - replace-contents: - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.files.user-selected.read-write - - com.apple.security.network.client - - com.apple.security.network.server - - - + patch-u: | + --- b/desktop_photo_search/material/macos/Runner/DebugProfile.entitlements + +++ a/desktop_photo_search/material/macos/Runner/DebugProfile.entitlements + @@ -6,6 +6,10 @@ + + com.apple.security.cs.allow-jit + + + com.apple.security.files.user-selected.read-write + + + + com.apple.security.network.client + + + com.apple.security.network.server + + - name: Replace material/macos/Runner/Release.entitlements path: material/macos/Runner/Release.entitlements - replace-contents: - - - - - com.apple.security.app-sandbox - - com.apple.security.files.user-selected.read-write - - com.apple.security.network.client - - - + patch-u: | + --- b/desktop_photo_search/material/macos/Runner/Release.entitlements + +++ a/desktop_photo_search/material/macos/Runner/Release.entitlements + @@ -4,5 +4,9 @@ + + com.apple.security.app-sandbox + + + com.apple.security.files.user-selected.read-write + + + + com.apple.security.network.client + + + + - name: Patch material/macos/Runner/Base.lproj/MainMenu.xib path: material/macos/Runner/Base.lproj/MainMenu.xib - patch-u: + patch-u: | --- b/desktop_photo_search/material/macos/Runner/Base.lproj/MainMenu.xib +++ a/desktop_photo_search/material/macos/Runner/Base.lproj/MainMenu.xib @@ -330,10 +330,11 @@ @@ -109,7 +106,10 @@ steps: + - + + - name: Flutter upgrade + path: material + flutter: pub upgrade --major-versions - name: Flutter build macOS path: material flutter: build macos