mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Create directory if missing.
This commit is contained in:
parent
02a06ff5aa
commit
082e1c73f7
@ -140,6 +140,9 @@ Get-ChildItem -Path "$Root\ScreenCast.Win\bin\x64\Release\" -Exclude "*.xml" | C
|
||||
|
||||
# Publish Windows GUI App
|
||||
$PublishDir = "$Root\Server\wwwroot\Downloads\WinDesktop\"
|
||||
if (!(Test-Path -Path $PublishDir)) {
|
||||
New-Item -Path $PublishDir -ItemType Directory
|
||||
}
|
||||
Get-ChildItem -Path $PublishDir | ForEach-Object {
|
||||
Remove-Item -Path $_.FullName -Force -Recurse
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user