changed function GetTempPath to Get-TempPath
This commit is contained in:
@@ -13,7 +13,7 @@ If ( IsAdmin )
|
||||
# 'SketchUp 2019', 'SketchUp 2021', 'SketchUp 2022', 'SketchUp 2023', 'SketchUp Viewer' | Uninstall-MSI
|
||||
|
||||
# Set the local file name to download to
|
||||
$FILE = '{0}{1}.exe' -f (GetTempPath),(Split-Path $URL -Leaf)
|
||||
$FILE = '{0}{1}.exe' -f (Get-TempPath),(Split-Path $URL -Leaf)
|
||||
|
||||
# Download installer
|
||||
$FILE = Download-File -URL $URL -File $FILE
|
||||
|
||||
Reference in New Issue
Block a user