Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit ac5957d

Browse files
committed
Added module to NuGet repository
1 parent c3798fd commit ac5957d

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,14 @@ Invoke-Expression(New-Object Net.WebClient).DownloadString("https://raw.githubus
148148

149149
Wait for the command output: `Completed`
150150

151-
You can configure port, login and password for connect to the server in the configuration file (`WinAPI.ini`), which is located in the directory with the module
151+
To find out where the module is installed, use the command:
152+
153+
```PowerShell
154+
> $(Get-Module ps.win.api).Path
155+
C:\Users\lifailon\Documents\PowerShell\Modules\ps.win.api\0.4.3\ps.win.api.psm1
156+
```
157+
158+
# You can configure port, login and password for connect to the server in the configuration file `WinAPI.ini`, which is located in the directory with the module.
152159

153160
```PowerShell
154161
port = 8443

WinAPI/Server/WinAPI-0.4.3.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### ©2023 Lifailon
2-
### Source: https://github.com/Lifailon/WinAPI
2+
### Source GitHub: https://github.com/Lifailon/WinAPI
3+
### Source NuGet: https://www.nuget.org/packages/ps.win.api
34
### REST API and Web server for [Kinozal-Bot](https://github.com/Lifailon/Kinozal-Bot)
45
<# Client
56
# Login and password default:
@@ -986,8 +987,9 @@ function Start-Socket {
986987
### GET /
987988
if ($context.Request.HttpMethod -eq "GET" -and $context.Request.RawUrl -eq "/") {
988989
$data = @("
989-
Version = 4.3
990-
Source = https://github.com/Lifailon/WinAPI
990+
Version = 0.4.3
991+
GitHub = https://github.com/Lifailon/WinAPI
992+
NuGet = https://www.nuget.org/packages/ps.win.api
991993
") | ConvertFrom-StringData
992994
Send-Response -Data $Data -Code 200 -Body -fl
993995
}

0 commit comments

Comments
 (0)