Commit Graph
37 Commits
Author SHA1 Message Date
Abubakr Fazilov 0ca931d0d6 fix: prevent disabling GPU on the latest Linux kernels (#257)
Add win32 platform check to prevent disabling GPU on Linux kernels that starts with 6.1 (e. g. 6.1, 6.19 etc.)
2026-05-17 13:52:50 +08:00
Leo Wang(草鞋没号) f3e8e2cf68 chore: remove globalThis.__dirname 2024-04-21 09:40:52 +08:00
Leo Wang(草鞋没号) 6d0b65c5c4 refactor: better export process.env.XXX 2024-04-18 21:02:54 +08:00
阿菜 Cai 6cd6bb5353 fix: resolve ipcRenderer no returns (#209)
close #208
2024-03-30 10:10:42 +08:00
Leo Wang(草鞋没号) 2a85fafd66 feat: better ipcRenderer api expose 2024-03-11 16:18:38 +08:00
Leo Wang(草鞋没号) e4f7484a1b Merge branch 'main' of github.com:caoxiemeihao/vite-react-electron into main 2024-02-11 10:54:19 +08:00
Leo Wang(草鞋没号) 031bb81f73 feat: define globalThis.__dirname 2024-02-11 10:54:10 +08:00
阿菜 Cai e54455470d fix(update): type supplement (#195) 2024-01-13 01:54:49 +08:00
草鞋没号 208ab386b1 feat: bumps electron@28, vite@5, vite-plugin-electron@0.28.0-beta.2 2024-01-03 15:51:51 +08:00
草鞋没号 d548009325 chore: update types 2023-08-02 11:01:49 +08:00
CommandMakerand草鞋没号 4bb103c014 fix: Rename PUBLIC environment variable to avoid problems with child_process (#158)
* fix: Rename PUBLIC environment variable to avoid problems with child_process

* chore: rename

---------

Co-authored-by: 草鞋没号 <308487730@qq.com>
2023-08-02 10:54:09 +08:00
Jimmy 1b5b326aa6 fix : tsconfig include electron (#134) (#135) 2023-04-11 11:37:51 +08:00
Cuvii 6432b5275c fix: typo (#131) 2023-03-25 17:31:24 +08:00
草鞋没号and任帅 2f2880a9f1 feat: add electron-builder (#123)
# feat :  add electron auto update

# feat : add some components url : https://github.com/RSS1101/electron-vite-react

# * feat : Add electron auto update function

# * chore : use css module conduct style isolation

# * refactor: cleanup

# * chore : electron-auto-update refinement

# * chore: cleanup

# * chore : update electron-auto-update

# * chore: typo

# * feat: add `mac.target.dmg` for electron-updater

---------

Co-authored-by: 任帅 <1064425721@qq.com>
2023-03-12 09:35:20 +08:00
xhayper 93a4cd74f1 chore: update dependencies 2022-12-27 08:58:46 +07:00
xhayper 7cbc3ded05 feat: improvement to template 2022-12-23 23:39:53 +07:00
草鞋没号 a9240837be chore: VITE_DEV_SERVER_URL instead app.isPackaged 2022-11-22 08:15:04 +08:00
草鞋没号 a82f0828a8 fix: use VITE_DEV_SERVER_URL instead app.isPackaged 2022-11-06 18:07:09 +08:00
jaw52 50b91b9b02 fix(example): fix open childWindow error 2022-10-21 16:27:23 +08:00
草鞋没号 e2cedd24cf fix(🐞): correct entry path #76 2022-10-19 19:10:58 +08:00
草鞋没号 5e839b2f6d Merge pull request #70 from electron-vite/v2.1.0
v2.1.0: use `vite-electron-plugin` instead `vite-plugin-electron`
2022-10-04 07:18:22 +08:00
草鞋没号 1754306625 v2.1.0: use vite-electron-plugin instead vite-plugin-electron 2022-10-03 10:43:13 +08:00
kik0 6e35fbd27c fix: Linux icon not working 2022-09-21 03:31:42 -04:00
草鞋没号 b2a073cc8d feat: hoist process.env 2022-09-17 08:23:23 +08:00
草鞋没号 cac23a138c feat: process.env.DIST, process.env.PUBLIC 2022-09-13 14:41:02 +08:00
草鞋没号 68a41e3b5a update types 2022-09-13 14:40:17 +08:00
草鞋没号 79f98c8792 chore: remove electron-env.d.ts 2022-08-27 06:39:29 +08:00
草鞋没号 9b5a3a9c61 reactor: better debug.env 2022-08-25 08:20:26 +08:00
Youssef Hajjari 009e39319c replace url with the VITE_DEV_SERVER_URL env key in vite 2022-08-12 14:54:11 +00:00
草鞋没号 ad1096433e chore: use reference electron-env.d.ts type 2022-07-22 15:26:37 +08:00
草鞋没号 cc8d92c517 add electron-env.d.ts 2022-07-02 11:10:16 +08:00
草鞋没号 6dcb6643b1 chore: optimize code 2022-06-29 07:39:53 +08:00
草鞋没号 0ab15c65f1 preload/splash.ts -> preload/index.ts 2022-06-29 07:39:16 +08:00
Paul eb8b69966d refactor: minor changes 2022-06-06 21:23:25 +03:00
草鞋没号 396afdb6c9 move resources/ to electron/resources/ 2022-06-06 20:30:01 +08:00
草鞋没号 9150036761 fix: win.loadFile() path 2022-06-06 20:27:23 +08:00
草鞋没号 ab9e5bf3c2 refactor: move electron-* to electron/* 2022-06-06 20:22:13 +08:00