CNIRevelator/make.bat

19 lines
744 B
Batchfile
Raw Normal View History

2019-08-07 15:30:45 +02:00
@echo off
2019-08-07 16:40:55 +02:00
title Compilation de CNIRevelator
2019-08-26 10:00:46 +02:00
call pyinstaller -w -D --exclude-module PyQt5 --bootloader-ignore-signals --add-data "C:\Users\pf04950\AppData\Local\Continuum\anaconda3\Lib\site-packages\tld\res\effective_tld_names.dat.txt";"tld\res" --add-data "src\id-card.ico";"id-card.ico" -i "src\id-card.ico" --version-file "src\version.res" -n CNIRevelator src\CNIRevelator.py
2019-08-07 15:30:45 +02:00
2019-08-26 10:00:46 +02:00
rem call pyi-set_version "src\version.res" "dist\CNIRevelator\CNIRevelator.exe"
2019-08-07 15:30:45 +02:00
2019-08-07 16:38:20 +02:00
copy LICENSE dist\CNIRevelator\LICENSE
copy src\id-card.ico dist\CNIRevelator\id-card.ico
2019-08-11 19:02:01 +02:00
copy src\*.png dist\CNIRevelator\*.png
2019-08-07 15:30:45 +02:00
2019-08-11 17:08:49 +02:00
signtool_8.1\signtool\signtool.exe sign /n "CNIRevelator by Adrien Bourmault (neox95)" dist\CNIRevelator\CNIRevelator.exe
2019-08-07 15:30:45 +02:00
2019-08-07 16:40:55 +02:00
pause