-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall.bat
32 lines (26 loc) · 1.55 KB
/
install.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off && title Install All Tweaker && mode con: cols=100 lines=25 && color a
REM Загружаем библиотеку ttkbootstrap
pip install ttkbootstrap
REM Загружаем All Tweaker с GitHub
taskkill /im py.exe /f
del All.Tweaker.py
rem del tabs.py
Utils\\busybox wget https://github.com/scode18/All-Tweaker/raw/main/All.Tweaker.py
rem Utils\\busybox wget https://github.com/scode18/All-Tweaker/raw/main/tabs.py
rem Utils\\busybox wget https://github.com/scode18/All-Tweaker/raw/main/All.Tweaker.featuring.Howdy.Ho.py
rem Utils\\busybox wget https://github.com/scode18/All-Tweaker/raw/main/All.Tweaker.Start.bat
rem Utils\\busybox wget https://github.com/scode18/All-Tweaker/raw/main/elevator.exe
rem Utils\\busybox wget https://github.com/scode18/All-Tweaker/raw/main/launcher.exe
REM Создаем ярлык на рабочем столе с иконкой icon.ico
echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs
echo sLinkFile = oWS.ExpandEnvironmentStrings("%USERPROFILE%\Desktop\All Tweaker.lnk") >> CreateShortcut.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs
echo oLink.TargetPath = "%CD%\All.Tweaker.Start.bat" >> CreateShortcut.vbs
echo oLink.IconLocation = "%CD%\icon.ico" >> CreateShortcut.vbs
echo oLink.WorkingDirectory = "%CD%" >> CreateShortcut.vbs
echo oLink.Save >> CreateShortcut.vbs
cscript CreateShortcut.vbs
REM Удаляем временный файл CreateShortcut.vbs
del CreateShortcut.vbs
REM Запускаем All Tweaker
All.Tweaker.Start.bat