Commit Graph

28 Commits

Author SHA1 Message Date
Manav Rathi
a11dd01d4a [desktop] Fix build failures due to apt failures
https://github.com/ente-io/ente/pull/3921/files
2024-11-04 09:46:28 +05:30
Manav Rathi
a1bb2ff0c1 [desktop] Fix build failures due to apt failures
https://github.com/actions/runner-images/issues/6039#issuecomment-1209531257
2024-11-04 09:32:47 +05:30
Manav Rathi
13dea41c97 [desktop] Specify an action version
Apparently, specifying something after the @ is necessary. Without this, the
action stopped working.
2024-08-27 12:54:55 +05:30
Manav Rathi
f3860a077e [desktop] Use latest version of our updated fork of the electron-builder action
So that it refs this commit
eff78a1d33
2024-08-27 12:44:33 +05:30
Manav Rathi
7129b2822b [desktop] Fix macOS universal binaries
The previous approach worked, but we ran into some other issues

    Uncaught Exception:
    Error: Cannot find module 'ajv/dist/compile/codegen'
    Require stack:
    - /Applications/ente.app/Contents/Resources/app.asar/node_modules/ajv-formats/dist/limit.js

As an alternative, try to use the yarn equivalent(-ish).
2024-08-27 10:50:51 +05:30
Manav Rathi
c1327fd8aa [desktop] Fix action
Fix for https://github.com/ente-io/ente/pull/2965
2024-08-27 10:02:45 +05:30
Manav Rathi
248d8e09a9 [desktop] Create ffmpeg universal binaries for macOS
Tested locally, still need to run it as a GitHub action to verify that it is
working as intended.

Refs:
- https://www.npmjs.com/package/ffmpeg-static#electron--other-cross-platform-packaging-tools
- https://github.com/eugeneware/ffmpeg-static/issues/35
- https://github.com/eugeneware/ffmpeg-static/issues/136
2024-08-27 09:54:30 +05:30
Manav Rathi
c16b6a7d43 -rc => -beta to be clearer 2024-07-12 15:52:32 +05:30
Manav Rathi
38cdfcf0a4 [desktop] Continue iterating of the pre-release process 2024-06-17 16:40:35 +05:30
Manav Rathi
332c8d9695 [desktop][docs] Remove outdated desktop/rc branch name 2024-06-11 10:41:28 +05:30
Manav Rathi
e87475beb7 [desktop] Update nightly release artifacts
Ref: https://github.com/electron-userland/electron-builder/issues/2074
2024-05-31 17:06:12 +05:30
Manav Rathi
b2405e8b59 [desktop] Fix the value for the release type env var 2024-05-31 16:52:01 +05:30
Manav Rathi
291d5c437c [desktop] Update published artifacts on the nightly pre-release 2024-05-31 16:33:21 +05:30
Manav Rathi
c1097de27f Non required 2024-05-30 21:02:17 +05:30
Manav Rathi
f647355666 [desktop] Nightly builds 2024-05-30 20:58:31 +05:30
Manav Rathi
4db07149ae [desktop] Don't invoke electron-builder twice on CI 2024-05-08 12:10:20 +05:30
Manav Rathi
212f863733 Restore the yarn-timeout workaround
e.g. see a recent build failures:
https://github.com/ente-io/photos-desktop/actions/runs/8996782367/job/24713793588

there was another one recently. both of these were on the Windows runner, in one
case the message was:

    info There appears to be trouble with your network connection. Retrying...

in another case the issue manifested later

    D:\a\photos-desktop\photos-desktop\web\node_modules\date-fns\formatISO\index.js:11
    /**

    SyntaxError: Invalid or unexpected token
        at internalCompileFunction (node:internal/vm:128:18)
        at wrapSafe (node:internal/modules/cjs/loader:1280:20)

but retrying fixed it, so I'm counting it as a broken package install.
2024-05-08 11:17:15 +05:30
Manav Rathi
0d1ad8b8e1 More release shenanigans 2024-05-08 10:04:16 +05:30
Manav Rathi
aa81e14fed Draft release for testing 2024-05-06 15:22:21 +05:30
Manav Rathi
2b9ee7824d lint 2024-05-03 14:44:24 +05:30
Manav Rathi
ea812561c6 Run everywhere 2024-05-03 14:38:56 +05:30
Manav Rathi
b24d80a267 Move to new notarization mechanism
Refs:
- https://www.electron.build/configuration/mac.html#NotarizeLegacyOptions
- https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/macPackager.ts
- https://github.com/samuelmeuli/action-electron-builder/issues/101
2024-05-03 13:02:19 +05:30
Manav Rathi
e9feec37d5 Run the electron builder in the correct path 2024-05-03 11:28:06 +05:30
Manav Rathi
647cc0d803 [desktop] Fix ref ref in action
ref_name is the (from my understanding) the shorthand we need for prefixing. Untested, will do a test build.
2024-05-03 11:00:55 +05:30
Manav Rathi
3b3d24e9e0 It'll need to live in the releases repo, reword accordingly 2024-05-02 19:34:58 +05:30
Manav Rathi
fa182b951d [desktop] Resurrect build
Untested
2024-05-02 12:55:08 +05:30
Manav Rathi
9b6e47d291 [desktop] Remove sentry
See 70cddfdf0b
2024-03-12 13:54:17 +05:30
Manav Rathi
1ac5222b09 Move into desktop/ 2024-03-01 12:36:35 +05:30