Commit Graph

923 Commits

Author SHA1 Message Date
Manav Rathi
f6db2daaee array 2025-04-17 15:03:22 +05:30
Manav Rathi
1efaefbf9c nn fin 2025-04-17 14:05:18 +05:30
Manav Rathi
29f5693078 nn 2025-04-17 14:01:56 +05:30
Manav Rathi
347140c14c generisize 2025-04-17 12:49:33 +05:30
Manav Rathi
97bc768092 Sketch 2025-04-17 12:09:41 +05:30
Manav Rathi
cdb81c621d Sketch 2025-04-17 11:26:11 +05:30
Manav Rathi
cca47db499 typos desktop 2025-04-09 11:16:35 +05:30
Manav Rathi
279cbb3938 type 2025-04-09 10:51:42 +05:30
Manav Rathi
9afa495d7e [web] Yarn dedup
npx yarn-deduplicate yarn.lock

https://github.com/scinos/yarn-deduplicate
2025-04-09 10:32:50 +05:30
Manav Rathi
51f13191b3 Node 20 => 22 2025-04-09 08:43:52 +05:30
Manav Rathi
a51dfb2d7f Electron 35 uses node 22
https://www.electronjs.org/blog#stack-changes
2025-04-08 18:54:09 +05:30
Manav Rathi
3c2a821045 New lints 2025-04-08 18:46:30 +05:30
Manav Rathi
fdefd2720c app.dock is now only defined on macOS
https://www.electronjs.org/docs/latest/api/app#appdock-macos-readonly
2025-04-08 18:44:43 +05:30
Manav Rathi
c57b93f0d9 Upgrade to Electron 35 (+ others) 2025-04-08 18:37:23 +05:30
Manav Rathi
1cbb00ec3d Update to chokidar v4
We don't use globs so this shouldn't be a breaking change for us
https://github.com/paulmillr/chokidar?tab=readme-ov-file#upgrading
2025-04-08 18:19:20 +05:30
Manav Rathi
cd072113bb [desktop] Windows icon - Take 3
Resize to make it fit better with the other icons in the start menu.
2025-04-08 10:56:02 +05:30
Manav Rathi
424fbf1169 [desktop] Match windows icon with macOS icon
Previously in https://github.com/ente-io/ente/pull/5551 the icon.ico was
generated from icon.png. In this PR, based on user feedback we instead generate
it from the icon.icns (the same as that used by the macOS app) - this one has
rounded corners.
2025-04-08 07:46:55 +05:30
Manav Rathi
9a36c24227 [destkop] Add windows icon variant
Generated from icon.png using https://www.icoconverter.com/

