1
0
mirror of https://github.com/Melon-Bread/RetroUFO synced 2024-11-25 00:38:33 -05:00

Compare commits

..

6 Commits

Author SHA1 Message Date
c60c6be12f Cleanup actually checks if the 'cores' dir exists now 2019-05-17 01:39:50 -04:00
7c5dfc4c11 Added icon support 2019-05-17 01:38:52 -04:00
bd7df18495 Initial Commit 2019-05-17 01:38:18 -04:00
9b76d6b264 Added PyInstaller 2019-05-17 01:30:13 -04:00
0cb18c56ce Initial Commit 2019-05-17 00:36:41 -04:00
Rain
13435a0aa4
Update RetroUFO_GUI.py 2019-05-17 00:31:23 -04:00
4 changed files with 13 additions and 5 deletions

View File

@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot.
"""
__author__ = "Melon Bread"
__version__ = "0.9.1"
__version__ = "0.9.5"
__license__ = "MIT"
import argparse
@ -112,7 +112,7 @@ def extract_cores(_location):
def clean_up():
""" Removes all the downloaded files """
if os.listdir('cores'):
if os.path.isdir('cores'):
rmtree('cores/')

View File

@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot.
"""
__author__ = "Melon Bread"
__version__ = "0.9.0"
__version__ = "0.9.5"
__license__ = "MIT"
import os
@ -15,7 +15,7 @@ from shutil import rmtree
from urllib.request import urlretrieve
from PySide2.QtCore import QThread, Signal
from PySide2.QtGui import QTextCursor
from PySide2.QtGui import QTextCursor, QIcon
from PySide2.QtWidgets import (QApplication, QCheckBox, QComboBox, QDialog,
QFileDialog, QLineEdit, QPushButton, QTextEdit,
QVBoxLayout, QMessageBox)
@ -257,7 +257,7 @@ class Form(QDialog):
def clean_up(self):
""" Removes all the downloaded files """
if os.listdir('cores'):
if os.path.isdir('cores'):
rmtree('cores/')
@ -267,6 +267,7 @@ if __name__ == '__main__':
# Create and show the form
form = Form()
form.setFixedWidth(438) # So all text on the log UI stays on one line
form.setWindowIcon(QIcon('icon.png'))
form.show()
# Run the main Qt loop
sys.exit(app.exec_())

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

7
requirements.txt Normal file
View File

@ -0,0 +1,7 @@
altgraph==0.16.1
future==0.17.1
macholib==1.11
pefile==2019.4.18
PyInstaller==3.4
PySide2==5.12.3
shiboken2==5.12.3