mirror of
https://github.com/Melon-Bread/RetroUFO
synced 2024-11-25 00:38:33 -05:00
Compare commits
6 Commits
4ab73eb6b8
...
c60c6be12f
Author | SHA1 | Date | |
---|---|---|---|
c60c6be12f | |||
7c5dfc4c11 | |||
bd7df18495 | |||
9b76d6b264 | |||
0cb18c56ce | |||
|
13435a0aa4 |
@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = "Melon Bread"
|
__author__ = "Melon Bread"
|
||||||
__version__ = "0.9.1"
|
__version__ = "0.9.5"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
@ -112,7 +112,7 @@ def extract_cores(_location):
|
|||||||
|
|
||||||
def clean_up():
|
def clean_up():
|
||||||
""" Removes all the downloaded files """
|
""" Removes all the downloaded files """
|
||||||
if os.listdir('cores'):
|
if os.path.isdir('cores'):
|
||||||
rmtree('cores/')
|
rmtree('cores/')
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = "Melon Bread"
|
__author__ = "Melon Bread"
|
||||||
__version__ = "0.9.0"
|
__version__ = "0.9.5"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -15,7 +15,7 @@ from shutil import rmtree
|
|||||||
from urllib.request import urlretrieve
|
from urllib.request import urlretrieve
|
||||||
|
|
||||||
from PySide2.QtCore import QThread, Signal
|
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,
|
from PySide2.QtWidgets import (QApplication, QCheckBox, QComboBox, QDialog,
|
||||||
QFileDialog, QLineEdit, QPushButton, QTextEdit,
|
QFileDialog, QLineEdit, QPushButton, QTextEdit,
|
||||||
QVBoxLayout, QMessageBox)
|
QVBoxLayout, QMessageBox)
|
||||||
@ -257,7 +257,7 @@ class Form(QDialog):
|
|||||||
|
|
||||||
def clean_up(self):
|
def clean_up(self):
|
||||||
""" Removes all the downloaded files """
|
""" Removes all the downloaded files """
|
||||||
if os.listdir('cores'):
|
if os.path.isdir('cores'):
|
||||||
rmtree('cores/')
|
rmtree('cores/')
|
||||||
|
|
||||||
|
|
||||||
@ -267,6 +267,7 @@ if __name__ == '__main__':
|
|||||||
# Create and show the form
|
# Create and show the form
|
||||||
form = Form()
|
form = Form()
|
||||||
form.setFixedWidth(438) # So all text on the log UI stays on one line
|
form.setFixedWidth(438) # So all text on the log UI stays on one line
|
||||||
|
form.setWindowIcon(QIcon('icon.png'))
|
||||||
form.show()
|
form.show()
|
||||||
# Run the main Qt loop
|
# Run the main Qt loop
|
||||||
sys.exit(app.exec_())
|
sys.exit(app.exec_())
|
||||||
|
7
requirements.txt
Normal file
7
requirements.txt
Normal 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
|
Loading…
Reference in New Issue
Block a user