chore: bump chromium to 129.0.6630.0 (main) (#43087)
* chore: bump chromium in DEPS to 129.0.6623.0 * chore: update mas_avoid_private_macos_api_usage.patch.patch remove the changes to media/audio/mac/audio_manager_mac.cc, since upstream has also made this change now. Xref:5738654
* chore: update fix_disable_scope_reuse_associated_dchecks.patch We had been removing a couple of `DCHECK`. Upstream changed their code to limit when these `DCHECK`s get called, so let's see if our change is still needed. Xref:5739076
* chore: e patches all * Bump the Chrome macOS deployment target to 11.0 Xref:5734361
BREAKING CHANGE: Bump the Chrome macOS deployment target to 11.0 * src: stop using deprecated fields of `v8::FastApiCallbackOptions` Xref:d0000b118d
Xref:5741336
Xref:5741199
* fixup! chore: update fix_disable_scope_reuse_associated_dchecks.patch chore: re-disable DCHECKs yep, it is still needed * refactor use non-deprecated variant of openApplicationAtURL old version is deprecated now in macOS 11 Xref:1534810
-launchapplicationaturl Xref:3172700
-openapplicationaturl * chore: bump chromium in DEPS to 129.0.6626.0 * chore: e patches all * chore: disable NSUserNotification deprecation errors * chore: disable NSWindowStyleMaskTexturedBackground deprecation errors Xref: https://github.com/electron/electron/issues/43125 * chore: disable deprecation errors in platform_util_mac.mm * chore: disable launchApplication deprecation errors * chore: bump chromium in DEPS to 129.0.6630.0 * chore: update refactor_expose_file_system_access_blocklist.patch apply patch manually due to context shear Xref:5745444
* chore: update deps_add_v8_object_setinternalfieldfornodecore.patch no manual changes. patch applied with fuzz 1 (offset -5 lines) * chore: e patches all * fix: add clang_x64_v8_arm64/snapshot_blob.bin to the zip manifest Xref:5746173
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
This commit is contained in:
parent
7c79221a54
commit
5b18cc46bc
75 changed files with 410 additions and 234 deletions
|
@ -6,3 +6,4 @@ refactor_use_posix_spawn_instead_of_nstask_so_we_can_disclaim_the.patch
|
|||
fix_abort_installation_attempt_at_the_final_mile_if_the_app_is.patch
|
||||
feat_add_ability_to_prevent_version_downgrades.patch
|
||||
refactor_use_non-deprecated_nskeyedarchiver_apis.patch
|
||||
chore_turn_off_launchapplicationaturl_deprecation_errors_in_squirrel.patch
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Charles Kerr <charles@charleskerr.com>
|
||||
Date: Thu, 1 Aug 2024 10:02:46 -0500
|
||||
Subject: chore: turn off launchApplicationAtURL deprecation errors in Squirrel
|
||||
|
||||
Add pragmas to disable deprecation warnings. This patch should be
|
||||
updated to use non-deprecated API in upgrade-follow-up ticket
|
||||
https://github.com/electron/electron/issues/43168
|
||||
|
||||
diff --git a/Squirrel/ShipIt-main.m b/Squirrel/ShipIt-main.m
|
||||
index 671f8fa2104df85046ff813d4b824a65caae502f..acf545199dbf1831fe8a73155c6e4d0db4047934 100644
|
||||
--- a/Squirrel/ShipIt-main.m
|
||||
+++ b/Squirrel/ShipIt-main.m
|
||||
@@ -186,10 +186,14 @@ static void installRequest(RACSignal *readRequestSignal, NSString *applicationId
|
||||
NSLog(@"New ShipIt exited");
|
||||
} else {
|
||||
NSLog(@"Attempting to launch app on lower than 11.0");
|
||||
+// TODO: https://github.com/electron/electron/issues/43168
|
||||
+#pragma clang diagnostic push
|
||||
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
if (![NSWorkspace.sharedWorkspace launchApplicationAtURL:bundleURL options:NSWorkspaceLaunchDefault configuration:@{} error:&error]) {
|
||||
NSLog(@"Could not launch application at %@: %@", bundleURL, error);
|
||||
return;
|
||||
}
|
||||
+#pragma clang diagnostic pop
|
||||
|
||||
NSLog(@"Application launched at %@", bundleURL);
|
||||
}
|
||||
@@ -235,12 +239,16 @@ int main(int argc, const char * argv[]) {
|
||||
|
||||
if (strcmp(jobLabel, [launchSignal UTF8String]) == 0) {
|
||||
NSLog(@"Detected this as a launch request");
|
||||
+// TODO: https://github.com/electron/electron/issues/43168
|
||||
+#pragma clang diagnostic push
|
||||
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
NSError *error;
|
||||
if (![NSWorkspace.sharedWorkspace launchApplicationAtURL:shipItStateURL options:NSWorkspaceLaunchDefault configuration:@{} error:&error]) {
|
||||
NSLog(@"Could not launch application at %@: %@", shipItStateURL, error);
|
||||
} else {
|
||||
NSLog(@"Successfully launched application at %@", shipItStateURL);
|
||||
}
|
||||
+#pragma clang diagnostic pop
|
||||
exit(EXIT_SUCCESS);
|
||||
} else {
|
||||
NSLog(@"Detected this as an install request");
|
Loading…
Add table
Add a link
Reference in a new issue