56 Commits

Author SHA1 Message Date
Manav Rathi
571d721925
[desktop] Fix broken nightly builds due to ajv
I'm not sure why it started happening now. Earlier I thought it was because of
this - https://github.com/ente-io/ente/pull/2969 - but that was a red-herring (I
think!), instead this likely got triggered because of
eff78a1d33.

This change fixed the issue locally, will see if it works on CI too.

Workaround from:
https://github.com/ajv-validator/ajv/issues/2443#issuecomment-2147026958
2024-08-27 12:00:40 +05:30
Manav Rathi
ebcec9bad9
[desktop] Fix link in dependencies docs
Fixes https://github.com/ente-io/ente/issues/2884
2024-08-26 10:53:10 +05:30
Manav Rathi
c1f4a9f0d6
Fix typo 2024-07-15 21:59:16 +05:30
Manav Rathi
a6dda741cb
[desktop] Fix post release checklist instructions 2024-07-12 21:17:11 +05:30
Manav Rathi
c16b6a7d43
-rc => -beta to be clearer 2024-07-12 15:52:32 +05:30
Manav Rathi
942231c521
Prune 2024-07-09 14:45:26 +05:30
Manav Rathi
3ddd5bff2d
Add cross-env (shx doesn't allow this)
https://github.com/shelljs/shx/issues/127
2024-06-29 21:48:50 +05:30
Manav Rathi
a49c7834d8
Cache the handle to the zip files - prep 2024-06-25 12:07:14 +05:30
Manav Rathi
014fbfe0eb
lf 2024-06-17 16:42:36 +05:30
Manav Rathi
38cdfcf0a4
[desktop] Continue iterating of the pre-release process 2024-06-17 16:40:35 +05:30
Manav Rathi
3ecef5e751
[desktop] Next RC 2024-06-17 14:23:38 +05:30
Manav Rathi
abf13245dc
pre 2024-05-31 17:13:17 +05:30
Manav Rathi
ddaa872b97
more 2024-05-31 13:25:23 +05:30
Manav Rathi
67169b4efa
more 2024-05-31 13:20:58 +05:30
Manav Rathi
52b3a6d0f7
[desktop] Tweak the nightly build flow
If we publish a tag when publishing the pre-release, it then triggers another
workflow invocation that fails (harmlessly). So instead, push the tag after
releasing to trigger the steps.
2024-05-31 13:14:56 +05:30
Manav Rathi
f647355666
[desktop] Nightly builds 2024-05-30 20:58:31 +05:30
Manav Rathi
07dc0231ee
photosd-v1.7.0 2024-05-28 09:36:44 +05:30
Manav Rathi
45183422e2
[web] Lint concurrently 2024-05-15 13:59:10 +05:30
Manav Rathi
2a3bf41937
Update instructions 2024-05-11 19:19:56 +05:30
Manav Rathi
7e0ef23bc1
yarn lint-fix 2024-05-08 11:20:28 +05:30
Manav Rathi
a07d999b74
Clarify 2024-05-08 10:26:21 +05:30
Manav Rathi
145a7cee2a
yarn lint-fix 2024-05-08 10:10:34 +05:30
Manav Rathi
0d1ad8b8e1
More release shenanigans 2024-05-08 10:04:16 +05:30
Manav Rathi
ea812561c6
Run everywhere 2024-05-03 14:38:56 +05:30
Manav Rathi
e9feec37d5
Run the electron builder in the correct path 2024-05-03 11:28:06 +05:30
Manav Rathi
2f2d15c9f2
lint 2024-05-02 20:22:40 +05:30
Manav Rathi
fecfb4a8b7
Hopes and dreams 2024-05-02 19:52:39 +05:30
Manav Rathi
fa182b951d
[desktop] Resurrect build
Untested
2024-05-02 12:55:08 +05:30
Manav Rathi
51ffaa4a90
Preempt 2024-04-30 16:00:32 +05:30
BifrostTenmei
e258aa3524
Fixed typo 2024-04-29 10:53:20 +02:00
Manav Rathi
31a19cb738
Desktop side 2024-04-21 11:29:58 +05:30
Manav Rathi
f5bf776848
lint 2024-04-11 15:06:03 +05:30
Manav Rathi
008b6d5186
Spruce dependencies docs 2024-04-10 20:36:46 +05:30
Manav Rathi
4327cfdb23
Only ONNX, desktop 2024-04-09 20:46:27 +05:30
Manav Rathi
b937102cda
A more apropos link 2024-04-09 16:22:02 +05:30
Manav Rathi
7be4b47e51
Tighten type checking progressively 2024-04-08 14:57:49 +05:30
Manav Rathi
5810d2b762
Add yarn preview:* 2024-03-30 18:06:58 +05:30
Manav Rathi
c055cd9b4a
Remove the tscw 2024-03-26 21:45:21 +05:30
Manav Rathi
c3dfa46514
Major version update of Electron
And other surrounding packages.
2024-03-26 21:42:48 +05:30
Manav Rathi
24176d8c40
Document a few more dependencies 2024-03-26 21:42:48 +05:30
Manav Rathi
6e737cdf9a
Mention package.json in the shx description 2024-03-26 21:42:48 +05:30
LI-NA
8e4ca0bc79 [desktop] Add shx and change the build command
To make the build script work on Windows, added the `shx` package in dev dependency and changed the `rm` and `ln` commands to `shx rm` and `shx ln`.
2024-03-25 20:11:44 +09:00
Manav Rathi
31ad9a3eb3
Document that the main process is not restarted 2024-03-22 19:55:57 +05:30
Manav Rathi
f083f0633d
Remove electron-reload
It reloads the BrowserWindow, but that already has HMR since we're connecting to
a Next dev server on localhost.

What we want is the main process to reload if the files for the main process are
changed. All options I've found so far just restart the main app on changes to
the main process code. I'm not sure that'll be useful, so not adding them right
now (and in any case, this is not a regression, it just wasn't working with
electron-reload either). For future reference if I need to revisit this, these
are the things I scouted:

- https://www.electronforge.io/config/plugins/webpack
- https://github.com/sindresorhus/electron-reloader
- https://electron-vite.org/guide/hot-reloading.html
2024-03-22 15:55:25 +05:30
Manav Rathi
e4684b22df
Move out the electron-builder config to separate file 2024-03-19 19:17:01 +05:30
Manav Rathi
bff58f7b78
Update eslint settings to match main project 2024-03-19 19:17:01 +05:30
Manav Rathi
04b9966425
Quicker quick
Ref: https://webpack.electron.build/building
2024-03-19 19:17:01 +05:30
Manav Rathi
0e861d5c48
Add some notes
The helpful snippet about the purpose of install-app-deps taken from
https://webpack.electron.build/dependency-management
2024-03-19 19:17:01 +05:30
Manav Rathi
1266648562
Merge docs 2024-03-19 19:17:01 +05:30
Manav Rathi
eb4f9402db
Enable prose-wrap 2024-03-19 19:17:01 +05:30