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
Copy file name to clipboardExpand all lines: README.md
+4-6
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,9 @@ npm install -g @angular/cli
56
56
57
57
Voila! You can use your Angular + Electron app in a local development environment with hot reload !
58
58
59
-
The application code is managed by `main.js`. In this sample, the app runs with a simple Electron window and "Developer Tools" is open.
59
+
The application code is managed by `main.ts`. In this sample, the app runs with a simple Electron window and "Developer Tools" is open.
60
60
The Angular component contains an example of Electron and NodeJS native lib import. See [Use NodeJS Native libraries](#use-nodejs-native-libraries) charpter if you want to import other native libraries in your project.
61
-
You can desactivate "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.js`.
61
+
You can desactivate "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.ts`.
62
62
63
63
## To build for production
64
64
@@ -101,11 +101,9 @@ Note that you can't use Electron or NodeJS native libraries in this case. Please
101
101
102
102
You can find end-to-end tests in /e2e folder.
103
103
104
-
Before executing e2e scripts, you may need to update drivers libraries : `npm run pree2e`
105
-
106
-
You can now execute tests with the command lines below :
104
+
You can run tests with the command lines below :
107
105
-**in a terminal window** -> First, start a web server on port 4200 : `npm run start:web`
108
-
-**in another terminal window** -> Then, execute Protractor : `npm run e2e`
106
+
-**in another terminal window** -> Then, launch Protractor (E2E framework): `npm run e2e`
0 commit comments