Fixed tasks errors on Linux
This commit is contained in:
parent
a37196ab22
commit
70b2048788
2
.vscode/tasks/linux/build.sh
vendored
2
.vscode/tasks/linux/build.sh
vendored
@ -2,5 +2,5 @@
|
||||
|
||||
rm -rf dist/linux/app
|
||||
|
||||
buildenv/bin/activate
|
||||
source buildenv/bin/activate
|
||||
pyinstaller app.spec --noconfirm
|
@ -4,4 +4,4 @@ pip install virtualenv
|
||||
|
||||
virtualenv buildenv
|
||||
|
||||
buildenv/Scripts/activate && pip install --upgrade Pyinstaller && pip install --upgrade -r requirements.txt && deactivate
|
||||
source buildenv/bin/activate && pip install --upgrade Pyinstaller && pip install --upgrade -r requirements.txt && deactivate
|
4
.vscode/tasks/linux/install_requirements.sh
vendored
4
.vscode/tasks/linux/install_requirements.sh
vendored
@ -4,4 +4,6 @@ pip install virtualenv
|
||||
|
||||
virtualenv venv
|
||||
|
||||
venv/Scripts/activate && pip install --upgrade -r requirements.txt && deactivate
|
||||
# chmod +x venv/bin/activate
|
||||
|
||||
source venv/bin/activate && pip install --upgrade -r requirements.txt && deactivate
|
2
.vscode/tasks/linux/run.sh
vendored
2
.vscode/tasks/linux/run.sh
vendored
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
.vscode/tasks/linux/cleanup.bat && venv/bin/activate && python main.py && deactivate
|
||||
.vscode/tasks/linux/cleanup.bat && source venv/bin/activate && python main.py && deactivate
|
Loading…
Reference in New Issue
Block a user