You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update remaining references to electron-quick-start (#47449)
* chore: udpate remaining references to electron-quick-start
Co-authored-by: Anny Yang <yangannyx@gmail.com>
* chore: Update docs/tutorial/tutorial-1-prerequisites.md
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
Co-authored-by: Anny Yang <anny@electronjs.org>
* chore: Update docs/tutorial/tutorial-3-preload.md
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
Co-authored-by: Anny Yang <anny@electronjs.org>
* chore: Update docs/tutorial/tutorial-2-first-app.md
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
Co-authored-by: Anny Yang <anny@electronjs.org>
* chore: linebreak
Co-authored-by: Anny Yang <yangannyx@gmail.com>
* chore: swap minimal-repro for npx create-electron-app
Co-authored-by: Anny Yang <yangannyx@gmail.com>
* chore: add back code commands
Co-authored-by: Anny Yang <yangannyx@gmail.com>
* chore: add whitespace
Co-authored-by: Anny Yang <yangannyx@gmail.com>
* chore: remove reference to repo containing old quick start
Co-authored-by: Anny Yang <yangannyx@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Anny Yang <yangannyx@gmail.com>
Co-authored-by: Anny Yang <anny@electronjs.org>
#### 2. Add a file `.vscode/launch.json` with the following configuration:
@@ -37,23 +38,27 @@ $ code electron-quick-start
37
38
38
39
#### 3. Debugging
39
40
40
-
Set some breakpoints in `main.js`, and start debugging in the[Debug View](https://code.visualstudio.com/docs/editor/debugging). You should be able to hit the breakpoints.
41
-
42
-
Here is a pre-configured project that you can download and directly debug in VSCode: https://github.com/octref/vscode-electron-debug/tree/master/electron-quick-start
41
+
Set some breakpoints in `main.js`, and start debugging in the
42
+
[Debug View](https://code.visualstudio.com/docs/editor/debugging). You should
43
+
be able to hit the breakpoints.
43
44
44
45
## Debugging the Electron codebase
45
46
46
-
If you want to build Electron from source and modify the native Electron codebase, this section will help you in testing your modifications.
47
+
If you want to build Electron from source and modify the native Electron codebase,
48
+
this section will help you in testing your modifications.
47
49
48
-
For those unsure where to acquire this code or how to build it, [Electron's Build Tools](https://github.com/electron/build-tools) automates and explains most of this process. If you wish to manually set up the environment, you can instead use these [build instructions](../development/build-instructions-gn.md).
50
+
For those unsure where to acquire this code or how to build it,
51
+
[Electron's Build Tools](https://github.com/electron/build-tools) automates and
52
+
explains most of this process. If you wish to manually set up the environment,
53
+
you can instead use these [build instructions](../development/build-instructions-gn.md).
*`${workspaceFolder}` is the full path to Chromium's `src` directory.
91
98
*`your-executable-location` will be one of the following depending on a few items:
92
-
*`Testing`: If you are using the default settings of [Electron's Build-Tools](https://github.com/electron/build-tools) or the default instructions when [building from source](../development/build-instructions-gn.md#building).
99
+
*`Testing`: If you are using the default settings of
100
+
[Electron's Build-Tools](https://github.com/electron/build-tools) or the default
101
+
instructions when [building from source](../development/build-instructions-gn.md#building).
93
102
*`Release`: If you built a Release build rather than a Testing build.
94
-
*`your-directory-name`: If you modified this during your build process from the default, this will be whatever you specified.
95
-
* The `args` array string `"your-electron-project-path"` should be the absolute path to either the directory or `main.js` file of the Electron project you are using for testing. In this example, it should be your path to `electron-quick-start`.
103
+
*`your-directory-name`: If you modified this during your build process from
104
+
the default, this will be whatever you specified.
105
+
* The `args` array string `"your-electron-project-path"` should be the absolute
106
+
path to either the directory or `main.js` file of the Electron project you are
107
+
using for testing. In this example, it should be your path to `my-app`.
96
108
97
109
#### 3. Debugging
98
110
99
-
Set some breakpoints in the .cc files of your choosing in the native Electron C++ code, and start debugging in the [Debug View](https://code.visualstudio.com/docs/editor/debugging).
111
+
Set some breakpoints in the .cc files of your choosing in the native Electron C++
112
+
code, and start debugging in the [Debug View](https://code.visualstudio.com/docs/editor/debugging).
Copy file name to clipboardExpand all lines: docs/tutorial/tutorial-1-prerequisites.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: 'Prerequisites'
3
-
description: 'This guide will step you through the process of creating a barebones Hello World app in Electron, similar to electron/electron-quick-start.'
3
+
description: 'This guide will step you through the process of creating a barebones Hello World app in Electron.'
Copy file name to clipboardExpand all lines: docs/tutorial/tutorial-2-first-app.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: 'Building your First App'
3
-
description: 'This guide will step you through the process of creating a barebones Hello World app in Electron, similar to electron/electron-quick-start.'
3
+
description: 'This guide will step you through the process of creating a barebones Hello World app in Electron.'
4
4
slug: tutorial-first-app
5
5
hide_title: false
6
6
---
<
7FA6
div class="Diff-module__diffHeaderWrapper--rsdD4" style="--header-sticky-offset:0px">
Copy file name to clipboardExpand all lines: docs/tutorial/tutorial-3-preload.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: 'Using Preload Scripts'
3
-
description: 'This guide will step you through the process of creating a barebones Hello World app in Electron, similar to electron/electron-quick-start.'
3
+
description: 'This guide will step you through the process of creating a barebones Hello World app in Electron.'
0 commit comments