Skip to content

Commit 067010f

Browse files
committed
Fix the unexpected shutdown issue for exe (#124)
1 parent 6f63be3 commit 067010f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Click the url in the output info generated by flask (defaults to `http://127.0.0
5454
<details>
5555
<summary>Click to expand</summary>
5656

57-
- Windows: Download onnx-modifier.exe (28.3MB) [Google Drive](https://drive.google.com/file/d/1LRXgZauQ5BUENe_PvilRW8WvSO-4Jr9j/view?usp=sharing) / [Baidu NetDisk](https://pan.baidu.com/share/init?surl=CDGCC5bzmRL4b0F60PANYg&pwd=vh32), double-click it and enjoy.
57+
- Windows: Download onnx-modifier.exe (28.3MB) [Google Drive](https://drive.google.com/file/d/1LRXgZauQ5BUENe_PvilRW8WvSO-4Jr9j/view?usp=sharing) / [Baidu NetDisk](https://pan.baidu.com/s/1ZUWP615F9EcsHQLijCCmQA?pwd=vh32), double-click it and enjoy.
5858
- Edge browser is used for runtime environment by default.
5959

6060
> I recorded how I made the the executable file in `app_desktop.py`. The executable file for other platforms are left for future work.

README_zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
```
4949

5050
## 从可执行文件启动
51-
- Windows: 下载可执行文件onnx-modifier.exe (28.3MB) [Google Drive](https://drive.google.com/file/d/1LRXgZauQ5BUENe_PvilRW8WvSO-4Jr9j/view?usp=sharing) / [Baidu NetDisk](https://pan.baidu.com/share/init?surl=CDGCC5bzmRL4b0F60PANYg&pwd=vh32),双击即可启动。
51+
- Windows: 下载可执行文件onnx-modifier.exe (28.3MB) [Google Drive](https://drive.google.com/file/d/1LRXgZauQ5BUENe_PvilRW8WvSO-4Jr9j/view?usp=sharing) / [Baidu NetDisk](https://pan.baidu.com/s/1ZUWP615F9EcsHQLijCCmQA?pwd=vh32),双击即可启动。
5252
- 默认使用Edge浏览器作为运行环境。
5353
> 生成可执行文件的步骤记录在`app_desktop.py`文件中。未来会为其他平台生成可执行文件。
5454

app_desktop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from app import app
1212

13-
FlaskUI(app, maximized=True, idle_interval=5).run()
13+
FlaskUI(app, maximized=True, idle_interval=float("inf")).run()
1414

1515
'''
1616
This script is used for generating excutable files.

0 commit comments

Comments
 (0)