From 6b73179a2f0cdb437c2183e3d6d8957978466393 Mon Sep 17 00:00:00 2001 From: Geroge Rupp Date: Thu, 3 Mar 2022 22:07:38 +0800 Subject: [PATCH] add Build instructions --- .gitignore | 2 ++ README.md | 11 +++++++++++ README.zh-TW.md | 11 +++++++++++ 3 files changed, 24 insertions(+) diff --git a/.gitignore b/.gitignore index 451b49c..477feb4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ AnnaBorder-x64-win/config.json **/__pycache__ image dataset + +**/build diff --git a/README.md b/README.md index 4586f8e..13bdb66 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,17 @@ it can enter multiple border types, generates more than one border-image `config.json` is **event informations data**, **border data**, **fonts**, **background** file location, with customization, convenient the file organization +## Build + +require library: +```console +pyinstaller +``` +to build release: +```console +$ pyinstaller -F main.py -i "icon.ico" +``` + ## License Licensed under [MIT](LICENSE). diff --git a/README.zh-TW.md b/README.zh-TW.md index b80f4f2..0836cb8 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -36,6 +36,17 @@ options: `config.json`是 **活動資訊資料**, **排行資料**, **字體檔**, **背景圖** 的檔案位置設定檔,配合自訂義能夠方便管理檔案 +## 編譯 + +所需函式庫: +```console +pyinstaller +``` +建構發布: +``` +$ pyinstaller -F main.py -i "icon.ico" +``` + ## 授權 遵守 [MIT](LICENSE)授權條款。