26 lines
522 B
Markdown
26 lines
522 B
Markdown
# pwn-compile
|
|
|
|
Compile.ps1 repository.
|
|
|
|
## Installation
|
|
Copy [compile.ps1](compile.ps1) to your maps directory and unblock the script with ```Unblock-File```:
|
|
|
|
```powershell
|
|
Unblock-File compile.ps1
|
|
```
|
|
|
|
## Usage
|
|
|
|
### All-Cores mode
|
|
To run this script with all available cores, open a powershell terminal, cd to this directory and run:
|
|
|
|
```powershell
|
|
.\compile.ps1
|
|
```
|
|
|
|
### X Cores mode
|
|
To override the number of cores used to compile, set the Cores param when calling the script:
|
|
```powershell
|
|
.\compile.ps1 -Cores 2
|
|
```
|