mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-14 19:25:59 +00:00
npm is a mess.
This commit is contained in:
parent
41b3c37ed3
commit
97e54a5931
@ -76,7 +76,7 @@ electronversion=""
|
||||
case `code --version` in
|
||||
#* Each version of VSCode has a corresponding Electron version and Node version
|
||||
#* These are used when
|
||||
1.66.*) electronversion="17.2.0"; nodeversion="16.13.0";;
|
||||
1.66.*) electronversion="17.2.0"; nodeversion="16.14.2";;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
@ -90,6 +90,9 @@ dryrun npm install electron-rebuild yo generator-code
|
||||
# use npm to acquire dependencies for Mind-Reader
|
||||
dryrun npm install
|
||||
|
||||
# automatically update vulnerable packages, if possible
|
||||
dryrun npm audit fix
|
||||
|
||||
# Use electron-rebuild to rebuild electron
|
||||
if [ "$electronversion" != "" ]; then
|
||||
dryrun electron-rebuild --version $electronversion
|
||||
|
Loading…
Reference in New Issue
Block a user