diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index d7cfb8b..3baee96 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [2.4.1] +## [2.4.2] ### Fixed - GUI: Fixed custom appbar not being displayed diff --git a/src/Javinizer/Javinizer.psd1 b/src/Javinizer/Javinizer.psd1 index e9f252b..8d08387 100644 --- a/src/Javinizer/Javinizer.psd1 +++ b/src/Javinizer/Javinizer.psd1 @@ -13,7 +13,7 @@ # Version number of this module. - ModuleVersion = '2.4.1' + ModuleVersion = '2.4.2' # Supported PSEditions # CompatiblePSEditions = @('Core') diff --git a/src/Javinizer/Public/Start-JVGui.ps1 b/src/Javinizer/Public/Start-JVGui.ps1 index 38c292e..e3ed5a4 100644 --- a/src/Javinizer/Public/Start-JVGui.ps1 +++ b/src/Javinizer/Public/Start-JVGui.ps1 @@ -63,8 +63,9 @@ function Start-JVGui { return } - Write-Host "Waiting for Javinizer dashboard to start..." -NoNewline - $timeout = New-TimeSpan -Seconds 15 + Write-Host "Waiting for Javinizer dashboard to start..." + Start-Sleep -Seconds 3 + <# $timeout = New-TimeSpan -Seconds 15 $stopwatch = [System.Diagnostics.Stopwatch]::StartNew() do { $httpRequest = [System.Net.WebRequest]::Create("http://localhost:$Port/") @@ -72,7 +73,7 @@ function Start-JVGui { $httpStatusCode = [int]$httpResponse.StatusCode Write-Host '.' Start-Sleep -Seconds 2 - } while ($httpStatusCode -ne 200 -and $stopwatch.elapsed -lt $timeout) + } while ($httpStatusCode -ne 200 -and $stopwatch.elapsed -lt $timeout) #> Start-Process "http://localhost:$Port/" Write-Host "Javinizer GUI started at [http://localhost:$Port/]" diff --git a/src/Javinizer/Universal/Repository/javinizergui.ps1 b/src/Javinizer/Universal/Repository/javinizergui.ps1 index 8be4d2d..b358380 100644 --- a/src/Javinizer/Universal/Repository/javinizergui.ps1 +++ b/src/Javinizer/Universal/Repository/javinizergui.ps1 @@ -930,8 +930,6 @@ function ConvertTo-Reverse { function New-JVAppBar { [CmdletBinding()] param ( - [Parameter(Mandatory = $true, Position = 0)] - [String]$Title ) $drawer = New-UDDrawer -Children {