1
0
element-desktop/remove-fuses.patch
Dominik Heidler b0a831af09 - Version 1.11.82
##  Features
  * Deduplicate more icons using Compound Design Tokens (https://github.com/element-hq/matrix-react-sdk/pull/132). Contributed by @t3chguy.
  * Always show link new device flow even if unsupported (https://github.com/element-hq/matrix-react-sdk/pull/147). Contributed by @t3chguy.
  * Update design of files list in right panel (https://github.com/element-hq/matrix-react-sdk/pull/144). Contributed by @t3chguy.
  * Remove feature\_dehydration (https://github.com/element-hq/matrix-react-sdk/pull/138). Contributed by @florianduros.
  * Upgrade emojibase-bindings and remove local handling of emoticon variations (https://github.com/element-hq/matrix-react-sdk/pull/127). Contributed by @langleyd.
  * Add support for rendering media captions (https://github.com/element-hq/matrix-react-sdk/pull/43). Contributed by @tulir.
  * Replace composer icons with Compound variants (https://github.com/element-hq/matrix-react-sdk/pull/123). Contributed by @t3chguy.
  * Tweak default right panel size to be 320px except for maximised widgets at 420px (https://github.com/element-hq/matrix-react-sdk/pull/110). Contributed by @t3chguy.
  * Add a pinned message badge under a pinned message (https://github.com/element-hq/matrix-react-sdk/pull/118). Contributed by @florianduros.
  * Ditch right panel tabs and re-add close button (https://github.com/element-hq/matrix-react-sdk/pull/99). Contributed by @t3chguy.
  * Force verification even for refreshed clients (https://github.com/element-hq/matrix-react-sdk/pull/44). Contributed by @dbkr.
  * Update emoji text, border and background colour in timeline (https://github.com/element-hq/matrix-react-sdk/pull/119). Contributed by @florianduros.
  * Disable ICE fallback based on well-known configuration (https://github.com/element-hq/matrix-react-sdk/pull/111). Contributed by @t3chguy.
  * Remove legacy room header and promote beta room header (https://github.com/element-hq/matrix-react-sdk/pull/105). Contributed by @t3chguy.
  * Respect `io.element.jitsi` `useFor1To1Calls` in well-known (https://github.com/element-hq/matrix-react-sdk/pull/112). Contributed by @t3chguy.
  * Use Compound close icon in favour of mishmash of x/close icons (https://github.com/element-hq/matrix-react-sdk/pull/108). Contributed by @t3chguy.
  ## 🐛 Bug Fixes
  * Correct typo in option documentation (https://github.com/element-hq/element-web/pull/28148). Contributed by @AndrewKvalheim.
  * Revert #124 and #135 (https://github.com/element-hq/matrix-react-sdk/pull/139). Contributed by @dbkr.
  * Add aria-label to e2e icon (https://github.com/element-hq/matrix-react-sdk/pull/136). Contributed by @florianduros.
  * Fix bell icons on room list hover being black squares (https://github.com/element-hq/matrix-react-sdk/pull/135). Contributed by @dbkr.
  * Fix vertical overflow on the mobile register screen (https://github.com/element-hq/matrix-react-sdk/pull/137). Contributed by @langleyd.
  * Allow to unpin redacted event (https://github.com/element-hq/matrix-react-sdk/pull/98). Contributed by @florianduros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=83
2024-10-22 13:58:16 +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: [