forked from pool/element-desktop
Dominik Heidler
f98b8cadbd
- Version 1.11.78 ## ✨ Features * Add Release announcement for the pinning message list (https://github.com/element-hq/matrix-react-sdk/pull/46). Contributed by @florianduros. * Unlabs feature pinning (https://github.com/element-hq/matrix-react-sdk/pull/22). Contributed by @florianduros. * Add mobile registration (https://github.com/element-hq/matrix-react-sdk/pull/42). Contributed by @langleyd. * Add support for `org.matrix.cross_signing_reset` UIA stage flow (https://github.com/element-hq/matrix-react-sdk/pull/34). Contributed by @t3chguy. * Add timezone to user profile (https://github.com/element-hq/matrix-react-sdk/pull/20). Contributed by @Half-Shot. * Add config option to force verification (https://github.com/element-hq/matrix-react-sdk/pull/29). Contributed by @dbkr. * Reduce pinned message banner size (https://github.com/element-hq/matrix-react-sdk/pull/28). Contributed by @florianduros. * Enable message pinning labs by default (https://github.com/element-hq/matrix-react-sdk/pull/25). Contributed by @florianduros. * Remove release announcement of the new header (https://github.com/element-hq/matrix-react-sdk/pull/23). Contributed by @florianduros. ## 🐛 Bug Fixes * Fix timeout type (https://github.com/element-hq/matrix-react-sdk/pull/40). Contributed by @dbkr. * Fix huge usage bandwidth and performance issue of pinned message banner. (https://github.com/element-hq/matrix-react-sdk/pull/37). Contributed by @florianduros. * Reverse order of pinned message list (https://github.com/element-hq/matrix-react-sdk/pull/19). Contributed by @florianduros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=76
36 lines
1.9 KiB
Diff
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: [
|