mirror of
https://github.com/es3n1n/defendnot.git
synced 2026-08-02 10:32:01 +00:00
refactor: minor cleanup
This commit is contained in:
@@ -24,7 +24,7 @@ irm https://dnot.sh/ | iex
|
|||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> As seen in examples 2 and 3 you can pass the commandline arguments to the installer script and it will forward them to `defendnot-loader`. For reference what commandline arguments are allowed, see the `Usage` section below.
|
> As seen in examples 2 and 3, you can pass the commandline arguments to the installer script and it will forward them to `defendnot-loader`. For reference what commandline arguments are allowed, see the `Usage` section below.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> You can also directly use the 'longer' version of installer script url, which is `https://raw.githubusercontent.com/es3n1n/defendnot/refs/heads/master/install.ps1`
|
> You can also directly use the 'longer' version of installer script url, which is `https://raw.githubusercontent.com/es3n1n/defendnot/refs/heads/master/install.ps1`
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ Add-Type -AssemblyName System.IO.Compression.FileSystem
|
|||||||
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipPath, $InstallPath)
|
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipPath, $InstallPath)
|
||||||
Remove-Item $zipPath
|
Remove-Item $zipPath
|
||||||
|
|
||||||
Write-Host "`nDefendnot installed to $InstallPath"
|
Write-Host "`nInstalled to $InstallPath"
|
||||||
Write-Host "Starting..."
|
Write-Host "Starting..."
|
||||||
Write-Host "Args: $args"
|
Write-Host "Args: $args"
|
||||||
& "$InstallPath\defendnot-loader.exe" @args
|
& "$InstallPath\defendnot-loader.exe" @args
|
||||||
|
|||||||
Reference in New Issue
Block a user