File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ install: .venv/pyvenv.cfg frontend/node_modules
53
53
ifeq ($(OS ) , Windows_NT)
54
54
build : .venv/pyvenv.cfg frontend/node_modules
55
55
$(PYTHON ) -m PyInstaller -n tf2-gptcb --noconfirm --icon icon.ico -w $(EXTRA_PYINSTALLER_FLAGS ) main.py
56
- $( CP ) cfg dist\t f2-gptcb/ cfg
57
- $( CP ) icon.png dist\t f2-gptcb
58
- $( CP ) commands.yaml dist\t f2-gptcb
59
- mkdir dist\t f2-gptcb/ logs
60
- $( CP ) prompts dist\t f2-gptcb\p rompts
61
- $( CP ) schemas dist\t f2-gptcb\s chemas
56
+ xcopy cfg dist\t f2-gptcb\ c fg /E /I /Y
57
+ xcopy icon.png dist\t f2-gptcb /Y
58
+ xcopy commands.yaml dist\t f2-gptcb /Y
59
+ mkdir dist\t f2-gptcb\ l ogs
60
+ xcopy prompts dist\t f2-gptcb\p rompts /E /I /Y
61
+ xcopy schemas dist\t f2-gptcb\s chemas /E /I /Y
62
62
63
63
cd frontend
64
64
npm run pack
@@ -93,8 +93,9 @@ format: .venv/pyvenv.cfg
93
93
# Install .venv for python
94
94
.venv/pyvenv.cfg : requirements.txt
95
95
python -m venv .venv
96
+ $(PYTHON ) -m pip install uv
96
97
$(PYTHON ) -m pip install --upgrade pip
97
- $(PYTHON ) -m pip install -r requirements.txt
98
+ $(PYTHON ) -m uv pip install -r requirements.txt
98
99
99
100
# Install node_modules
100
101
frontend/node_modules : frontend/package.json
You can’t perform that action at this time.
0 commit comments