docs: replace the atom.io headers URL with electronjs.org (#18328)
This commit is contained in:
		
					parent
					
						
							
								d1207e9d8f
							
						
					
				
			
			
				commit
				
					
						e73a0e6cc6
					
				
			
		
					 5 changed files with 15 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -55,7 +55,7 @@ export npm_config_target=1.2.3
 | 
			
		|||
export npm_config_arch=x64
 | 
			
		||||
export npm_config_target_arch=x64
 | 
			
		||||
# Download headers for Electron.
 | 
			
		||||
export npm_config_disturl=https://atom.io/download/electron
 | 
			
		||||
export npm_config_disturl=https://electronjs.org/headers
 | 
			
		||||
# Tell node-pre-gyp that we are building for Electron.
 | 
			
		||||
export npm_config_runtime=electron
 | 
			
		||||
# Tell node-pre-gyp to build module from source code.
 | 
			
		||||
| 
						 | 
				
			
			@ -72,7 +72,7 @@ use `node-gyp` directly to build for Electron:
 | 
			
		|||
 | 
			
		||||
```sh
 | 
			
		||||
cd /path-to-module/
 | 
			
		||||
HOME=~/.electron-gyp node-gyp rebuild --target=1.2.3 --arch=x64 --dist-url=https://atom.io/download/electron
 | 
			
		||||
HOME=~/.electron-gyp node-gyp rebuild --target=1.2.3 --arch=x64 --dist-url=https://electronjs.org/headers
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
* `HOME=~/.electron-gyp` changes where to find development headers.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue