-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake-dist.bat
More file actions
22 lines (18 loc) · 947 Bytes
/
make-dist.bat
File metadata and controls
22 lines (18 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
echo Building Wiper distribution...
REM Clean up any existing distribution folders
if exist wiper.dist (
echo Cleaning existing distribution folder wiper.dist...
del wiper.dist\* /Q
)
REM Build the standalone executable with Nuitka and gcc/mingw
REM echo Building executable with Nuitka...
REM call nuitka --windows-icon-from-ico=appicon.ico --windows-console-mode=disable --standalone --enable-plugin=tk-inter --windows-uac-admin wiper.py
echo Building executable with gcc...
REM This is the path to gcc installed by Nuitka
call C:\Users\THI\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\14.2.0posix-19.1.1-12.0.0-msvcrt-r2\mingw64\bin\gcc.exe -o zd-win.exe zd-win.c
REM Copy configuration and resource files
REM echo Copying configuration and resource files...
REM robocopy ./ ./wiper.dist appicon.png LICENSE README.md *.json
echo Distribution build complete!
echo Files are available in the wiper.dist directory.