Skip to content

Commit 1ec0156

Browse files
Update main.yml
1 parent 80bb837 commit 1ec0156

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/main.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,27 @@ jobs:
2121
- name: 📦 Instalar dependências
2222
run: |
2323
python -m pip install --upgrade pip
24-
# Lista de dependências baseada em TODOS os seus arquivos .py
2524
pip install pyinstaller customtkinter pillow matplotlib numpy scipy control
2625
2726
- name: ⚙️ Compilar o sistema
27+
# CORREÇÃO: Trocado '^' por '`' para ser compatível com PowerShell
2828
run: |
29-
pyinstaller ^
30-
--noconfirm ^
31-
--onefile ^
32-
--windowed ^
33-
--name "SistemaControle" ^
34-
--icon=logo.png ^
35-
--add-data "logo.png;." ^
36-
--add-data "icons;icons" ^
37-
--add-data "criterios_estabilidade.py;." ^
38-
--add-data "analise_segunda_ordem.py;." ^
39-
--add-data "controladores.py;." ^
40-
--collect-all "customtkinter" ^
41-
--collect-all "numpy" ^
42-
--collect-all "scipy" ^
43-
--collect-all "control" ^
44-
--hidden-import "matplotlib.backends.backend_tkagg" ^
29+
pyinstaller `
30+
--noconfirm `
31+
--onefile `
32+
--windowed `
33+
--name "SistemaControle" `
34+
--icon=logo.png `
35+
--add-data "logo.png;." `
36+
--add-data "icons;icons" `
37+
--add-data "criterios_estabilidade.py;." `
38+
--add-data "analise_segunda_ordem.py;." `
39+
--add-data "controladores.py;." `
40+
--collect-all "customtkinter" `
41+
--collect-all "numpy" `
42+
--collect-all "scipy" `
43+
--collect-all "control" `
44+
--hidden-import "matplotlib.backends.backend_tkagg" `
4545
tela.py
4646
4747
- name: 📤 Fazer upload do executável

0 commit comments

Comments
 (0)