Skip to content

Commit

Permalink
Merge pull request #234 from jvlflame/dev
Browse files Browse the repository at this point in the history
2.4.2
  • Loading branch information
jvlflame authored Mar 1, 2021
2 parents 479cdfd + f460dd5 commit ca561ae
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Javinizer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Version number of this module.

ModuleVersion = '2.4.1'
ModuleVersion = '2.4.2'

# Supported PSEditions
# CompatiblePSEditions = @('Core')
Expand Down
7 changes: 4 additions & 3 deletions src/Javinizer/Public/Start-JVGui.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,17 @@ 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/")
$httpResponse = $httpRequest.GetResponse()
$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/]"
Expand Down
2 changes: 0 additions & 2 deletions src/Javinizer/Universal/Repository/javinizergui.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -930,8 +930,6 @@ function ConvertTo-Reverse {
function New-JVAppBar {
[CmdletBinding()]
param (
[Parameter(Mandatory = $true, Position = 0)]
[String]$Title
)

$drawer = New-UDDrawer -Children {
Expand Down

0 comments on commit ca561ae

Please sign in to comment.