Skip to content

Commit 2b794ee

Browse files
melhorias no Readme
1 parent b37fbab commit 2b794ee

12 files changed

Lines changed: 117 additions & 78 deletions

.github/workflows/main.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,43 @@ jobs:
2121
- name: 📦 Instalar dependências
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install pyinstaller customtkinter pillow matplotlib numpy scipy control
24+
# CORREÇÃO: Adicionado 'sympy' (necessário para lugar_geometrico_raizes.py)
25+
pip install pyinstaller customtkinter pillow matplotlib numpy scipy control sympy
2526
2627
- name: ⚙️ Compilar o sistema
27-
# CORREÇÃO: Trocado '^' por '`' para ser compatível com PowerShell
2828
run: |
2929
pyinstaller `
3030
--noconfirm `
3131
--onefile `
3232
--windowed `
3333
--name "SistemaControle" `
34-
--icon=ico.png `
35-
--add-data "ico.png;." `
34+
# CORREÇÃO: O ícone deve apontar para o arquivo .ico que seu app usa
35+
--icon=image/icons/papel.ico `
36+
# CORREÇÃO: Adicionado 'logo.png', que tela.py carrega
37+
--add-data "logo.png;." `
38+
# CORREÇÃO: O caminho do ícone deve ser preservado para o app encontrar
39+
--add-data "image/icons/papel.ico;image/icons" `
3640
--add-data "criterios_estabilidade.py;." `
3741
--add-data "analise_segunda_ordem.py;." `
3842
--add-data "controladores.py;." `
3943
--add-data "utilidades_ui.py;." `
44+
--add-data "lugar_geometrico_raizes.py;." `
45+
--add-data "metricas_exportacao.py;." `
46+
--add-data "painel_metricas.py;." `
47+
--add-data "tela.py;." `
4048
--add-data "logger_sistema.py;." `
4149
--add-data "gerenciador_excecoes.py;." `
4250
--collect-all "customtkinter" `
4351
--collect-all "numpy" `
4452
--collect-all "scipy" `
4553
--collect-all "control" `
54+
--collect-all "reportlab" `
55+
# CORREÇÃO: Removido 'reportlab', que não é usado
4656
--hidden-import "matplotlib.backends.backend_tkagg" `
4757
tela.py
4858
4959
- name: 📤 Fazer upload do executável
5060
uses: actions/upload-artifact@v4
5161
with:
5262
name: Sistema-de-Controle-EXE
53-
path: dist/SistemaControle.exe
54-
63+
path: dist/SistemaControle.exe

README.md

Lines changed: 84 additions & 70 deletions
Large diffs are not rendered by default.

image/tela1.png

7.82 KB
Loading

image/tela2.png

19.6 KB
Loading

image/tela3-nova.png

-53.2 KB
Binary file not shown.

image/tela3.png

119 KB
Loading

image/tela4-nova.png

-87.9 KB
Binary file not shown.

image/tela4.png

51 KB
Loading

image/tela5.png

148 KB
Loading

logs/sistema_20251114_051344.log

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2025-11-14 05:13:44 - SistemaControle - INFO - [logger_sistema.py:63] - Logger iniciado com sucesso
2+
2025-11-14 05:13:45 - SistemaControle - INFO - [logger_sistema.py:71] - Iniciando aplicação SistemaTCC
3+
2025-11-14 05:14:26 - SistemaControle - INFO - [logger_sistema.py:71] - Abrindo módulo LGR
4+
2025-11-14 05:14:26 - SistemaControle - INFO - [logger_sistema.py:71] - Frame LGR aberto
5+
2025-11-14 05:14:34 - SistemaControle - INFO - [logger_sistema.py:71] - Abrindo módulo de controladores
6+
2025-11-14 05:15:22 - SistemaControle - INFO - [logger_sistema.py:71] - Abrindo módulo de critérios de estabilidade
7+
2025-11-14 05:15:33 - SistemaControle - INFO - [logger_sistema.py:71] - Fechando aplicação SistemaTCC
8+
2025-11-14 05:15:33 - SistemaControle - INFO - [logger_sistema.py:71] - Aplicação SistemaTCC encerrada com sucesso.

0 commit comments

Comments
 (0)