|
|
@@ -8,7 +8,7 @@ To start the Electron app, install [Node.js](https://nodejs.org) and run:
|
|
|
|
|
|
```bash
|
|
|
npm install
|
|
|
-npm start
|
|
|
+npx electron .
|
|
|
```
|
|
|
|
|
|
To debug the Electron app use [Visual Studio Code](https://code.visualstudio.com) and install the [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) extension. Open the `./Netron` root folder and press `F5`. To attach the debugger to a rendering window select the `Debug` tab and `Debug Renderer Process` before launching.
|
|
|
@@ -25,8 +25,6 @@ To build and launch the Python server run:
|
|
|
|
|
|
```bash
|
|
|
npm install
|
|
|
-python ./setup.py build
|
|
|
-PYTHONPATH=${source}/build/python/lib python -c "import netron; netron.main()"
|
|
|
+python setup.py build
|
|
|
+PYTHONPATH=build/python/lib python -c "import netron; netron.main()"
|
|
|
```
|
|
|
-
|
|
|
-The same can be accomplished by running the `./netron` script in the enlistment root folder.
|