super basic trouble shooting page for windows app (#585)

* super basic trouble shooting page for windows app

* change path

* Edits for the troubleshooting page

* updated text

* undo windows app changes

* New procedure text for upgrade

* Clarify 'save link'

* Arg, typo!

* bumped pxt-core
This commit is contained in:
Peli de Halleux
2017-12-04 22:26:25 -08:00
committed by GitHub
parent 18beffb7b7
commit bb69ce3199
6 changed files with 41 additions and 9 deletions

View File

@ -328,16 +328,11 @@ namespace pxt.editor {
})
})
.catch(e => {
if (e.type === "devicenotfound" && d.reportError) {
if (d.reportError) {
d.reportError(Util.lf("Please connect your device."))
} else {
pxt.reportException(e)
}
if (e.type === "devicenotfound" && d.reportDeviceNotFoundAsync) {
return d.reportDeviceNotFoundAsync("/device/windows-app/troubleshoot");
} else {
return saveHexAsync()
}
return Promise.resolve()
})
}