更新提示信息

This commit is contained in:
nikola 2023-08-02 10:31:59 +08:00
parent 62140f39d2
commit 3ca9f7071e
4 changed files with 20 additions and 4 deletions

View File

@ -40,6 +40,7 @@ var ICONS_GROUP
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP !insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
; Instfiles page ; Instfiles page
!insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_PAGE_INSTFILES
; Finish page
!include "WordFunc.nsh" !include "WordFunc.nsh"
!define PATH_KEY "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ;//path<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>HKLM<EFBFBD>µ<EFBFBD>ע<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> !define PATH_KEY "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ;//path<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>HKLM<EFBFBD>µ<EFBFBD>ע<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Section -Post Section -Post
@ -50,7 +51,6 @@ WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environ
;ˢ<EFBFBD>»<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ;ˢ<EFBFBD>»<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=500 SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=500
SectionEnd SectionEnd
; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\KDA.exe" !define MUI_FINISHPAGE_RUN "$INSTDIR\KDA.exe"
!insertmacro MUI_PAGE_FINISH !insertmacro MUI_PAGE_FINISH
@ -64,7 +64,7 @@ SectionEnd
; MUI end ------ ; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "KDA_v1.0.exe" OutFile "KDA_v1.0<EFBFBD><EFBFBD>װ<EFBFBD><EFBFBD>.exe"
InstallDir "$PROGRAMFILES\KDA_v1.0" InstallDir "$PROGRAMFILES\KDA_v1.0"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show ShowInstDetails show

View File

@ -500,8 +500,10 @@ void MainWindow::update_map_info(void)
if(map->ram_list.length()==0) if(map->ram_list.length()==0)
return; return;
if(map->flash_list.length()==0) if(map->flash_list.length()==0)
return; return;
uint64_t ram_all_max_size=0; uint64_t ram_all_max_size=0;
uint64_t ram_all_used_size=0; uint64_t ram_all_used_size=0;
uint64_t ram_min_base_addr=map->ram_list.at(0)->getBase_addr(); uint64_t ram_min_base_addr=map->ram_list.at(0)->getBase_addr();

View File

@ -460,7 +460,7 @@ color: rgb(255, 255, 255);
</string> </string>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>3</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="bulid_info"> <widget class="QWidget" name="bulid_info">
<attribute name="title"> <attribute name="title">

View File

@ -29,6 +29,20 @@ C语言编写的一个解析map文件输出占用百分比进度条的命令行
于是用Qt重新开发了一下于是推出升级版的KDA(keil_development_assistant)<br> 于是用Qt重新开发了一下于是推出升级版的KDA(keil_development_assistant)<br>
keil开发助手项目就这样诞生了。 keil开发助手项目就这样诞生了。
注意安装前请先备份系统的PATH环境变量
注意安装前请先备份系统的PATH环境变量
注意安装前请先备份系统的PATH环境变量
先保存自己的系统 PATH 和 用户 PATH。
部分网友反馈工具自动添加到PATH有概率导致原有的PATH被清空
可能和系统版本有关,打包脚本写的不严谨。
注意!程序显示的最高主频是错的,应该是默认内部时钟
注意!程序显示的最高主频是错的,应该是默认内部时钟
注意!程序显示的最高主频是错的,应该是默认内部时钟
后面有更新再一起更改。
<p id="2"></p> <p id="2"></p>
## 功能演示 ## 功能演示