diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f4144f..0df806b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +> - v0.0.2, 23.05.2024 +> - Bugfix (https://github.com/netcloud/powershell-cli-menu-helpers/issues/2) + > - v0.0.2, 06.01.2021 > - Changed url's to new github repo. > - Added code signing step in build process. diff --git a/config.json b/config.json index e6eb926..6159b18 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "ModuleName": "powershell-cli-menu-helpers", - "ModuleVersion": "0.0.2", + "ModuleVersion": "0.0.3", "GUID": "2876be78-754c-4b00-b390-d871c61ce66b", "Author": "Patrick Grazioli", "CompanyName": "Netcloud AG", diff --git a/example/vars/menu_vars.ps1 b/example/vars/menu_vars.ps1 index 5a2db32..ef4e89c 100644 --- a/example/vars/menu_vars.ps1 +++ b/example/vars/menu_vars.ps1 @@ -1,4 +1,4 @@ # Global path vars $menu_script_root_dir = Split-Path -Path $PSScriptRoot -Parent # The path of the current folder $menu_funciton_dir = '.\functions' # The path to all helper functions -$menu_menu_dir = $menu_script_root_dir + '\Example PowerShell CLI Menu' # The path to the menu structure \ No newline at end of file +$menu_menu_dir = Join-Path -Path $menu_script_root_dir -ChildPath '\Example PowerShell CLI Menu' # The path to the menu structuree \ No newline at end of file diff --git a/example/vars/user_vars.ps1 b/example/vars/user_vars.ps1 index 8e3ece7..7c139fc 100644 --- a/example/vars/user_vars.ps1 +++ b/example/vars/user_vars.ps1 @@ -1 +1 @@ -$user_rdp_connections = $menu_script_root_dir + '\files\rdp\connections.json' \ No newline at end of file +$user_rdp_connections = Join-Path -Path $menu_script_root_dir -ChildPath '\files\rdp\connections.json' \ No newline at end of file