From 914a630d564aa6dbcd3d392338d3e05317d9e10e Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 4 Jul 2025 22:32:53 -0400 Subject: [PATCH 1/2] update --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 392e423..147513f 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ python src/main.py Example menu: - ``` + ```bash Select an option: 1. Add Entry 2. Retrieve Entry @@ -229,9 +229,9 @@ python src/main.py 7. Exit Enter your choice (1-7): - ``` + ``` - When choosing **Add Entry**, you can now select **Password**, **2FA (TOTP)**, +When choosing **Add Entry**, you can now select **Password**, **2FA (TOTP)**, **SSH Key**, **Seed Phrase**, or **PGP Key**. ### Adding a 2FA Entry From 0c6eb359852a4655b235a16141029b0e8a387fd0 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 4 Jul 2025 22:33:23 -0400 Subject: [PATCH 2/2] fix windows installer path --- scripts/install.ps1 | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/scripts/install.ps1 b/scripts/install.ps1 index f2f3f1d..f62d493 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -43,7 +43,24 @@ if (-not (Get-Command git -ErrorAction SilentlyContinue)) { } else { Write-Error "Git is not installed. Please install it from https://git-scm.com/ and ensure it's in your PATH." } - if (-not (Get-Command git -ErrorAction SilentlyContinue)) { Write-Error "Git installation failed or git not found in PATH after installation." } + if (-not (Get-Command git -ErrorAction SilentlyContinue)) { + # Refresh PATH from machine and user environment in case the installer updated it + $env:Path = [System.Environment]::GetEnvironmentVariable('Path','Machine') + ';' + + [System.Environment]::GetEnvironmentVariable('Path','User') + if (-not (Get-Command git -ErrorAction SilentlyContinue)) { + # Fallback to common install locations if PATH isn't updated for this session + $possibleGit = @( + Join-Path $env:ProgramFiles 'Git\cmd\git.exe' + Join-Path $env:ProgramFiles 'Git\bin\git.exe' + Join-Path ${env:ProgramFiles(x86)} 'Git\cmd\git.exe' + Join-Path ${env:ProgramFiles(x86)} 'Git\bin\git.exe' + ) | Where-Object { Test-Path $_ } | Select-Object -First 1 + if ($possibleGit) { $env:Path = "$(Split-Path $possibleGit);$env:Path" } + } + if (-not (Get-Command git -ErrorAction SilentlyContinue)) { + Write-Error "Git installation succeeded but git not found in PATH. Please open a new terminal or add Git to PATH manually." + } + } } $pythonExe = Get-Command python -ErrorAction SilentlyContinue if (-not $pythonExe) { Write-Error "Python 3 is not installed or not in your PATH. Please install it from https://www.python.org/" }