mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
* added linux and macOS binary. Created linux test * add tor binaries for osx * packaging of tor and now also win-binaries * fix windows script * fix windows reflection * some chore * remove torbrowser directory entirely * mentioning limited usability * improved writing --------- Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
47 lines
1.3 KiB
Batchfile
Executable file
47 lines
1.3 KiB
Batchfile
Executable file
@ECHO OFF
|
|
|
|
python -V
|
|
pip3 install virtualenv
|
|
echo " --> cleaning up"
|
|
rmdir /s /q .\release\
|
|
rmdir /s /q .\dist
|
|
rmdir /s /q .buildenv
|
|
echo " --> Creating virtualenv"
|
|
virtualenv --python=python3 .buildenv
|
|
echo " --> Activating virtualenv"
|
|
call .\.buildenv\Scripts\activate
|
|
|
|
echo " --> Installing test-requirement"
|
|
pip3 install -e ".[test]"
|
|
|
|
echo " --> Setting version in setup.py"
|
|
python .\utils\release-helper.py set_setup_py_version %1%
|
|
|
|
|
|
echo " --> Building pypi package"
|
|
pip3 install build==0.10.0
|
|
python -m build
|
|
|
|
echo " --> Installing pypi package"
|
|
python .\utils\release-helper.py install_wheel %1%
|
|
|
|
pip3 install -r pyinstaller/test_requirements.txt
|
|
cd pyinstaller
|
|
|
|
Rem This file gets further packaged up with the pyinstaller and will help specter to figure out which version it's running on
|
|
echo %1% > version.txt
|
|
echo " --> installing pyinstaller requirements"
|
|
pip3 install -r requirements.txt --require-hashes
|
|
|
|
rmdir /s /q .\dist\
|
|
rmdir /s /q .\build\
|
|
rmdir /s /q .\release\
|
|
rmdir /s /q .\electron\dist\
|
|
|
|
echo " --> Creating the pyinstaller binary"
|
|
pyinstaller.exe specterd.spec
|
|
|
|
mkdir release
|
|
|
|
echo " --> Creating the release-package"
|
|
powershell Compress-Archive -Path dist\specterd.exe release\specterd-%1%-win64.zip
|