fix invalid lang tags (#19513)

This commit is contained in:
Micha Hanselmann 2019-07-30 13:11:56 -07:00 committed by Shelley Vohr
parent 6e367dab9a
commit af3316707f
10 changed files with 15 additions and 15 deletions

View file

@ -20,7 +20,7 @@ below.
On macOS:
```text
```plaintext
electron/Electron.app/Contents/Resources/app/
├── package.json
├── main.js
@ -29,7 +29,7 @@ electron/Electron.app/Contents/Resources/app/
On Windows and Linux:
```text
```plaintext
electron/resources/app
├── package.json
├── main.js
@ -52,14 +52,14 @@ below, and Electron will then try to read the archive and start from it.
On macOS:
```text
```plaintext
electron/Electron.app/Contents/Resources/
└── app.asar
```
On Windows and Linux:
```text
```plaintext
electron/resources/
└── app.asar
```
@ -91,7 +91,7 @@ file's name.
The structure of a renamed app would be like:
```text
```plaintext
MyApp.app/Contents
├── Info.plist
├── MacOS/

View file

@ -93,7 +93,7 @@ Specifically, the above means:
For each major and minor bump, you should expect to see something like the following:
```text
```plaintext
2.0.0-beta.1
2.0.0-beta.2
2.0.0-beta.3

View file

@ -17,7 +17,7 @@ Node.js application. The starting point is a `package.json` that is identical
to that of a Node.js module. A most basic Electron app would have the following
folder structure:
```text
```plaintext
your-app/
├── package.json
├── main.js

View file

@ -55,13 +55,13 @@ You can use environment variables to override the base URL, the path at which to
look for Electron binaries, and the binary filename. The url used by `electron-download`
is composed as follows:
```txt
```plaintext
url = ELECTRON_MIRROR + ELECTRON_CUSTOM_DIR + '/' + ELECTRON_CUSTOM_FILENAME
```
For instance, to use the China mirror:
```txt
```plaintext
ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
```

View file

@ -13,7 +13,7 @@ Generally speaking, shortcuts are added by providing a `Name` and `Exec`
property for each entry in the shortcuts menu. Unity will execute the
`Exec` field once clicked by the user. The format is as follows:
```text
```plaintext
Actions=PlayPause;Next;Previous
[Desktop Action PlayPause]

View file

@ -391,7 +391,7 @@ easy way to improve your application's security.
The following CSP will allow Electron to execute scripts from the current
website and from `apis.example.com`.
```txt
```plaintext
// Bad
Content-Security-Policy: '*'

View file

@ -49,7 +49,7 @@ your application's size.
The output should look roughly like this:
```text
```plaintext
.
└── dist
└── app-linux-x64

View file

@ -122,7 +122,7 @@ is built with another system, you'll need to ensure that you build with a
delay-load hook installed in the main `.node` file. Your `link.exe` invocation
should look like this:
```text
```plaintext
link.exe /OUT:"foo.node" "...\node.lib" delayimp.lib /DELAYLOAD:node.exe /DLL
"my_addon.obj" "win_delay_load_hook.obj"
```

View file

@ -48,7 +48,7 @@ any module you don't actually need will increase your application's size.
The output should look roughly like this:
```text
```plaintext
├── Ghost.exe
├── LICENSE
├── content_resources_200_percent.pak