📝 Update docs styles
* Adjust line length to `80` * Normalize whitespaces [ci skip]
This commit is contained in:
		
					parent
					
						
							
								72878d0de6
							
						
					
				
			
			
				commit
				
					
						346ef9df0c
					
				
			
		
					 2 changed files with 12 additions and 10 deletions
				
			
		| 
						 | 
					@ -356,16 +356,16 @@ Clears the recent documents list.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### `app.setAsDefaultProtocolClient(protocol)` _OS X_ _Windows_
 | 
					### `app.setAsDefaultProtocolClient(protocol)` _OS X_ _Windows_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 * `protocol` String - The name of your protocol, without `://`. If you want your
 | 
					* `protocol` String - The name of your protocol, without `://`. If you want your
 | 
				
			||||||
   app to handle `electron://` links, call this method with `electron` as the
 | 
					  app to handle `electron://` links, call this method with `electron` as the
 | 
				
			||||||
   parameter.
 | 
					  parameter.
 | 
				
			||||||
   
 | 
					
 | 
				
			||||||
This method sets the current executable as the default handler for a protocol
 | 
					This method sets the current executable as the default handler for a protocol
 | 
				
			||||||
(aka URI scheme). It allows you to integrate your app deeper into the operating
 | 
					(aka URI scheme). It allows you to integrate your app deeper into the operating
 | 
				
			||||||
system. Once registered, all links with `your-protocol://` will be openend with
 | 
					system. Once registered, all links with `your-protocol://` will be openend with
 | 
				
			||||||
the current executable. The whole link, including protocol, will be passed to
 | 
					the current executable. The whole link, including protocol, will be passed to
 | 
				
			||||||
your application as a parameter.
 | 
					your application as a parameter.
 | 
				
			||||||
 
 | 
					
 | 
				
			||||||
**Note:** On OS X, you can only register protocols that have been added to
 | 
					**Note:** On OS X, you can only register protocols that have been added to
 | 
				
			||||||
your app's `info.plist`, which can not be modified at runtime. You can however
 | 
					your app's `info.plist`, which can not be modified at runtime. You can however
 | 
				
			||||||
change the file with a simple text editor or script during build time.
 | 
					change the file with a simple text editor or script during build time.
 | 
				
			||||||
| 
						 | 
					@ -375,11 +375,11 @@ The API uses the Windows Registry and LSSetDefaultHandlerForURLScheme internally
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### `app.removeAsDefaultProtocolClient(protocol)` _Windows_
 | 
					### `app.removeAsDefaultProtocolClient(protocol)` _Windows_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 * `protocol` String - The name of your protocol, without `://`.
 | 
					* `protocol` String - The name of your protocol, without `://`.
 | 
				
			||||||
   
 | 
					
 | 
				
			||||||
This method checks if the current executable as the default handler for a protocol
 | 
					This method checks if the current executable as the default handler for a protocol
 | 
				
			||||||
(aka URI scheme). If so, it will remove the app as the default handler.
 | 
					(aka URI scheme). If so, it will remove the app as the default handler.
 | 
				
			||||||
 
 | 
					
 | 
				
			||||||
**Note:** On OS X, removing the app will automatically remove the app as the
 | 
					**Note:** On OS X, removing the app will automatically remove the app as the
 | 
				
			||||||
default protocol handler.
 | 
					default protocol handler.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -576,4 +576,4 @@ Sets the `image` associated with this dock icon.
 | 
				
			||||||
[dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103
 | 
					[dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103
 | 
				
			||||||
[tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks
 | 
					[tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks
 | 
				
			||||||
[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
 | 
					[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
 | 
				
			||||||
[CFBundleURLTypes]: https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-102207-TPXREF115
 | 
					[CFBundleURLTypes]: https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-102207-TPXREF115
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This module provides an interface for the `Squirrel` auto-updater framework.
 | 
					This module provides an interface for the `Squirrel` auto-updater framework.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can quickly launch a multi-platform release server for distributing your application by forking [electron-release-server](https://github.com/ArekSredzki/electron-release-server).
 | 
					You can quickly launch a multi-platform release server for distributing your
 | 
				
			||||||
 | 
					application by forking [electron-release-server][electron-release-server].
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Platform notices
 | 
					## Platform notices
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -101,3 +102,4 @@ should only be called after `update-downloaded` has been emitted.
 | 
				
			||||||
[squirrel-windows]: https://github.com/Squirrel/Squirrel.Windows
 | 
					[squirrel-windows]: https://github.com/Squirrel/Squirrel.Windows
 | 
				
			||||||
[installer]: https://github.com/atom/grunt-electron-installer
 | 
					[installer]: https://github.com/atom/grunt-electron-installer
 | 
				
			||||||
[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
 | 
					[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
 | 
				
			||||||
 | 
					[electron-release-server]: https://github.com/ArekSredzki/electron-release-server
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue