mirror of
https://github.com/Grace-Solutions/PSProxmox.git
synced 2026-08-24 13:16:29 +00:00
Fix module loading by using PSM1 file and AssembliesToProcess
This commit is contained in:
@@ -28,6 +28,7 @@ if (-not (Test-Path -Path "$modulePath\bin")) {
|
||||
|
||||
# Copy the module files
|
||||
Copy-Item -Path "$rootPath\Module\PSProxmox.psd1" -Destination $modulePath -Force
|
||||
Copy-Item -Path "$rootPath\Module\PSProxmox.psm1" -Destination $modulePath -Force
|
||||
Copy-Item -Path "$rootPath\Module\bin\PSProxmox.dll" -Destination "$modulePath\bin" -Force
|
||||
Copy-Item -Path "$rootPath\Module\bin\Newtonsoft.Json.dll" -Destination "$modulePath\bin" -Force
|
||||
Copy-Item -Path "$rootPath\LICENSE" -Destination $modulePath -Force
|
||||
|
||||
Reference in New Issue
Block a user