-
-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
People can set an alias to the start command and get it running easily
Example made for PowerShell :
- Enter
notepad $PROFILE
if this prompts an error, runNew-Item -Path $PROFILE -Type File -Forcebefore - Add the following to the bottom of this file :
make sure to change the path to arrpc with the actual path on your computer, and do
function Invoke-ARRPC { Start-Job -ScriptBlock { Set-Location -Path "D:\EDM115\Programmes\Discord RPC\arrpc" node src } -Name "arrpc" } Set-Alias -Name arrpc -Value Invoke-ARRPC
npm installon the folder if you run it for the first time - Save the file, exit the notepad and run
. $PROFILE
How to use :
- Start :
arrpc - See the output :
Receive-Job -Name "arrpc" - Stop :
Stop-Job -Name "arrpc"
Metadata
Metadata
Assignees
Labels
No labels
