Fix module loading by using PSM1 file and AssembliesToProcess

This commit is contained in:
Alphaeus Mote
2025-04-28 20:23:16 -04:00
parent 771c399d45
commit 16051f5fbd
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -39,6 +39,7 @@ dotnet build "$rootPath\PSProxmox\PSProxmox.Main.csproj" -c Release -o $releaseB
# Copy the module files to the release directory
Copy-Item -Path "$rootPath\Module\PSProxmox.psd1" -Destination $releaseVersionDir -Force
Copy-Item -Path "$rootPath\Module\PSProxmox.psm1" -Destination $releaseVersionDir -Force
Copy-Item -Path "$rootPath\LICENSE" -Destination $releaseVersionDir -Force
Copy-Item -Path "$rootPath\README.md" -Destination $releaseVersionDir -Force
Copy-Item -Path "$scriptRoot\Install-PSProxmox.ps1" -Destination $releaseVersionDir -Force