Even though the docs (https://www.electron.build/icons.html) say that the
icon.png should automatically get used, in practice it seems to generate start
menu icons that are blurry.

The recommendation from the maintainer
(https://github.com/electron-userland/electron-builder/issues/7328#issuecomment-1499884818)
is to provide an .ico variant that'll get used for Windows.

I'm not sure if it is necessary to also mention this explicitly in the build
config. From reading the docs
(https://www.electron.build/electron-builder.interface.windowsconfiguration#icon),
'build/icon.ico' should be the default, so trying first by just adding the file.
2025-04-07 11:59:40 +05:30
Manav Rathi
34cdefe028 Revert "[desktop] Show/hide the window on tray icon double click on Linux/Win" 2025-04-04 13:44:55 +05:30
Manav Rathi
ad27bd3b35 [desktop] Show/hide the window on tray icon double click on Linux/Win
Ref: https://github.com/ente-io/ente/discussions/4521
2025-04-03 19:45:16 +05:30
Manav Rathi
9999ffa52c centralize 2025-04-03 09:12:39 +05:30
Manav Rathi
9d60e980f8 [desktop] [macOS] Hide dock icon on Window close
Based on customer feedback. The dock icon will hide when the window is closed by
using the "x" without quitting the app. The menu bar icon remains as it is, and
so does the existing preferences (whose value is also retained if set
explicitly).
2025-04-03 08:48:19 +05:30
Manav Rathi
7b871195c8 [desktop] Next release train 2025-03-28 18:25:48 +05:30
Manav Rathi
875a747e24 granular perms / release
"only required permissions for the action specified (which is contents: write)"
- https://github.com/ncipollo/release-action?tab=readme-ov-file#notes
2025-03-28 12:57:41 +05:30
Manav Rathi
dbc1cec05a [desktop] photosd-v1.7.11 2025-03-28 11:12:50 +05:30
Manav Rathi
9319aeee6f Update icons
general note of commands which were needed:

    mkdir build/icon.iconset
    touch build/icon.iconset/icon_512x512@2x.png
    iconutil --convert icns --output build/icon.icns build/icon.iconset
    # general resizing
    sips -Z 48 build/taskbar-icon@3x.png

for the icns while just the above worked, here is fuller script that also uses
the size variants (rom
https://stackoverflow.com/questions/12306223/how-to-manually-create-icns-files-using-iconutil),
the final asset used this.

    mkdir MyIcon.iconset
    sips -z 16 16     Icon1024.png --out MyIcon.iconset/icon_16x16.png
    sips -z 32 32     Icon1024.png --out MyIcon.iconset/icon_16x16@2x.png
    sips -z 32 32     Icon1024.png --out MyIcon.iconset/icon_32x32.png
    sips -z 64 64     Icon1024.png --out MyIcon.iconset/icon_32x32@2x.png
    sips -z 128 128   Icon1024.png --out MyIcon.iconset/icon_128x128.png
    sips -z 256 256   Icon1024.png --out MyIcon.iconset/icon_128x128@2x.png
    sips -z 256 256   Icon1024.png --out MyIcon.iconset/icon_256x256.png
    sips -z 512 512   Icon1024.png --out MyIcon.iconset/icon_256x256@2x.png
    sips -z 512 512   Icon1024.png --out MyIcon.iconset/icon_512x512.png
    cp Icon1024.png MyIcon.iconset/icon_512x512@2x.png
    iconutil -c icns MyIcon.iconset
    rm -R MyIcon.iconset

for the taskbar icons I used this ad-hoc script:

    #!/bin/sh

    set -e

    sips -Z 16 ~/Downloads/Taskbar.png --out build/taskbar-icon.png
    sips -Z 32 ~/Downloads/Taskbar.png --out build/taskbar-icon@2x.png
    sips -Z 48 ~/Downloads/Taskbar.png --out build/taskbar-icon@3x.png

    sips -Z 16 ~/Downloads/Taskbar-Template.png --out build/taskbar-icon-Template.png
    sips -Z 32 ~/Downloads/Taskbar-Template.png --out build/taskbar-icon-Template@2x.png
    sips -Z 48 ~/Downloads/Taskbar-Template.png --out build/taskbar-icon-Template@3x.png
2025-03-25 09:04:04 +05:30
Manav Rathi
67a0ff55b4 Update electron 2025-03-24 19:10:01 +05:30
Manav Rathi
20d17ec817 [desktop] Stop force resets 2025-03-17 12:35:22 +05:30
Manav Rathi
9de85946bf [desktop] Regular dep updates 2025-03-17 11:04:24 +05:30
Manav Rathi
20268c236a CL 2025-03-10 15:53:54 +05:30
Manav Rathi
f74f13c7a8 web doesn't need the submodule fetch anymore 2025-03-10 15:17:57 +05:30
Manav Rathi
511c324bad [web] Submodules required no more 2025-03-07 19:50:06 +05:30
Manav Rathi
a3e8d3c1a3 yarn prettier --write --object-wrap=collapse . 2025-03-07 17:53:58 +05:30
Manav Rathi
15473d80d8 Run linter 2025-03-07 17:47:57 +05:30
Manav Rathi
fa349caf0c [desktop] Dep updates 2025-03-07 17:36:05 +05:30
Manav Rathi
4796d8a54a [desktop] Electron minor version update 2025-03-07 10:24:23 +05:30
Manav Rathi
4e6e3e7abf [desktop] Improve export_status.json writes 2025-02-27 09:20:15 +05:30
Manav Rathi
3b1ec81db8 photosd-next 2025-02-26 14:45:25 +05:30
Manav Rathi
ec594acafc photosd-v1.7.10 2025-02-26 14:00:09 +05:30
Manav Rathi
8b0990bd6c [web] [desktop] Enable Japanese translations 2025-02-24 09:58:52 +05:30
Manav Rathi
a447d615e0 [desktop] Dark WCO title bar overlay 2025-02-13 15:22:54 +05:30
Manav Rathi
f003b4f8ac [desktop] Update version and link 2025-02-12 06:52:12 +05:30
Neeraj Gupta
7621041ce0 Revert "[mob] Fix exif time parsing (#4985)"
This reverts commit 5b17711b55, reversing
changes made to 85bf3eebcb.
2025-02-11 18:27:17 +05:30
Manav Rathi
e1633eccb7 Ensure mergeability 2025-02-05 15:34:10 +05:30
Manav Rathi
d2e5b87bf7 Comment 2025-02-05 13:10:10 +05:30
Manav Rathi
de5ece27f2 Make it work on macOS too 2025-02-05 13:05:48 +05:30
Manav Rathi
71a195a4de Framework 2025-02-05 12:57:15 +05:30
Manav Rathi
320a397b1c Fix the original issue
https://www.electronjs.org/docs/latest/tutorial/dark-mode
2025-02-05 12:51:59 +05:30
Manav Rathi
5e7ac4437f Custom titlebar - step 1
https://www.electronjs.org/docs/latest/tutorial/custom-title-bar
2025-02-05 12:25:10 +05:30
Manav Rathi
dff5e9f4a6 dep bump 2025-02-05 11:26:11 +05:30