Commit graph

153 commits

Author SHA1 Message Date
Manav Rathi 6a7220ca43
Remove support files for (removed) Windows GGML binary
These were added together with the GGML Windows binary in commit
c3887847bc.
2024-04-09 21:32:41 +05:30
Manav Rathi e8d224c511
Remove stale ggml reference 2024-04-09 21:29:15 +05:30
Manav Rathi 7dccdecff3
Improve log 2024-04-09 21:24:31 +05:30
Manav Rathi 4327cfdb23
Only ONNX, desktop 2024-04-09 20:46:27 +05:30
Manav Rathi af07de58f6
More docs 2024-04-09 16:36:23 +05:30
Manav Rathi b937102cda
A more apropos link 2024-04-09 16:22:02 +05:30
Manav Rathi 2b7aa372bd
Switch 2024-04-09 10:33:54 +05:30
Manav Rathi 3c9f11ee60
Tweak log format 2024-04-09 10:03:30 +05:30
Manav Rathi 90a770c619
WIP 2024-04-08 18:09:08 +05:30
Manav Rathi f4f041552f
Move electron API types to lower layer 2024-04-08 16:51:48 +05:30
Manav Rathi 48f741b792
Tweak docs 2024-04-08 15:02:32 +05:30
Manav Rathi 7be4b47e51
Tighten type checking progressively 2024-04-08 14:57:49 +05:30
Manav Rathi f65e738507
Move to types 2024-04-08 14:42:44 +05:30
Manav Rathi c8089fbb60
Inline uncaptured errors 2024-04-08 14:40:44 +05:30
Manav Rathi 15e290a993
api => services 2024-04-08 14:31:19 +05:30
Manav Rathi 12fa3be6c5
Event handler cleanup 2024-04-08 14:24:50 +05:30
Manav Rathi 5ae6d7d47b
Don't wait for ready before logging startup banner
> The only hint is to call the code in main.ts without waiting for the ready event.
>
> https://github.com/megahertz/electron-log/issues/408
2024-04-08 14:17:02 +05:30
Manav Rathi 18e47b3d4e
Synchronize startup banners 2024-04-08 14:09:59 +05:30
Manav Rathi 35736c447d
Cleanup 2024-04-08 13:59:40 +05:30
Manav Rathi c458b429a0
Let the web side log errors for the bridged methods 2024-04-08 13:58:28 +05:30
Manav Rathi c5bb479c4f
Consolidate logging / desktop 2024-04-08 13:44:39 +05:30
Manav Rathi 5810d2b762
Add yarn preview:* 2024-03-30 18:06:58 +05:30
Manav Rathi 3706b99d36
Remove debug print 2024-03-27 21:21:31 +05:30
Manav Rathi 1bb79854a5
Mollify TypeScript 2024-03-27 21:17:30 +05:30
Manav Rathi c9f8ad3e88
Tidy and prune the app's menu
- Switch to title case (discussed with others that the app's main menu is an
  appropriate choice and exception to our sentence casing otherwise).

- Prune
2024-03-27 21:12:45 +05:30
Manav Rathi 0dda25800e
Update the node version number in tsconfig doc comments 2024-03-27 20:34:10 +05:30
Manav Rathi 95eec1f3d6
Remove brew special casing
Brew Formulae support an `auto_updates true` flag which tells brew's auto update
mechanism to stay out of the way.

Ref: https://docs.brew.sh/FAQ#why-arent-some-apps-included-during-brew-upgrade

Will need to open a PR to update our Formula though.

9241d331b6/Casks/e/ente.rb (L9)
2024-03-27 20:29:11 +05:30
Manav Rathi 5ac4799ce1
Support arbitrary parameters like console.log 2024-03-27 20:26:16 +05:30
Manav Rathi 3699118f0c
Don't shellescape fully formed commands 2024-03-27 20:10:45 +05:30
Manav Rathi cf71d1477b
update to new functions in more places 2024-03-27 17:44:49 +05:30
Manav Rathi 937e09f6a3
Fix import errors 2024-03-27 17:21:42 +05:30
Manav Rathi 8ffe1ece2d
Relay isFolder error back to renderer 2024-03-27 17:13:25 +05:30
Manav Rathi 175ea274c4
Alternative formatting 2024-03-27 17:07:56 +05:30
Manav Rathi 08489c8237
Tweak "render-process-gone" handler 2024-03-27 17:04:46 +05:30
Manav Rathi 3e61ebf1df
Add types for shellescape
Refs:

- https://github.com/boazy/any-shell-escape
- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/shell-escape/index.d.ts
- https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html
2024-03-27 16:36:31 +05:30
Manav Rathi e1c2c9fc98
Rearrange 2024-03-27 15:55:02 +05:30
Manav Rathi c38542dbfb
Init logging 2024-03-27 15:34:29 +05:30
Manav Rathi 27047da08b
Use a truthy check 2024-03-27 15:12:40 +05:30
Manav Rathi 846c2af02b
Outline a potential approach 2024-03-27 15:10:35 +05:30
Manav Rathi 42679bc9da
Remove duplicated icon
Per https://www.electron.build/icons, a single 512x512 icon.png placed in the
buildResources directory (default `build`) is enough to generate icons for all
three - macOS, Windows and Linux.
2024-03-27 15:00:25 +05:30
Manav Rathi 88e8e1a18d
Remove hacky splash window with a background color
...hacky because it was using a timer instead of the "ready-to-show" event
(which wasn't getting fired for some reason). It is recommended that we set a
background color anyway.
2024-03-26 21:45:21 +05:30
Manav Rathi ac97d65c12
Remove one copy of duplication from IPC types 2024-03-26 21:45:21 +05:30
Manav Rathi b0ca3a1a9f
Preload won't have logging 2024-03-26 21:45:21 +05:30
Manav Rathi c055cd9b4a
Remove the tscw 2024-03-26 21:45:21 +05:30
Manav Rathi 9e987f62f6
Fix paths of splash etc 2024-03-26 21:45:21 +05:30
Manav Rathi cb33b6df10
Refactor the init process 2024-03-26 21:45:20 +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
Manav Rathi 8f978a3d3d
Manually update the version info in package.json 2024-03-26 21:42:48 +05:30