mirror of
				https://github.com/We-Dont-Byte/Mind_Reader.git
				synced 2025-02-04 10:38:42 +00:00 
			
		
		
		
	npm is a mess.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user