seanshpark / netron

Visualizer for deep learning and machine learning models
https://www.lutzroeder.com/ai
MIT License
0 stars 0 forks source link

Local test diff #4

Open seanshpark opened 3 hours ago

seanshpark commented 3 hours ago

For local testing

diff --git a/source/app.js b/source/app.js
index fe38a455..c1758d9b 100644
--- a/source/app.js
+++ b/source/app.js
@@ -289,6 +289,7 @@ app.Application = class {
     }

     async _checkForUpdates() {
+        return;
         if (!electron.app.isPackaged) {
             return;
         }
diff --git a/source/base.js b/source/base.js
index b2dcc88e..fef4fc21 100644
--- a/source/base.js
+++ b/source/base.js
@@ -687,6 +687,7 @@ base.Telemetry = class {
     }

     send(name, params) {
+        return;
         if (this._session) {
             try {
                 params = { event_name: name, ...this._metadata, ...params };
seanshpark commented 3 hours ago

Local build

debug:
        #npx electron-builder --win --x86
        electron-builder build --win --x64

run:
        ELECTRON_ENABLE_LOGGING=1 ./dist/Netron-7.6.8-arm64.AppImage