File tree Expand file tree Collapse file tree 4 files changed +20
-7
lines changed
module/PowerShellEditorServices Expand file tree Collapse file tree 4 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Author = 'Microsoft'
2424CompanyName = ' Microsoft'
2525
2626# Copyright statement for this module
27- Copyright = ' (c) 2016 Microsoft. All rights reserved.'
27+ Copyright = ' (c) 2017 Microsoft. All rights reserved.'
2828
2929# Description of the functionality provided by this module
3030Description = ' Provides internal commands for PowerShell Editor Services that only work in an editor session.'
@@ -105,10 +105,10 @@ PrivateData = @{
105105 # Tags = @()
106106
107107 # A URL to the license for this module.
108- # LicenseUri = ''
108+ LicenseUri = ' https://github.com/PowerShell/PowerShellEditorServices/blob/master/LICENSE '
109109
110110 # A URL to the main website for this project.
111- # ProjectUri = ''
111+ ProjectUri = ' https://github.com/PowerShell/PowerShellEditorServices '
112112
113113 # A URL to an icon representing this module.
114114 # IconUri = ''
@@ -127,4 +127,3 @@ PrivateData = @{
127127# DefaultCommandPrefix = ''
128128
129129}
130-
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) Microsoft. All rights reserved.
3+ # Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+ #
5+
16Import-LocalizedData - BindingVariable Strings - FileName Strings - ErrorAction Ignore
27
38Get-ChildItem - Path $PSScriptRoot \Public\* .ps1 | ForEach-Object {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Author = 'Microsoft'
2424CompanyName = ' Microsoft'
2525
2626# Copyright statement for this module
27- Copyright = ' (c) 2016 Microsoft. All rights reserved.'
27+ Copyright = ' (c) 2017 Microsoft. All rights reserved.'
2828
2929# Description of the functionality provided by this module
3030# Description = ''
@@ -95,10 +95,10 @@ PrivateData = @{
9595 # Tags = @()
9696
9797 # A URL to the license for this module.
98- # LicenseUri = ''
98+ LicenseUri = ' https://github.com/PowerShell/PowerShellEditorServices/blob/master/LICENSE '
9999
100100 # A URL to the main website for this project.
101- # ProjectUri = ''
101+ ProjectUri = ' https://github.com/PowerShell/PowerShellEditorServices '
102102
103103 # A URL to an icon representing this module.
104104 # IconUri = ''
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) Microsoft. All rights reserved.
3+ # Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+ #
5+
16if (! $PSVersionTable.PSEdition -or $PSVersionTable.PSEdition -eq " Desktop" ) {
27 Add-Type - Path " $PSScriptRoot /bin/Desktop/Microsoft.PowerShell.EditorServices.dll"
38 Add-Type - Path " $PSScriptRoot /bin/Desktop/Microsoft.PowerShell.EditorServices.Host.dll"
@@ -52,6 +57,9 @@ function Start-EditorServicesHost {
5257 [switch ]
5358 $DebugServiceOnly ,
5459
60+ [string []]
61+ $AdditionalModules = @ (),
62+
5563 [string []]
5664 [ValidateNotNull ()]
5765 $FeatureFlags = @ (),
@@ -69,6 +77,7 @@ function Start-EditorServicesHost {
6977 $BundledModulesPath ,
7078 $EnableConsoleRepl.IsPresent ,
7179 $WaitForDebugger.IsPresent ,
80+ $AdditionalModules ,
7281 $FeatureFlags )
7382
7483 # Build the profile paths using the root paths of the current $profile variable
You can’t perform that action at this time.
0 commit comments