forked from pool/element-desktop
Dominik Heidler
a745eacd10
## ✨ Features * Deduplicate icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28419). Contributed by @t3chguy. * Let widget driver send error details (https://github.com/element-hq/element-web/pull/28357). Contributed by @AndrewFerr. * Deduplicate icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28381). Contributed by @t3chguy. * Auto approvoce `io.element.call.reaction` capability for element call widgets (https://github.com/element-hq/element-web/pull/28401). Contributed by @toger5. * Show message type prefix in thread root \& reply previews (https://github.com/element-hq/element-web/pull/28361). Contributed by @t3chguy. * Support sending encrypted to device messages from widgets (https://github.com/element-hq/element-web/pull/28315). Contributed by @hughns. ## 🐛 Bug Fixes * Feed events to widgets as they are decrypted (even if out of order) (https://github.com/element-hq/element-web/pull/28376). Contributed by @robintown. * Handle authenticated media when downloading from ImageView (https://github.com/element-hq/element-web/pull/28379). Contributed by @t3chguy. * Ignore `m.3pid_changes` for Identity service 3PID changes (https://github.com/element-hq/element-web/pull/28375). Contributed by @t3chguy. * Fix markdown escaping wrongly passing html through (https://github.com/element-hq/element-web/pull/28363). Contributed by @t3chguy. * Remove "Upgrade your encryption" flow in `CreateSecretStorageDialog` (https://github.com/element-hq/element-web/pull/28290). Contributed by @florianduros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=88
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: [
|