你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Tidy formatting of Windows bit printing.
这个提交包含在:
@@ -140,9 +140,9 @@ def get_host_info():
|
|||||||
cpuID = subprocess.check_output("wmic cpu get Name", shell=True).decode('utf-8').strip()
|
cpuID = subprocess.check_output("wmic cpu get Name", shell=True).decode('utf-8').strip()
|
||||||
cpuID = cpuID.split('\n')[1]
|
cpuID = cpuID.split('\n')[1]
|
||||||
if platform.machine().endswith('64'):
|
if platform.machine().endswith('64'):
|
||||||
osbit = '(64-bit)'
|
osbit = ' (64-bit)'
|
||||||
else:
|
else:
|
||||||
osbit = '(32-bit)'
|
osbit = ' (32-bit)'
|
||||||
osversion = 'Windows ' + platform.release() + osbit
|
osversion = 'Windows ' + platform.release() + osbit
|
||||||
|
|
||||||
# Mac OS X/macOS
|
# Mac OS X/macOS
|
||||||
|
在新工单中引用
屏蔽一个用户