Skip to content

Commit

Permalink
fix: 修改了一些小问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang-ZhiHang committed Nov 18, 2024
1 parent 2de9fa6 commit 90c4bdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputDir=D:\dev\XDU_WallNut\dist
OutputBaseFilename=XDU_WallNut_v1.2.2
OutputBaseFilename=XDU_WallNut_setup
SetupIconFile=D:\dev\XDU_WallNut\assert\setup.ico
Compression=lzma
SolidCompression=yes
Expand All @@ -47,6 +47,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
Source: "D:\dev\XDU_WallNut\dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\dev\XDU_WallNut\dist\Updater.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\dev\XDU_WallNut\dist\version.json"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\dev\XDU_WallNut\dist\vbslauncher.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Expand Down
4 changes: 4 additions & 0 deletions src/main/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@ def check_updates(self):
ex.console_output,
)

# 将窗口置于前台
ex.activateWindow()
ex.raise_()

sys.exit(app.exec_())

0 comments on commit 90c4bdd

Please sign in to comment.