Skip to content

Commit

Permalink
update readme (#5)
Browse files Browse the repository at this point in the history
* run actions on dev branch

* correct windows paths, add "without encryption" section

* fix govulncheck error
  • Loading branch information
ermanimer committed Jun 12, 2023
1 parent 844ddf1 commit 3905bfc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [main]
branches: [main, dev]
tags: ["*"]

env:
Expand All @@ -19,7 +19,7 @@ jobs:
[windows-latest, windows],
]
arch: [arm64, amd64, 386]
go-version: ["1.20"]
go-version: ["1.20.5"]
exclude:
- os: [macOS-latest, darwin]
arch: 386
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Test

on:
push:
branches: [main]
branches: [main, dev]
pull_request:
branches: [main]
branches: [main, dev]

jobs:
govulncheck:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
go-version: "1.20.5"

- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
Expand All @@ -39,7 +39,7 @@ jobs:
[windows-latest, windows],
]
arch: [amd64]
go-version: ["1.20"]
go-version: ["1.20.5"]
runs-on: ${{ matrix.os[0] }}
name: Test (go${{ matrix.go-version }}, ${{ matrix.os[1] }}, ${{ matrix.arch }})
defaults:
Expand Down
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,25 @@ export PASSWORD="your_password"
cmd.exe:
```
set PASSWORD=your_password
bizip.exe --unzip --encrypted --input "inputs/image*.zip" --output output_file_path
bizip.exe --encrypted --unzip --input "inputs\image*.zip" --output output_file_path
```

PowerShell:
```powershell
$env:PASSWORD = 'your_password'
.\bizip.exe --unzip --encrypted --input "inputs/image*.zip" --output output_file_path
.\bizip.exe --encrypted --unzip --input "inputs\image*.zip" --output output_file_path
```

## Without Encryption (Windows):

cmd.exe:
```
bizip.exe --unzip --input "inputs\image*.zip" --output output_file_path
```

PowerShell:
```powershell
.\bizip.exe --unzip --input "inputs\image*.zip" --output output_file_path
```

## Flags
Expand Down

0 comments on commit 3905bfc

Please sign in to comment.