`desktop_photo_search` bugfix the rebuild script (#1358)

pull/1362/head
Brett Morgan 3 years ago committed by GitHub
parent f99aa192b8
commit 6b6ccf872b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,38 +12,38 @@ steps:
flutter: create --platforms windows,linux,macos --project-name desktop_photo_search . flutter: create --platforms windows,linux,macos --project-name desktop_photo_search .
- name: Replace fluent_ui/macos/Runner/DebugProfile.entitlements - name: Replace fluent_ui/macos/Runner/DebugProfile.entitlements
path: fluent_ui/macos/Runner/DebugProfile.entitlements path: fluent_ui/macos/Runner/DebugProfile.entitlements
replace-contents: patch-u: |
<?xml version="1.0" encoding="UTF-8"?> --- b/desktop_photo_search/fluent_ui/macos/Runner/DebugProfile.entitlements
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +++ a/desktop_photo_search/fluent_ui/macos/Runner/DebugProfile.entitlements
<plist version="1.0"> @@ -6,6 +6,10 @@
<dict> <true/>
<key>com.apple.security.app-sandbox</key> <key>com.apple.security.cs.allow-jit</key>
<true/> <true/>
<key>com.apple.security.cs.allow-jit</key> + <key>com.apple.security.files.user-selected.read-write</key>
<true/> + <true/>
<key>com.apple.security.files.user-selected.read-write</key> + <key>com.apple.security.network.client</key>
<true/> + <true/>
<key>com.apple.security.network.client</key> <key>com.apple.security.network.server</key>
<true/> <true/>
<key>com.apple.security.network.server</key> </dict>
<true/>
</dict>
</plist>
- name: Patch fluent_ui/macos/Runner/Release.entitlements - name: Patch fluent_ui/macos/Runner/Release.entitlements
path: fluent_ui/macos/Runner/Release.entitlements path: fluent_ui/macos/Runner/Release.entitlements
replace-contents: patch-u: |
<?xml version="1.0" encoding="UTF-8"?> --- b/desktop_photo_search/fluent_ui/macos/Runner/Release.entitlements
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +++ a/desktop_photo_search/fluent_ui/macos/Runner/Release.entitlements
<plist version="1.0"> @@ -4,5 +4,9 @@
<dict> <dict>
<key>com.apple.security.app-sandbox</key> <key>com.apple.security.app-sandbox</key>
<true/> <true/>
<key>com.apple.security.files.user-selected.read-write</key> + <key>com.apple.security.files.user-selected.read-write</key>
<true/> + <true/>
<key>com.apple.security.network.client</key> + <key>com.apple.security.network.client</key>
<true/> + <true/>
</dict> </dict>
</plist> </plist>
- name: Flutter upgrade
path: fluent_ui
flutter: pub upgrade --major-versions
- name: Flutter build macOS - name: Flutter build macOS
path: fluent_ui path: fluent_ui
flutter: build macos flutter: build macos
@ -58,41 +58,38 @@ steps:
flutter: create --platforms windows,linux,macos --project-name desktop_photo_search . flutter: create --platforms windows,linux,macos --project-name desktop_photo_search .
- name: Replace material/macos/Runner/DebugProfile.entitlements - name: Replace material/macos/Runner/DebugProfile.entitlements
path: material/macos/Runner/DebugProfile.entitlements path: material/macos/Runner/DebugProfile.entitlements
replace-contents: patch-u: |
<?xml version="1.0" encoding="UTF-8"?> --- b/desktop_photo_search/material/macos/Runner/DebugProfile.entitlements
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +++ a/desktop_photo_search/material/macos/Runner/DebugProfile.entitlements
<plist version="1.0"> @@ -6,6 +6,10 @@
<dict> <true/>
<key>com.apple.security.app-sandbox</key> <key>com.apple.security.cs.allow-jit</key>
<true/> <true/>
<key>com.apple.security.cs.allow-jit</key> + <key>com.apple.security.files.user-selected.read-write</key>
<true/> + <true/>
<key>com.apple.security.files.user-selected.read-write</key> + <key>com.apple.security.network.client</key>
<true/> + <true/>
<key>com.apple.security.network.client</key> <key>com.apple.security.network.server</key>
<true/> <true/>
<key>com.apple.security.network.server</key> </dict>
<true/>
</dict>
</plist>
- name: Replace material/macos/Runner/Release.entitlements - name: Replace material/macos/Runner/Release.entitlements
path: material/macos/Runner/Release.entitlements path: material/macos/Runner/Release.entitlements
replace-contents: patch-u: |
<?xml version="1.0" encoding="UTF-8"?> --- b/desktop_photo_search/material/macos/Runner/Release.entitlements
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +++ a/desktop_photo_search/material/macos/Runner/Release.entitlements
<plist version="1.0"> @@ -4,5 +4,9 @@
<dict> <dict>
<key>com.apple.security.app-sandbox</key> <key>com.apple.security.app-sandbox</key>
<true/> <true/>
<key>com.apple.security.files.user-selected.read-write</key> + <key>com.apple.security.files.user-selected.read-write</key>
<true/> + <true/>
<key>com.apple.security.network.client</key> + <key>com.apple.security.network.client</key>
<true/> + <true/>
</dict> </dict>
</plist> </plist>
- name: Patch material/macos/Runner/Base.lproj/MainMenu.xib - name: Patch material/macos/Runner/Base.lproj/MainMenu.xib
path: 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 --- b/desktop_photo_search/material/macos/Runner/Base.lproj/MainMenu.xib
+++ a/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 @@ @@ -330,10 +330,11 @@
@ -109,7 +106,10 @@ steps:
+ <rect key="screenRect" x="0.0" y="0.0" width="1680" height="1025"/> + <rect key="screenRect" x="0.0" y="0.0" width="1680" height="1025"/>
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ"> <view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="0.0" width="800" height="600"/> <rect key="frame" x="0.0" y="0.0" width="800" height="600"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
- name: Flutter upgrade
path: material
flutter: pub upgrade --major-versions
- name: Flutter build macOS - name: Flutter build macOS
path: material path: material
flutter: build macos flutter: build macos

Loading…
Cancel
Save