Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts
This commit is contained in:
commit
187eb22b99
|
@ -104,7 +104,9 @@ class SessionData {
|
|||
static [void] Load() {
|
||||
if( -not [SessionData]::Path ) { [SessionData]::Init() }
|
||||
|
||||
[SessionData]::Data = Import-Clixml -Path $([SessionData]::Path)
|
||||
if( Test-Path $([SessionData]::Path) ) {
|
||||
[SessionData]::Data = Import-Clixml -Path $([SessionData]::Path)
|
||||
}
|
||||
}
|
||||
|
||||
static [void] Set([string]$Name,[object]$Value) {
|
||||
|
|
Loading…
Reference in New Issue