- Fix icon rendering on Windows and macOS
- On macOS, tray icons are now rendered based on DPI:
- 22px for 100%,
- 33px for 150%,
- 44px for 200%.
- On Windows, tray icons are now rendered based on DPI:
- 16px for 100%,
- 24px for 150%,
- 32px for 200%.
- On both Windows and macOS,
icon
field inBrowserWindow
class instances is left unset (it then uses icon from the executable). - Additionally, re-generated
app.ico
to include more sizes and updated Forge configuration to replaceapp.png
withapp.ico
on Windows.
- On macOS, tray icons are now rendered based on DPI:
- More accurate permissions handling representation.
- WebCord will now use system-provided data to know whenever permission to specific media device is granted or revoked (Windows,macOS).
- WebCord will now ask user on newer macOS devices to grant permissions to specific media element when Discord ask for it (#176).
- Encrypt configuration files using
safeStorage
API.- On Windows and Linux, it may just only encrypt
windowState.json
and leaveconfig.json
unencrypted due to API limitations. - Additionally on Linux, encryption may not be available if secret key is not available (so you probably need any secret service provider installed in order for encryption to work).
- On macOS, according to docs, there's no limitation that requires Electron to wait for Chromium to initialize in order to encrypt data, so full encryption (
config.json
+windowState.json
) might be possible to achieve (currently that's untested).
- On Windows and Linux, it may just only encrypt
- Harden
webPreferences
policies for main window's child windows. - Bump Electron major version (it is now on
20.x.y
). - Add 🇫🇷️ French localization files made by @HeavnWolf (#210).
Full Changelog: v3.6.0...v3.7.0