Skip to content

Commit

Permalink
[+] add some scripts to help init a new project
Browse files Browse the repository at this point in the history
  • Loading branch information
heng30 committed Sep 2, 2024
1 parent 98ba925 commit b2986f3
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions ui/panel/desktop/examples/introducion.slint
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,19 @@ export component Introduction inherits Flickable {
"6. 如果是Web平台,需要替换`web/index.html`文件相关信息。"
],
},
{
title: "如何使用脚本初始化新项目?",
contents: [
"1. 在`script`目录下包含了一些初始化项目脚本,帮助我们快速启动一个新项目。脚本文件: init-project.sh , replace-android-icon.sh, replace-android-splash.sh, replace-brand-picture.sh, replace-windows-icon.sh",
"2. 使用命令`./init-project.sh --help`可查看初始化脚本使用方法。其他脚本也可使用`--help`查看使用方法",
],
},
{
title: "如何编译项目?",
contents: [
"1. 桌面平台:`make desktop-build-release`",
"2. Android平台:`make android-build-release`",
"3. Web平台:make web-buid-dist",
"3. Web平台:`make web-buid-dist`",
"4. 更多命令可参考Makefile文件",
]
},
Expand Down Expand Up @@ -81,12 +88,20 @@ export component Introduction inherits Flickable {
"6. If using Web platform,replace `web/index.html` informations about the project"
],
},
{
title: "How to start a new project using scripts?",
contents: [
"1. There are some scripts that can help us quickly start a new project in the `script` directory. Script files: init-project.sh , replace-android-icon.sh, replace-android-splash.sh, replace-brand-picture.sh, replace-windows-icon.sh",

"2. Use `--help` command to shows the usage",
],
},
{
title: "How to compile the project?",
contents: [
"1. Desktop platform:`make desktop-build-release`",
"2. Android platform:`make android-build-release`",
"3. Web platform:make web-buid-dist",
"3. Web platform:`make web-buid-dist`",
"4. Refer the Makefile for more information",
]
},
Expand Down

0 comments on commit b2986f3

Please sign in to comment.