11
0
Files
element-desktop/remove-fuses.patch
Dominik Heidler 8c680dc142 - Version 1.11.76
##  Features
  
  * Message Pinning: rework the message pinning list in the right panel (https://github.com/matrix-org/matrix-react-sdk/pull/12825). Contributed by @florianduros.
  * Tweak UIA postMessage check to work cross-origin (https://github.com/matrix-org/matrix-react-sdk/pull/12878). Contributed by @t3chguy.
  * Delayed events (Futures) / MSC4140 for call widget (https://github.com/matrix-org/matrix-react-sdk/pull/12714). Contributed by @AndrewFerr.
  * Stop the ongoing ring if another device joins the call session. (https://github.com/matrix-org/matrix-react-sdk/pull/12866). Contributed by @toger5.
  * Rich text Editor: Auto-replace plain text emoticons with emoji (https://github.com/matrix-org/matrix-react-sdk/pull/12828). Contributed by @langleyd.
  * Clean up editor drafts for unknown rooms  (https://github.com/matrix-org/matrix-react-sdk/pull/12850). Contributed by @langleyd.
  * Rename general user settings to account (https://github.com/matrix-org/matrix-react-sdk/pull/12841). Contributed by @dbkr.
  * Update settings tab icons (https://github.com/matrix-org/matrix-react-sdk/pull/12867). Contributed by @dbkr.
  * Disable jump to read receipt button instead of hiding when nothing to jump to (https://github.com/matrix-org/matrix-react-sdk/pull/12863). Contributed by @t3chguy.
  
  ## 🐛 Bug Fixes
  
  * Ensure elements on Login page are disabled when in-flight (https://github.com/matrix-org/matrix-react-sdk/pull/12895). Contributed by @t3chguy.
  * Hide pinned messages when grouped in timeline when feature pinning is disabled (https://github.com/matrix-org/matrix-react-sdk/pull/12888). Contributed by @florianduros.
  * Add chat button on new room header for maximised widgets (https://github.com/matrix-org/matrix-react-sdk/pull/12882). Contributed by @t3chguy.
  * Show spinner whilst initial search request is in progress (https://github.com/matrix-org/matrix-react-sdk/pull/12883). Contributed by @t3chguy.
  * Fix user menu font (https://github.com/matrix-org/matrix-react-sdk/pull/12879). Contributed by @florianduros.
  * Allow selecting text in the right panel topic (https://github.com/matrix-org/matrix-react-sdk/pull/12870). Contributed by @t3chguy.
  * Add missing presence indicator to new room header (https://github.com/matrix-org/matrix-react-sdk/pull/12865). Contributed by @t3chguy.
  * Fix permissions in release tarballs (https://github.com/element-hq/element-web/pull/27904). Contributed by @t3chguy.
  
  ## 🧰 Maintenance
  
  * Update dependencies for MSC4157 (https://github.com/element-hq/element-web/pull/27906). Contributed by @AndrewFerr.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=74
2024-08-30 09:06:42 +00:00

36 lines
1.9 KiB
Diff

It is impossible to monkeypatch a shared copy of Electron, and in current versions of the nodejs-electron package
we intentionally fail the build of any app which tries to do this to alert the packager.
One problematic fuse which may break user data compatibility with upstream binaries is cookie encryption.
If a user runs an app with fused electron and then with unfused one, their cookies will get deleted.
OBSERVATION(dziobian):
Element creates a cookies sqlite database on startup but seems to never write anything to it.
Deleting the database manually seemed to have no effect.
--- element-desktop-1.11.65/electron-builder.ts.orig 2024-04-23 15:14:00.000000000 +0200
+++ element-desktop-1.11.65/electron-builder.ts 2024-05-16 18:51:14.513871208 +0200
@@ -75,22 +75,6 @@ const config: Writable<Configuration> =
const electronBinaryPath = path.join(context.appOutDir, `${executableName}${ext}`);
console.log(`Flipping fuses for: ${electronBinaryPath}`);
- await flipFuses(electronBinaryPath, {
- version: FuseVersion.V1,
- resetAdHocDarwinSignature: context.electronPlatformName === "darwin" && context.arch === Arch.universal,
-
- [FuseV1Options.EnableCookieEncryption]: true,
- [FuseV1Options.OnlyLoadAppFromAsar]: true,
-
- [FuseV1Options.RunAsNode]: false,
- [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
- [FuseV1Options.EnableNodeCliInspectArguments]: false,
-
- // Mac app crashes on arm for us when `LoadBrowserProcessSpecificV8Snapshot` is enabled
- [FuseV1Options.LoadBrowserProcessSpecificV8Snapshot]: false,
- // https://github.com/electron/fuses/issues/7
- [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: false,
- });
}
},
files: [