diff --git a/default_app/index.html b/default_app/index.html index 3f29908a5635..86100e19dd84 100644 --- a/default_app/index.html +++ b/default_app/index.html @@ -146,7 +146,7 @@ - +
Docs @@ -162,25 +162,15 @@ Console (or Terminal):

- +

 
     

The path-to-your-app should be the path to your own Electron app.

-

You can read the - - guide in Electron's - +

You can read the quick start + guide in Electron's docs to learn how to write one.

@@ -214,6 +204,12 @@ }).unref(); return false; }; + + const version = process.versions.electron; + document.querySelector('.header-version').innerText = version; + document.querySelector('.command-example').innerText = command; + document.querySelector('.quick-start-link').href = `https://github.com/electron/electron/blob/v${version}/docs/tutorial/quick-start.md`; + document.querySelector('.docs-link').href = `https://github.com/electron/electron/tree/v${version}/docs#readme`;