Updated 2. NAPS2.Tools (markdown)

Ben Olden-Cooligan 2023-09-05 15:42:47 -07:00
parent 1b1a1e822a
commit cee43a3d99

@ -38,3 +38,26 @@ n2 share
- `virus`: Uploads a package to VirusTotal for a false positive check
- `share`: Syncs local packages with a cloud folder (to help with cross-platform packaging)
## Packaging
One of the most useful commands is `n2 pkg`. Here are examples to create each of NAPS2's [release files](https://www.naps2.com/download) individually:
```
# Windows
n2 pkg exe
n2 pkg msi -p win32
n2 pkg msi -p win64
n2 pkg zip
# Mac
n2 pkg pkg -p mac
n2 pkg pkg -p macintel
n2 pkg pkg -p macarm
# Linux
n2 pkg deb -p linux
n2 pkg deb -p linuxarm
n2 pkg rpm -p linux
n2 pkg rpm -p linuxarm
n2 pkg flatpak -p linux
n2 pkg flatpak -p linuxarm
```