Skip to content

Commit

Permalink
Ok i think this is it
Browse files Browse the repository at this point in the history
  • Loading branch information
itzCozi authored Jun 12, 2023
1 parent c961ddb commit 8a3efda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/safeguard-files/safeguard.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

# Global Variables
class Files():
mainFolder = str(f'C:/Users/{os.getlogin()}/Python-SafeGuard')
appUserFile = str(f'C:/Users/{os.getlogin()}/Python-SafeGuard/SafeGuard.app')
tronPath = str(f'C:/Users/{os.getlogin()}/Python-SafeGuard/resources/tron')
pythonFile = str(f'C:/Users/{os.getlogin()}/Python-SafeGuard/resources/safeguard.py')
Expand Down Expand Up @@ -312,8 +313,8 @@ def PHASE_3():
StingerYorN = input('Do you want to run stinger it will help keep your device protected in the future? (y/n) \n')

if StingerYorN == 'y':
lib.install('https://downloadcenter.trellix.com/products/mcafee-avert/Stinger/stinger64.exe', 'Downloads', 'Stinger.exe')
os.startfile(f'C:/Users/{os.getlogin()}/Python-SafeGuard/resources/tron/resources/Stinger.exe')
lib.install('https://downloadcenter.trellix.com/products/mcafee-avert/Stinger/stinger64.exe', f'{Files.mainFolder}/resources', 'Stinger.exe')
os.startfile(f'C:/Users/{os.getlogin()}/Python-SafeGuard/resources/Stinger.exe')
else:
print(f'{Fore.RED}Stinger skipped{Style.RESET_ALL}')

Expand Down

0 comments on commit 8a3efda

Please sign in to comment.