Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash SD card #36

Open
benpawle opened this issue Jul 29, 2016 · 3 comments
Open

Flash SD card #36

benpawle opened this issue Jul 29, 2016 · 3 comments

Comments

@benpawle
Copy link

No description provided.

@joerick
Copy link
Member

joerick commented Aug 4, 2016

From the #25 'Welcome panel' there is a button to 'set up OS'. This takes the user to a dialog that downloads the latest Tingbot OS disk image, prompts the user to insert an SD card, and then flashes the SD, before handing off to the Wifi setup dialog.

@joerick
Copy link
Member

joerick commented Aug 4, 2016

Having looked at this briefly, there are a lot of cross-platform gotchas (listing drives, writing raw to the drives, privilege escalation) that make it a lot of work.

There is a great open source app called Etcher written in Javascript Electron that does this. They've even broken out their code into npm modules. This really helps but the privilege escalation is still a massive sticking point. This is implemented in Etcher child-writer module. Porting this to run in Tide electron would probably be possible.

@joerick
Copy link
Member

joerick commented Aug 4, 2016

Given our time pressures for v1.0, for now we'll be writing a guide for how to flash an SD (download a build of Etcher, download the latest image, and flash that to an SD card using Etcher). We can come back to this to improve the first-run user experience if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants