feat: Добавлены скрипты для работы с сетью, системными утилитами и настройки Discord.
This commit is contained in:
@@ -72,6 +72,9 @@ function Download-File {
|
||||
$stream.Close()
|
||||
$resp.Close()
|
||||
|
||||
# Unblock file to prevent "Mark of the Web" issues
|
||||
Unblock-File -Path $Destination -ErrorAction SilentlyContinue
|
||||
|
||||
return $true
|
||||
}
|
||||
catch {
|
||||
@@ -80,6 +83,7 @@ function Download-File {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function Get-SubscriptionData {
|
||||
param(
|
||||
[string]$Url,
|
||||
|
||||
Reference in New Issue
Block a user