poshbotio / PoshBot

Powershell-based bot framework
MIT License
537 stars 108 forks source link

Enable running multiple versions of PoshBot side-by-side #122

Closed Tadas closed 5 years ago

Tadas commented 5 years ago

This makes PoshBot more "portable" and makes it possible to run multiple versions side-by-side

Description

Instead of relying on Import-Module PoshBot to load a module found via $env:PSModulePath we explicitly specify which module manifest to load. That way you can have PoshBot installed in your system while also working on a newer version.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist:

devblackops commented 5 years ago

Thanks @Tadas! I ran through some tests and this looks good to me. Even exposed an unrelated bug which I'll be fixing 🐛