Skip to content

Commit

Permalink
docs: add CLI usage to README (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Aug 2, 2023
1 parent fa08095 commit c9a6343
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

## Usage

### Via JavaScript

```typescript
import { flipFuses, FuseVersion, FuseV1Options } from '@electron/fuses';

Expand All @@ -26,6 +28,13 @@ await flipFuses(
);
```

### From the command line

```sh
$ npx @electron/fuses read --app /Applications/Foo.app
$ npx @electron/fuses write --app /Applications/Foo.app <...key=on/off>
```

### Apple Silicon

For `arm64` macOS builds of your app if you are not immediately codesigning your app after flipping
Expand Down

0 comments on commit c9a6343

Please sign in to comment.