From 65a7c15700aaa3695a9bd0a5e905bd4c8e82f001 Mon Sep 17 00:00:00 2001 From: pengqi Date: Fri, 10 Oct 2025 13:44:43 +0800 Subject: [PATCH] =?UTF-8?q?readme=E6=B7=BB=E5=8A=A0=E7=BD=91=E5=85=B3?= =?UTF-8?q?=E5=BC=80=E6=9C=BA=E8=87=AA=E5=90=AF=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index bf39f09..7ebc899 100644 --- a/readme.md +++ b/readme.md @@ -8,4 +8,10 @@ # 注意事项: 1. 现在程序使用的是html单独的文件,该程序生成.exe会读取不到html文件,因此如果要生成.exe文件, -将main中的from api_server_html import APIServer 修改为from api_server import APIServer即可。 \ No newline at end of file +将main中的from api_server_html import APIServer 修改为from api_server import APIServer即可。 + +2. 网关添加开机自启程序: +打开网关的文件系统目录中的/etc/htset/autorun文件,在最后一行添加需要运行的用户程序。 +如 HelloWorld 程序,假设存放目录为/home/htnice/app,则在 autorun 文 +件的末尾新添加一行如下指令 +/home/htnice/app/HelloWorld & \ No newline at end of file