Commit Graph

54 Commits

Author SHA1 Message Date
plebeius
a33d708e06 fix(electron): keep module-scoped Tray ref and destroy before reassign 2025-09-26 22:08:52 +02:00
plebeius
e5e6aa4bf7 perf(linux): avoid GTK mixups by sanitizing env and skipping tray on Wayland
We hardened Linux startup to prevent mixed GTK crashes some GNOME users hit. We now default Electron to X11 and sanitize common GTK injectors, and disable the tray by default on Wayland with an opt-in flag. Should make AppImage start reliably without user tweaks.
2025-09-26 22:03:01 +02:00
plebeius
6c1c3ecd07 ci(release): fix mac arm failure, add arch matrices, arch-aware IPFS, and OS-grouped release notes
Replace ensurepip with setup-python on macOS-14; build and publish arm64/x64 variants for mac/linux/windows; select IPFS binaries by target arch (with SEEDIT_BUILD_ARCH override); generate cleaner OS-grouped release notes from actual dist artifacts.
2025-08-18 13:23:23 +02:00
plebeius
c9f3ba8822 perf(electron): reduce prod logging + IPFS noise across OS; disable devtools in release; arch-aware mac builds
Reduce production logging and I/O by avoiding main-process console.log/debug file writes, setting GOLOG_LOG_LEVEL=error and stopping IPFS daemon stdout piping in production, and disabling devtools in packaged builds; additionally build mac artifacts per arch and fetch matching IPFS binaries to avoid emulation overhead. These changes address lag in release builds across OS caused by log-induced stalls and architecture mismatch.
2025-08-17 18:42:37 +02:00
plebeius
63bb2adc82 fix(electron): add missing file uploader IPC channels 2025-06-13 18:20:23 +02:00
Tom (plebeius.eth)
5dddd9ee46 fix(electron): "share" button couldn't copy link to clipboard 2025-05-30 23:04:48 +02:00
Tom (plebeius.eth)
d02d548026 unnecessary value 2025-05-23 12:43:17 +02:00
Tom (plebeius.eth)
0767774c86 Update before-pack.js 2025-05-21 14:53:50 +02:00
Tom (plebeius.eth)
9a3481cbdb fix(electron): resolve preload script module errors and ensure proper bundling 2025-05-19 18:28:04 +02:00
Tom (plebeius.eth)
0da1d88acd fix electron, fix capacitor 2025-05-13 22:59:09 +02:00
Tom (plebeius.eth)
ff3874cb46 Update before-pack.js 2025-05-11 14:56:03 +02:00
Tom (plebeius.eth)
4ac3c02dff fix(electron): add CJS wrapper for after-all-artifact-build hook 2025-05-11 00:06:18 +02:00
Tom (plebeius.eth)
6d56f2a84f Update before-pack.js 2025-05-10 23:49:25 +02:00
Tom (plebeius.eth)
1c16cc0551 fix context flags, ipc methods, push notification logic 2025-05-04 23:04:44 +02:00
Tom (plebeius.eth)
9013d6b5db fix path 2025-05-03 22:55:12 +02:00
Tom (plebeius.eth)
f08a10a2b3 feat: add push notifications to web browser, android app, desktop app 2025-05-02 22:29:11 +02:00
Tom (plebeius.eth)
6682219da0 fix electron 2025-04-29 15:43:13 +02:00
Tom (plebeius.eth)
ee37b49d88 feat(embeds): add PDF support for direct links and pdf file upload 2025-04-05 16:51:33 +02:00
Tom (plebeius.eth)
55f32bddbb update script, logs 2025-04-01 14:43:15 +02:00
Tom (plebeius.eth)
840e36255b fix env paths 2025-04-01 13:29:27 +02:00
Tom (plebeius.eth)
6444fb5b06 fix(electron): migrate Electron files to CommonJS for cross-platform compatibility
fixes conflicts between ES Modules used by Vite and CommonJS modules needed by Electron in packaged applications
2025-04-01 00:29:25 +02:00
Tom (plebeius.eth)
d85ee22818 fix electron errors 2025-03-31 18:52:30 +02:00
Tom (plebeius.eth)
0c1475524f revert 2025-03-31 16:42:32 +02:00
Tom (plebeius.eth)
a424575f20 fix electron 2025-03-30 18:12:27 +02:00
Tom (plebeius.eth)
82022fa13c fix: fix electron 2025-03-30 17:15:48 +02:00
Tom (plebeius.eth)
ec989f5e9c fix(electron): bundle main process to resolve ESM issues in Linux AppImage 2025-03-30 16:02:53 +02:00
Tom (plebeius.eth)
7e7a039f1e fix(electron): bundle main process to resolve ESM issues in Linux AppImage 2025-03-30 15:58:15 +02:00
Tom (plebeius.eth)
8f7d8e32c6 fix(electron): replace electron-is-dev with app.isPackaged
This resolves a runtime error in the packaged Linux AppImage where electron-is-dev could not be found.
2025-03-29 23:58:47 +01:00
Tom (plebeius.eth)
dc43aeb993 feat(submit page): add media file upload
On desktop or android, the user can drop or select a media file in the upload box, which automatically uploads it to catbox.moe in the background, and pastes the direct link to the media in the url field.
2025-03-19 21:40:24 +01:00
Tom (plebeius.eth)
c65faa4936 upgrade electron
improves desktop app performance
2025-03-12 14:48:33 +01:00
Tom (plebeius.eth)
88a1ead60b migrate from CRA to Vite, upgrade to React 19 2025-03-08 22:35:26 +01:00
Esteban Abaroa
b191689fe1 chore(electron): update router urls 2025-01-04 00:19:24 +00:00
Esteban Abaroa
eaf9704250 refactor(electron): typo 2024-12-07 22:56:25 +00:00
Esteban Abaroa
97221d665d fix(electron): auto restart script more reliable 2024-12-07 22:50:55 +00:00
Esteban Abaroa
c66d454373 fix(electron): ipfs proxy should have error status code 2024-12-07 21:16:01 +00:00
Esteban Abaroa
6eced8c9f3 refactor(electron): change IPFS API port to 50019 2024-12-07 17:33:23 +00:00
Esteban Abaroa
69726e1b97 feat(electron): add http routers to electron 2024-11-19 18:39:47 +00:00
Tom (plebeius.eth)
faa33f08bf fix(electron): "ipfs warning" without error message would appear after closing the desktop app 2024-10-11 11:14:40 +02:00
Tom (plebeius.eth)
3a39eda7e6 fix(electron): isElectron flag was missing 2024-10-11 11:14:14 +02:00
Esteban Abaroa
bb94bdf5f6 fix(electron): download url redirect status code changed 2024-07-23 15:06:55 +00:00
Esteban Abaroa
328e3a09e9 feat(electron): add window.plebbitRpcAuthKey 2024-04-18 19:37:07 +00:00
Esteban Abaroa
4ca8a49b84 chore(electron): upgrade kubo 2024-04-15 18:36:29 +00:00
Esteban Abaroa
b09cde8e81 refactor: convert to esm 2024-03-01 02:14:04 +00:00
plebeius.eth
8ac2786a6a add defaultMediaIpfsGatewayUrl 2024-02-06 21:16:20 +01:00
Tom (plebeius.eth)
a1117b8c4a Merge pull request #223 from plebbit/master
Development
2024-02-02 16:28:53 +01:00
Esteban Abaroa
7b25b46148 refactor(electron): start gateway on port 6473 when launching ipfs 2024-02-02 15:08:55 +00:00
Esteban Abaroa
e3804e3533 fix(electron): make sure repo is migrated when starting ipfs 2024-02-02 15:04:50 +00:00
plebeius.eth
d1c3855fc3 Update preload.js 2024-02-02 08:48:07 +01:00
plebeius.eth
0133aff9db revert changing electron navigation arrows 2024-01-28 20:39:47 +01:00
plebeius.eth
32dd69789c feat(electron): improve navigation labels 2024-01-06 17:28:12 +01:00