ente/desktop
Manav Rathi 6ec4cc7c89
Log unhandled errors and promise rejections in the desktop app
Test code:

    setTimeout(() => testFunctionSync(), 5000);
    setTimeout(
        () => testFunction().then(() => console.log("done testFunction")),
        10000,
    );

    const testFunctionSync = () => {
        console.log("sleeping not");
        throw new Error("Handle me");
    };

    const testFunction = async () => {
        console.log("sleeping");
        await fs.mkdir("/tmp/foo", { recursive: true });
        console.log("woke up");
        throw new Error("Handle me");
    };
2024-04-10 13:35:04 +05:30
..
.github/workflows [desktop] Remove sentry 2024-03-12 13:54:17 +05:30
build Remove support files for (removed) Windows GGML binary 2024-04-09 21:32:41 +05:30
docs Only ONNX, desktop 2024-04-09 20:46:27 +05:30
src Log unhandled errors and promise rejections in the desktop app 2024-04-10 13:35:04 +05:30
.eslintrc.js Tighten type checking progressively 2024-04-08 14:57:49 +05:30
.gitignore Update eslint settings to match main project 2024-03-19 19:17:01 +05:30
.prettierrc.json Enable prose-wrap 2024-03-19 19:17:01 +05:30
CHANGELOG.md Enable prose-wrap 2024-03-19 19:17:01 +05:30
electron-builder.yml Remove stale ggml reference 2024-04-09 21:29:15 +05:30
package.json Remove the tscw 2024-03-26 21:45:21 +05:30
README.md Document that the main process is not restarted 2024-03-22 19:55:57 +05:30
tsconfig.json Update the node version number in tsconfig doc comments 2024-03-27 20:34:10 +05:30
yarn.lock Major version update of Electron 2024-03-26 21:42:48 +05:30

Desktop app for Ente Photos

The sweetness of Ente Photos, right on your computer. Linux, Windows and macOS.

You can download a pre-built binary from releases.

To know more about Ente, see our main README or visit ente.io.

Building from source

Caution

We're improving the security of the desktop app further by migrating to Electron's sandboxing and contextIsolation. These updates are still WIP and meanwhile the instructions below might not fully work on the main branch.

Fetch submodules

git submodule update --init --recursive

Install dependencies

yarn install

Run in development mode (supports hot reload for the renderer process)

yarn dev

Or create a binary for your platform

yarn build

That's the gist of it. For more development related documentation, see docs.