-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.bat
32 lines (24 loc) · 980 Bytes
/
build.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
REM @2024_04_04_1330 by Beotiger
REM Compile tkscrsavers.py into bundled frozen exe using tkscrsavers.spec
REM See README.md for details
REM Add --log-level DEBUG parameter if something goes wrong
pipenv run pyinstaller tkscrsavers.spec --noconfirm --clean
if %ERRORLEVEL% NEQ 0 (
ECHO Error encountered. Details above...
EXIT /B %ERRORLEVEL%
)
REM Rename exe to scr. Use right mouse click and Install on tkscrsavers.scr file
REM to install it as a screensaver for Windows(tm)
REM Or copy tkscrsavers.scr file to WINDOWS/System32 folder
REM Or run install.bat file here
ECHO.
COPY .\dist\tkscrsavers.exe .\dist\tkscrsavers.scr
ECHO.
ECHO Success! Now run install.bat file to install it to system screensavers directory.
ECHO.
ECHO Or you can do right mouse click on .\dist\tkscrsavers.scr file
ECHO and choose Install option in context menu which does not require administrative privileges
ECHO.
ECHO See you late dude!
ECHO -- Beotiger 2024-04-09 09:09