docs: typo in launch-app-from-url-in-another-app.md (#30566)
* Typo in launch-app-from-url-in-another-app.md Code snippet for the info.plist example had html formatting. Removed. * Fix paddings Co-authored-by: Cheng Zhao <github@zcbenz.com>
This commit is contained in:
parent
ea889b423d
commit
11de995d38
1 changed files with 19 additions and 25 deletions
|
@ -127,31 +127,25 @@ can add the flag `--extend-info` with a path to the `plist` you've created. The
|
||||||
### Plist
|
### Plist
|
||||||
|
|
||||||
```XML
|
```XML
|
||||||
<p>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<h5>macOS plist</h5>
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<pre><code>
|
<plist version="1.0">
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<dict>
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<key>CFBundleURLTypes</key>
|
||||||
<plist version="1.0">
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLSchemes</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<string>electron-api-demos</string>
|
||||||
<key>CFBundleURLSchemes</key>
|
</array>
|
||||||
<array>
|
<key>CFBundleURLName</key>
|
||||||
<string>electron-api-demos</string>
|
<string>Electron API Demos Protocol</string>
|
||||||
</array>
|
</dict>
|
||||||
<key>CFBundleURLName</key>
|
</array>
|
||||||
<string>Electron API Demos Protocol</string>
|
<key>ElectronTeamID</key>
|
||||||
</dict>
|
<string>VEKTX9H2N7</string>
|
||||||
</array>
|
</dict>
|
||||||
<key>ElectronTeamID</key>
|
</plist>
|
||||||
<string>VEKTX9H2N7</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
</code>
|
|
||||||
</pre>
|
|
||||||
<p>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Conclusion
|
## Conclusion
|
||||||
|
|
Loading…
Reference in a new issue