From 70d0421b3ca29efc9d725ed94e928cb1f089fcf5 Mon Sep 17 00:00:00 2001 From: Mikayla Date: Fri, 17 Nov 2023 17:44:11 -0800 Subject: [PATCH] Fix bundle script --- .github/workflows/release_nightly.yml | 2 +- .../nightly/embedded.provisionprofile | Bin 0 -> 12512 bytes crates/zed2/Cargo.toml | 5 ++-- .../nightly/embedded.provisionprofile | Bin 0 -> 12512 bytes script/bundle | 24 ++++++++++-------- 5 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 crates/zed/contents/nightly/embedded.provisionprofile create mode 100644 crates/zed2/contents/nightly/embedded.provisionprofile diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 99506db976..447e928866 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -92,7 +92,7 @@ jobs: run: script/generate-licenses - name: Create app bundle - run: script/bundle + run: script/bundle -2 - name: Upload Zed Nightly run: script/upload-nightly diff --git a/crates/zed/contents/nightly/embedded.provisionprofile b/crates/zed/contents/nightly/embedded.provisionprofile new file mode 100644 index 0000000000000000000000000000000000000000..8979e1fb9fb72e9f5adbbc05d3498e6218016581 GIT binary patch literal 12512 zcmXqLGPuLWsnzDu_MMlJooPXn!C8YQgOf~*jE39>oNTPxe9TNztPBQC@?{8Rj0>9N z(^;D2lWpuPa&r{QQj3Z+^Yd(#4D}3@6jJk&^HVbO(ruMOL)>&Nl z^~=l4^%6m<^pf*)K?;lY1B&tsQj1C|eKLznbPe?k^ioPvlIs{E-A{)O9x3Pc)BR0kEea?~P0Or+o1IuxlvoL}8miSd z(9|?6%EvD%5ZN?+xH6EFoQqPyhPot{ARL*JSdwaIWME{hYiOWrXc%H>YGq_$WnvU% zqYsvXx+x$hu_P_OC>O&4aBuntN8q;Fvp6C-KPA;SF)uMaH3e=+T4GLdsy@gYAosaI zf+V%bIkgDn>Ey(c)MB_=m{&M$QW8rN?R-5w-AY`Xot?ZY(;dq_ogC9WJ-sqg{oVc3 zjPjy<%UuE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&<*SubX+#8E7IDnHb6#NEsmP zUWn8~XJlnC2tp|3H*_^{HsE680QXpUnb{5a;A|!)CWZzBUL-!Fg8@5aVLm&mxCU~C z$H>aS(!|J+D7xn0amMJ6(}VtL$30)=-patB|MQPgr&iSS624=$BHsEovlepO8HPRT zP`|KyqPM^{Kkch;F6}Ey;eWk&-p{vtv?rgtIeE*sk|Wo)PpS9bDl266`o#Tpx&=+! z!mPRfZ5LS4`piMN za&snpz2KK$tW|qrGfP#9W{ZHf7N_^-)Du^ia>*P^*}jiw#=hyDkE{X=_9bs@TOAYq Wp=ZnLD~~gZ&1P+Ux<23g%pm~0C5t-% literal 0 HcmV?d00001 diff --git a/crates/zed2/Cargo.toml b/crates/zed2/Cargo.toml index ec665e5f42..edc1123698 100644 --- a/crates/zed2/Cargo.toml +++ b/crates/zed2/Cargo.toml @@ -167,13 +167,12 @@ osx_info_plist_exts = ["resources/info/*"] osx_url_schemes = ["zed-dev"] [package.metadata.bundle-nightly] -# TODO kb different icon? icon = ["resources/app-icon-preview@2x.png", "resources/app-icon-preview.png"] -identifier = "dev.zed.Zed-Nightly" +identifier = "dev.zed.Zed-Dev" name = "Zed Nightly" osx_minimum_system_version = "10.15.7" osx_info_plist_exts = ["resources/info/*"] -osx_url_schemes = ["zed-nightly"] +osx_url_schemes = ["zed-dev"] [package.metadata.bundle-preview] icon = ["resources/app-icon-preview@2x.png", "resources/app-icon-preview.png"] diff --git a/crates/zed2/contents/nightly/embedded.provisionprofile b/crates/zed2/contents/nightly/embedded.provisionprofile new file mode 100644 index 0000000000000000000000000000000000000000..8979e1fb9fb72e9f5adbbc05d3498e6218016581 GIT binary patch literal 12512 zcmXqLGPuLWsnzDu_MMlJooPXn!C8YQgOf~*jE39>oNTPxe9TNztPBQC@?{8Rj0>9N z(^;D2lWpuPa&r{QQj3Z+^Yd(#4D}3@6jJk&^HVbO(ruMOL)>&Nl z^~=l4^%6m<^pf*)K?;lY1B&tsQj1C|eKLznbPe?k^ioPvlIs{E-A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7a!Yf=uz#`nr8Rny#n_m;V&ypA92l{-4pj|&k8oqqZ-$5p575uFMr@}YOaFu zG-=jW-KMaK1u@Ir!u6(YKC2h2krSDaqm-rN>^^S*aV zi-wEQ%85JACA`U#<6yO~Y2lfvu(#Y*{iWmLgk=qz zm?juBG4(JpG8!~?4p8@x39}kNEMs5Lc*j5j8k4+?oXm#Ya1J}8fef6($!f?i&TC|B zXkch)Xli6(ViaYdjF4q96k`#on3-hIQC?D%vDcjEd&<*SubX+#8E7IDnHb6#NEsmP zUWn8~XJlnC2tp|3H*_^{HsE680QXpUnb{5a;A|!)CWZzBUL-!Fg8@5aVLm&mxCU~C z$H>aS(!|J+D7xn0amMJ6(}VtL$30)=-patB|MQPgr&iSS624=$BHsEovlepO8HPRT zP`|KyqPM^{Kkch;F6}Ey;eWk&-p{vtv?rgtIeE*sk|Wo)PpS9bDl266`o#Tpx&=+! z!mPRfZ5LS4`piMN za&snpz2KK$tW|qrGfP#9W{ZHf7N_^-)Du^ia>*P^*}jiw#=hyDkE{X=_9bs@TOAYq Wp=ZnLD~~gZ&1P+Ux<23g%pm~0C5t-% literal 0 HcmV?d00001 diff --git a/script/bundle b/script/bundle index 8c0b3fef87..3a82d25299 100755 --- a/script/bundle +++ b/script/bundle @@ -9,6 +9,7 @@ local_arch=false local_only=false overwrite_local_app=false bundle_name="" +zed_crate="zed" # This must match the team in the provsiioning profile. APPLE_NOTORIZATION_TEAM="MQ55VZLNZQ" @@ -25,13 +26,11 @@ Options: -o Open the resulting DMG or the app itself in local mode. -f Overwrite the local app bundle if it exists. -h Display this help and exit. + -2 Build zed 2 instead of zed 1. " } -# If -o option is specified, the folder of the resulting dmg will be opened in finder -# If -d is specified, Zed will be compiled in debug mode and the application's path printed -# If -od or -do is specified Zed will be bundled in debug and the application will be run. -while getopts 'dlfoh' flag +while getopts 'dlfoh2' flag do case "${flag}" in o) open_result=true;; @@ -51,6 +50,7 @@ do target_dir="debug" ;; f) overwrite_local_app=true;; + 2) zed_crate="zed2";; h) help_info exit 0 @@ -83,16 +83,19 @@ local_target_triple=${host_line#*: } if [ "$local_arch" = true ]; then echo "Building for local target only." - cargo build ${build_flag} --package zed + cargo build ${build_flag} --package ${zed_crate} cargo build ${build_flag} --package cli else echo "Compiling zed binaries" - cargo build ${build_flag} --package zed --package cli --target aarch64-apple-darwin --target x86_64-apple-darwin + cargo build ${build_flag} --package ${zed_crate} --package cli --target aarch64-apple-darwin --target x86_64-apple-darwin fi echo "Creating application bundle" pushd crates/zed channel=$( "${app_path}/Contents/Resources/zed.entitlements" + cat crates/${zed_crate}/resources/zed.entitlements | sed '/com.apple.developer.associated-domains/,+1d' > "${app_path}/Contents/Resources/zed.entitlements" codesign --force --deep --entitlements "${app_path}/Contents/Resources/zed.entitlements" --sign ${MACOS_SIGNING_KEY:- -} "${app_path}" -v fi