as we get more users, we see the same errors occurring after each quarterly upgrade…
i have started a script to do this for the users…
lets collaborate and get it working…
I’ll maintain a copy on my dropbox…
https://www.dropbox.com/s/71xtxr18si7cpnq/upgrade-script.sh?dl=0
right now it doesn’t DO the npm installs… (flag for that)
we need to determine which files are important on the git pull ( i use fetch/diff to get the list of changed files)
and what to do about them… reset hard or stash /stash pop after…
know that package.json, package-lock.json and custom.css are files of concern so far…
it find all modules which have a package.json, and goes into each and does npm install if the base npm install works…
we know that some modules are difficult , because their electron version must match the base…
how can we detect that and run electron-rebuild…