完善Kconfig.bat

This commit is contained in:
HEYAHONG 2023-12-23 15:57:29 +08:00
parent 281cea65fd
commit 318934f150
No known key found for this signature in database
GPG Key ID: BD5679034F83A8A9
2 changed files with 9 additions and 3 deletions

View File

@ -2,5 +2,7 @@
@rem 目录
set APP_ROOT_PATH=%~dp0
if exist "%APP_ROOT_PATH%\guiconfig.exe" start "GuiConfig" "%APP_ROOT_PATH%\guiconfig.exe"
set KCONFIG_CONFIG=.config
PUSHD "%APP_ROOT_PATH%" 2> nul > nul
if exist "%APP_ROOT_PATH%\guiconfig.exe" start "GuiConfig" "%APP_ROOT_PATH%\guiconfig.exe"
POPD 2> nul > nul

View File

@ -37,6 +37,10 @@ kconfig工具采用python软件包kconfiglib,通过pyinstaller打包而来,主
git submodule update --init --recursive
```
### 源代码更新
若使用`git pull`更新已下载的源代码,请在更新后使用`git submodule update --init --recursive`更新子模块。
## 资源文件
类似于桌面程序的资源文件。源代码实现的目录为 [rc](rc/)。
@ -92,7 +96,7 @@ sudo apt-get install wine winbind
- build.bat:构建工程文件并编译。
- clean.bat:清理构建文件
- Kconfig.bat:调整Kconfig设置。
- Kconfig.bat:调整Kconfig设置。使用此工具可修改Kconfig设置,也可手动修改.config文件(不存在则创建)修改Kconfig设置。
对于非Windows启动脚本需要使用`wine cmd /c 脚本路径`启动脚本。