From 8b4013b4eb27146323e3c3169e4ce5df0a9329b3 Mon Sep 17 00:00:00 2001 From: Benjamin Moles Date: Thu, 10 Apr 2025 09:31:37 +0200 Subject: [PATCH 1/2] Hide the command prompt (black) window shown when the 1Password CLI API is called. This process should be transparent to the end user. --- .../SecretManagement.1Password.Extension.psm1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psm1 b/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psm1 index 3b78c24..c912c0e 100644 --- a/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psm1 +++ b/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psm1 @@ -29,6 +29,8 @@ Argument list to be passed to the 1Password CLI console application. $pinfo.RedirectStandardError = $true; $pinfo.RedirectStandardOutput = $true; $pinfo.UseShellExecute = $false; + $pinfo.CreateNoWindow = $true; + $pinfo.WindowStyle = [System.Diagnostics.ProcessWindowStyle]::Hidden; $pinfo.Arguments = ($ArgumentList -join " "); $p = New-Object System.Diagnostics.Process; $p.StartInfo = $pinfo; From cd5b980161fce4fb0cba7d374b77eb6b37389553 Mon Sep 17 00:00:00 2001 From: Benjamin Moles Date: Thu, 10 Apr 2025 09:37:30 +0200 Subject: [PATCH 2/2] Increase release numbers to distinguish from previous version and facilitate deployments. --- .../SecretManagement.1Password.Extension.psd1 | 2 +- SecretManagement.1Password.psd1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psd1 b/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psd1 index 1beba7f..d5292a8 100644 --- a/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psd1 +++ b/SecretManagement.1Password.Extension/SecretManagement.1Password.Extension.psd1 @@ -1,5 +1,5 @@ @{ - ModuleVersion = '2.0.0.1' + ModuleVersion = '2.0.0.2' RootModule = 'SecretManagement.1Password.Extension.psm1' FunctionsToExport = @('Get-Secret','Get-SecretInfo','Test-SecretVault','Set-Secret','Remove-Secret') } \ No newline at end of file diff --git a/SecretManagement.1Password.psd1 b/SecretManagement.1Password.psd1 index ea72789..26e6d46 100644 --- a/SecretManagement.1Password.psd1 +++ b/SecretManagement.1Password.psd1 @@ -12,7 +12,7 @@ # RootModule = '' # Version number of this module. - ModuleVersion = '1.0.1' + ModuleVersion = '1.0.2' # Supported PSEditions # CompatiblePSEditions = @()