Skip to content

Commit

Permalink
.exe for Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Shiwei Zhang <[email protected]>
  • Loading branch information
shizhMSFT committed May 16, 2022
1 parent f06e837 commit 2997b02
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions specs/directory.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ The path for the `notation` binary is
{BIN}/notation
```

On Windows, the `.exe` extension is required for executables.

```
{BIN}/notation.exe
```

### Plugin

[Plugins][Plugin] are binaries not meant to be executed directly by users' shell or scripts. The path of a plugin follows the pattern below.
Expand All @@ -103,6 +109,12 @@ The path for the `notation` binary is
{LIBEXEC}/notation/plugins/{plugin-name}/notation-{plugin-name}
```

On Windows, the `.exe` extension is required for executables.

```
{LIBEXEC}/notation/plugins/{plugin-name}/notation-{plugin-name}.exe
```

### General Configuration

The path of the general configuration file of the `notation` CLI is
Expand Down Expand Up @@ -240,10 +252,10 @@ C:.
├── Program Files
│   └── notation
│   ├── bin
│   │   └── notation
│   │   └── notation.exe
│   └── plugins
│   └── com.example.foo
│   └── notation-com.example.foo
│   └── notation-com.example.foo.exe
├── ProgramData
│   └── notation
│   ├── config.json
Expand Down Expand Up @@ -276,7 +288,7 @@ C:.
├── config.json
├── plugins
│   └── com.example.bar
│   └── notation-com.example.bar
│   └── notation-com.example.bar.exe
├── signing
│   ├── certificates
│   │   ├── dev.crt
Expand Down

0 comments on commit 2997b02

Please sign in to comment.