mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
打包器支持import
Some checks are pending
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Waiting to run
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Waiting to run
Some checks are pending
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Waiting to run
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Waiting to run
This commit is contained in:
8
test.py
8
test.py
@@ -5,8 +5,10 @@ app = QtWidgets.QApplication(sys.argv)
|
||||
window = QtWidgets.QMainWindow()
|
||||
globalenv._init()
|
||||
globalenv.set_value("app", app)
|
||||
|
||||
import mainwindow
|
||||
window.setCentralWidget(mainwindow.window)
|
||||
#import deepin_wine_packager
|
||||
#modules = __import__("deepin-wine-packager")
|
||||
modules = __import__("deepin-wine-easy-packager")
|
||||
#import mainwindow
|
||||
window.setCentralWidget(modules.window)
|
||||
window.show()
|
||||
app.exec_()
|
||||
Reference in New Issue
Block a user