mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-16 03:50:39 +00:00
try to fix the program
This commit is contained in:
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
|
||||
- name: Build with Nuitka
|
||||
run: |
|
||||
hatch run python -m nuitka --standalone --enable-plugin=pyside6 --assume-yes-for-downloads --windows-console-mode=disable --output-dir=dist src/main.py
|
||||
hatch run python -m nuitka --standalone --enable-plugin=pyside6 --assume-yes-for-downloads --windows-console-mode=attach --output-dir=dist src/main.py
|
||||
|
||||
- name: Package Windows build
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@echo off
|
||||
|
||||
pyside6-rcc "res.qrc" -o "src\res_rc.py"
|
||||
pyside6-uic "src\system_info.ui" -o "src\ui_system_info.py"
|
||||
pyside6-uic "src\form.ui" -o "src\ui_form.py"
|
||||
@@ -1,4 +1,3 @@
|
||||
from tkinter import W
|
||||
from PySide6.QtWidgets import QApplication, QMainWindow, QLabel, QProgressBar, QVBoxLayout, QDialog, QMessageBox, QFileDialog, QInputDialog, QWidget
|
||||
from PySide6.QtGui import QPalette, QPixmap, QBrush
|
||||
from PySide6.QtCore import qVersion
|
||||
|
||||
@@ -68,8 +68,6 @@ QUESTIONS_OPTIONS = QMessageBox.StandardButton.Yes | QMessageBox.StandardButton.
|
||||
from ui_form import Ui_launcher
|
||||
from ui_system_info import Ui_sys_info_dialog
|
||||
|
||||
import res_rc
|
||||
|
||||
def gen_inst_from_form(parent : QWidget):
|
||||
instanceManager.instance = features.new_instance_from_form(parent)
|
||||
|
||||
@@ -210,4 +208,4 @@ if __name__ == "__main__":
|
||||
except FileNotFoundError:
|
||||
_ = QMessageBox.warning(None,"Error", f"{theme} file not found. Reverting to default theme")
|
||||
|
||||
sys.exit(app.exec())
|
||||
sys.exit(app.exec())
|
||||
2
uv.lock
generated
2
uv.lock
generated
@@ -471,6 +471,7 @@ dependencies = [
|
||||
{ name = "hatch" },
|
||||
{ name = "nuitka" },
|
||||
{ name = "patchelf", marker = "sys_platform == 'linux'" },
|
||||
{ name = "pillow" },
|
||||
{ name = "pip" },
|
||||
{ name = "pyside6", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or sys_platform == 'win32'" },
|
||||
{ name = "requests" },
|
||||
@@ -484,6 +485,7 @@ requires-dist = [
|
||||
{ name = "hatch" },
|
||||
{ name = "nuitka" },
|
||||
{ name = "patchelf", marker = "sys_platform == 'linux'" },
|
||||
{ name = "pillow" },
|
||||
{ name = "pip" },
|
||||
{ name = "pyside6", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or sys_platform == 'win32'" },
|
||||
{ name = "requests" },
|
||||
|
||||
Reference in New Issue
Block a user