feat: 添加应用图标和README Logo
- 添加 Windows ICO 图标 - 添加 macOS iconset 图标源文件 - 添加 README Logo 图片 - 更新打包脚本添加图标配置
@ -1,5 +1,9 @@
|
|||||||
# TrulyMEM - TrueHumanMEM
|
# TrulyMEM - TrueHumanMEM
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img src="pic/image.png" alt="TrulyMEM Logo" width="200">
|
||||||
|
</p>
|
||||||
|
|
||||||
> **📜 开源协议**: [GNU General Public License v3.0 (GPLv3)](https://www.gnu.org/licenses/gpl-3.0)
|
> **📜 开源协议**: [GNU General Public License v3.0 (GPLv3)](https://www.gnu.org/licenses/gpl-3.0)
|
||||||
> 本项目自由开源,可自由使用、修改和分发,但修改后的作品必须以相同许可证发布。
|
> 本项目自由开源,可自由使用、修改和分发,但修改后的作品必须以相同许可证发布。
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,12 @@ fi
|
|||||||
echo "Installing dependencies..."
|
echo "Installing dependencies..."
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
echo "Generating ICNS icon..."
|
||||||
|
if [ -d "pic/TrulyMEM.iconset" ]; then
|
||||||
|
iconutil -c icns pic/TrulyMEM.iconset -o pic/TrulyMEM.icns
|
||||||
|
echo "ICNS icon generated: pic/TrulyMEM.icns"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Cleaning previous builds..."
|
echo "Cleaning previous builds..."
|
||||||
rm -rf build/dist build/__pycache__ 2>/dev/null || true
|
rm -rf build/dist build/__pycache__ 2>/dev/null || true
|
||||||
|
|
||||||
@ -26,6 +32,7 @@ python3 -m PyInstaller trulymem_entry.py \
|
|||||||
--onefile \
|
--onefile \
|
||||||
--console \
|
--console \
|
||||||
--name TrulyMEM \
|
--name TrulyMEM \
|
||||||
|
--icon "pic/TrulyMEM.icns" \
|
||||||
--add-data "ui/styles:ui/styles" \
|
--add-data "ui/styles:ui/styles" \
|
||||||
--add-data "core/prompts/templates:core/prompts/templates" \
|
--add-data "core/prompts/templates:core/prompts/templates" \
|
||||||
--hidden-import textual \
|
--hidden-import textual \
|
||||||
|
|||||||
@ -20,6 +20,7 @@ python -m PyInstaller trulymem_entry.py ^
|
|||||||
--onefile ^
|
--onefile ^
|
||||||
--console ^
|
--console ^
|
||||||
--name TrulyMEM ^
|
--name TrulyMEM ^
|
||||||
|
--icon "pic/TrulyMEM.ico" ^
|
||||||
--add-data "ui/styles;ui/styles" ^
|
--add-data "ui/styles;ui/styles" ^
|
||||||
--add-data "core/prompts/templates;core/prompts/templates" ^
|
--add-data "core/prompts/templates;core/prompts/templates" ^
|
||||||
--hidden-import textual ^
|
--hidden-import textual ^
|
||||||
|
|||||||
BIN
pic/TrulyMEM.ico
Normal file
|
After Width: | Height: | Size: 664 B |
BIN
pic/TrulyMEM.iconset/icon_128x128.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
pic/TrulyMEM.iconset/icon_128x128@2x.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
pic/TrulyMEM.iconset/icon_16x16.png
Normal file
|
After Width: | Height: | Size: 642 B |
BIN
pic/TrulyMEM.iconset/icon_16x16@2x.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
pic/TrulyMEM.iconset/icon_256x256.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
pic/TrulyMEM.iconset/icon_256x256@2x.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
pic/TrulyMEM.iconset/icon_32x32.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
pic/TrulyMEM.iconset/icon_32x32@2x.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
pic/TrulyMEM.iconset/icon_512x512.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
pic/TrulyMEM.iconset/icon_512x512@2x.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
pic/image.png
Normal file
|
After Width: | Height: | Size: 28 KiB |