Skip to content

Commit

Permalink
Adição de recursos para adição de executáveis
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielogregorio committed Mar 2, 2021
1 parent efb8be3 commit f98550c
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 17 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ libs/__pycache__/
..gitignor.swp
backups
registros.json
registros.json
logs/registros.json
.vscode/
logs\registros.json
.vscode/
.\logs\registros.json
15 changes: 0 additions & 15 deletions compillação/cp_windows.bat
Original file line number Diff line number Diff line change
@@ -1,34 +1,19 @@
@echo off
color a

echo Certifique-se que a versão do Python é a 3.7.2
echo Execute os comandos abaixo caso tenha erro:
pip install --upgrade pip
pip install pyinstaller --upgrade
pip install setuptools --upgrade

echo Deletando arquivo safira.exe
del safira.exe

echo Criando uma cópia temporária
copy safira.py safira.pyw

echo Gerando o Executável
pyinstaller --onefile --icon="imagens\icone.ico" safira.pyw

echo Tornando o executável acessivel
move dist\safira.exe .

echo Deleteando o arquivo temporário
del safira.pyw

echo deletando o residuo safira.spec
del safira.spec

echo deletando pasta build/
rd /s /q build

echo deletando pasta dist/
rd /s /q dist

color e
Expand Down
Binary file added imagens/_icone.ico
Binary file not shown.
Binary file added imagens/_icone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed imagens/extra.png
Binary file not shown.
Binary file modified imagens/icone.ico
Binary file not shown.
Binary file modified imagens/icone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imagens/safira.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion logs/registros.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"acessos": 377, "vezes_interpretador_iniciado": 0}
{"acessos": 382, "vezes_interpretador_iniciado": 0}

0 comments on commit f98550c

Please sign in to comment.