mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
b16ab75dca
commit
23b1636da7
@ -124,8 +124,13 @@ class le_internal(LEbase, settingxx):
|
||||
guids = self.profiles(config)[1]
|
||||
guid = config.get("leguid", None)
|
||||
if guid not in guids:
|
||||
guids = guids[0]
|
||||
arg = '"{}" -runas {} {}'.format(LEProc, guid, usearg)
|
||||
guid = guids[0]
|
||||
idx = guids.index(guid)
|
||||
if idx <= 1:
|
||||
arg = '"{}" -runas {} {}'.format(LEProc, guid, usearg)
|
||||
else:
|
||||
# 程序的配置运行
|
||||
arg = '"{}" -run {}'.format(LEProc, usearg)
|
||||
windows.CreateProcess(
|
||||
None,
|
||||
arg,
|
||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
||||
|
||||
set(VERSION_MAJOR 5)
|
||||
set(VERSION_MINOR 42)
|
||||
set(VERSION_PATCH 2)
|
||||
set(VERSION_PATCH 3)
|
||||
|
||||
add_library(pch pch.cpp)
|
||||
target_precompile_headers(pch PUBLIC pch.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user