Fixing relative path issue
This commit is contained in:
parent
a7d4dcc866
commit
1c4e395b0f
@ -20,7 +20,7 @@ And answer with A:
|
||||
## Usage
|
||||
|
||||
### All-Cores mode
|
||||
To run this script with all available cores, open a powershell terminal, cd to this directory and run:
|
||||
To run this script with all available cores, either double-click it or open a powershell terminal, cd to this directory and run:
|
||||
|
||||
```powershell
|
||||
.\compile.ps1
|
||||
|
@ -17,7 +17,7 @@ else {
|
||||
$files = (ls *.pwn).Name
|
||||
|
||||
# Set the working directory to pass in to the background job
|
||||
$workdir = (pwd)
|
||||
$workdir = (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent)
|
||||
|
||||
# Define the script block, used by start-job when initiating the background job. This block defines the command that will be run, along with it's parameters.
|
||||
$Block = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user