Skip to content

Electron app (take 3)#2535

Merged
dbkr merged 10 commits intodevelopfrom
dbkr/electron_3
Nov 4, 2016
Merged

Electron app (take 3)#2535
dbkr merged 10 commits intodevelopfrom
dbkr/electron_3

Conversation

@dbkr
Copy link
Copy Markdown
Member

@dbkr dbkr commented Nov 2, 2016

Replaces #2511

This is just the changes to actually make the electron app (minus supporting things like factoring various functionality out to Platform classes).

@dbkr dbkr mentioned this pull request Nov 2, 2016
Copy link
Copy Markdown
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks plausible, without not knowing anything about electron. Would like to have another look once the other PRs land

Comment thread electron/src/electron-main.js Outdated
// @flow

/*
Copyright 2016 Aviral Dasgupta and OpenMarket Ltd
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better fix this as Matthew says

Comment thread electron/src/vectormenu.js Outdated
}
];

if (process.platform === 'darwin') {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why only darwin?

let Platform = WebPlatform;
let Platform = null;

if (window && window.process && window.process && window.process.type === 'renderer') {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this happen at build time (and make the Web/ElectronPlatform import conditional) so as to avoid shipping electron in the web bundle (assuming that's what happens)?

@richvdh richvdh assigned dbkr and unassigned richvdh Nov 3, 2016
@dbkr
Copy link
Copy Markdown
Member Author

dbkr commented Nov 3, 2016

ok - other PRs now landed, so ptal :)

@dbkr dbkr assigned richvdh and unassigned dbkr Nov 3, 2016
@dbkr
Copy link
Copy Markdown
Member Author

dbkr commented Nov 4, 2016

(lgtm-ed out-of-band)

@dbkr dbkr merged commit 80bae05 into develop Nov 4, 2016
@t3chguy t3chguy deleted the dbkr/electron_3 branch May 12, 2022 08:55
t3chguy pushed a commit that referenced this pull request Mar 25, 2026
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants