Skip to content

Commit

Permalink
Combine scripts into single root module.
Browse files Browse the repository at this point in the history
Well, this was embarrassing.  It turns out that the module would not
load on most systems, because it could not find the ScriptsToProcess
files.  I combined the scripts into a single RootModule file.
  • Loading branch information
rhymeswithmogul committed Oct 16, 2020
1 parent 0c8c8f0 commit 1e9ec84
Show file tree
Hide file tree
Showing 5 changed files with 298 additions and 333 deletions.
7 changes: 6 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
RdpToolkit change log

Version 1.0.0 (October 15, 2020) was the initial release.
Version 1.0.1 (October 16, 2020):
- Well, this is embarrassing. The module would load but do nothing on other
computers. I combined the ScriptsToProcess and made one giant RootModule.
Now it's working fine.

Version 1.0.0 (October 15, 2020) was the initial release.
10 changes: 3 additions & 7 deletions RdpToolkit.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
RootModule = 'src/RdpToolkit.psm1'

# Version number of this module.
ModuleVersion = '1.0.0'
ModuleVersion = '1.0.1'

# Supported PSEditions
CompatiblePSEditions = @('Desktop', 'Core')
Expand All @@ -41,10 +41,8 @@ Description = 'Programatically generates Remote Desktop Connection files.'
# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.1'

ScriptsToProcess = @(
'src/New-RdcFile.ps1',
'src/Signatures.ps1'
)
# Scripts to run in the caller's environment.
ScriptsToProcess = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @(
Expand All @@ -69,9 +67,7 @@ AliasesToExport = @(
FileList = @(
'en-US/about_RdpToolkit.help.txt',
'en-US/RdpToolkit-help.xml',
'src/New-RdcFile.ps1',
'src/RdpToolkit.psm1',
'src/Signatures.ps1',
'ChangeLog',
'INSTALL',
'LICENSE',
Expand Down
188 changes: 0 additions & 188 deletions src/New-RdcFile.ps1

This file was deleted.

Loading

0 comments on commit 1e9ec84

Please sign in to comment.