split geek
This commit is contained in:
parent
122cec4ea7
commit
0ccfcb28f2
2 changed files with 18 additions and 11 deletions
16
windows/installers/geek.bat
Normal file
16
windows/installers/geek.bat
Normal file
|
@ -0,0 +1,16 @@
|
|||
@ECHO OFF
|
||||
|
||||
ECHO Geek Uninstaller...
|
||||
PowerShell -Command "" ^
|
||||
"$archive = '%TEMP%\geek.zip';" ^
|
||||
"Invoke-WebRequest -Uri https://geekuninstaller.com/geek.zip -OutFile $archive;" ^
|
||||
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\Geek Uninstaller' -Force;" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Geek Uninstaller.lnk');" ^
|
||||
"$Shortcut.TargetPath = '%ProgramFiles%\Geek Uninstaller\geek.exe';" ^
|
||||
"$Shortcut.Save()"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v DisplayName /t REG_SZ /d "Geek Uninstaller"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Geek Uninstaller"
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
||||
EXIT /B
|
|
@ -237,17 +237,8 @@ PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
|||
|
||||
|
||||
:: === Geek Uninstaller ==
|
||||
ECHO Geek Uninstaller...
|
||||
PowerShell -Command "" ^
|
||||
"$archive = '%TEMP%\geek.zip';" ^
|
||||
"Invoke-WebRequest -Uri https://geekuninstaller.com/geek.zip -OutFile $archive;" ^
|
||||
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\Geek Uninstaller' -Force;" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Geek Uninstaller.lnk');" ^
|
||||
"$Shortcut.TargetPath = '%ProgramFiles%\Geek Uninstaller\geek.exe';" ^
|
||||
"$Shortcut.Save()"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v DisplayName /t REG_SZ /d "Geek Uninstaller"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Geek Uninstaller"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/geek.bat -OutFile '%TEMP%\geek.bat'"
|
||||
CMD /c "%TEMP%\geek.bat" yes
|
||||
|
||||
|
||||
:: === LosslessCut ==
|
||||
|
|
Loading…
Reference in a new issue