PS fix
This commit is contained in:
@@ -28,11 +28,6 @@ Elysium.ps1 offers a menu to perform various actions:
|
|||||||
# Safer defaults
|
# Safer defaults
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
Set-StrictMode -Version Latest
|
Set-StrictMode -Version Latest
|
||||||
[string]$commonHelper = Join-Path -Path $PSScriptRoot -ChildPath 'Elysium.Common.ps1'
|
|
||||||
if (-not (Test-Path -LiteralPath $commonHelper)) { throw "Common helper not found at $commonHelper" }
|
|
||||||
. $commonHelper
|
|
||||||
Restart-WithPwshIfAvailable -BoundParameters $PSBoundParameters -UnboundArguments $MyInvocation.UnboundArguments
|
|
||||||
|
|
||||||
# Define the path to the settings file
|
# Define the path to the settings file
|
||||||
$settingsFilePath = Join-Path -Path $PSScriptRoot -ChildPath "ElysiumSettings.txt"
|
$settingsFilePath = Join-Path -Path $PSScriptRoot -ChildPath "ElysiumSettings.txt"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user