打包windows版本内容
Showing
7 changed files
with
13 additions
and
9 deletions
| ... | @@ -10,7 +10,6 @@ tags: [openspec, change] | ... | @@ -10,7 +10,6 @@ tags: [openspec, change] |
| 10 | - Keep changes tightly scoped to the requested outcome. | 10 | - Keep changes tightly scoped to the requested outcome. |
| 11 | - Refer to `openspec/AGENTS.md` (located inside the `openspec/` directory—run `ls openspec` or `openspec update` if you don't see it) if you need additional OpenSpec conventions or clarifications. | 11 | - Refer to `openspec/AGENTS.md` (located inside the `openspec/` directory—run `ls openspec` or `openspec update` if you don't see it) if you need additional OpenSpec conventions or clarifications. |
| 12 | - Identify any vague or ambiguous details and ask the necessary follow-up questions before editing files. | 12 | - Identify any vague or ambiguous details and ask the necessary follow-up questions before editing files. |
| 13 | - Do not write any code during the proposal stage. Only create design documents (proposal.md, tasks.md, design.md, and spec deltas). Implementation happens in the apply stage after approval. | ||
| 14 | 13 | ||
| 15 | **Steps** | 14 | **Steps** |
| 16 | 1. Review `openspec/project.md`, run `openspec list` and `openspec list --specs`, and inspect related code or docs (e.g., via `rg`/`ls`) to ground the proposal in current behaviour; note any gaps that require clarification. | 15 | 1. Review `openspec/project.md`, run `openspec list` and `openspec list --specs`, and inspect related code or docs (e.g., via `rg`/`ls`) to ground the proposal in current behaviour; note any gaps that require clarification. | ... | ... |
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
| 4 | <content url="file://$MODULE_DIR$"> | 4 | <content url="file://$MODULE_DIR$"> |
| 5 | <excludeFolder url="file://$MODULE_DIR$/.venv" /> | 5 | <excludeFolder url="file://$MODULE_DIR$/.venv" /> |
| 6 | </content> | 6 | </content> |
| 7 | <orderEntry type="jdk" jdkName="Python 3.9 (GoogleNanoBananaApp) (2)" jdkType="Python SDK" /> | 7 | <orderEntry type="jdk" jdkName="Python 3.11 (GoogleNanoBananaApp)" jdkType="Python SDK" /> |
| 8 | <orderEntry type="sourceFolder" forTests="false" /> | 8 | <orderEntry type="sourceFolder" forTests="false" /> |
| 9 | </component> | 9 | </component> |
| 10 | <component name="PyDocumentationSettings"> | 10 | <component name="PyDocumentationSettings"> | ... | ... |
| ... | @@ -3,5 +3,5 @@ | ... | @@ -3,5 +3,5 @@ |
| 3 | <component name="Black"> | 3 | <component name="Black"> |
| 4 | <option name="sdkName" value="Python 3.9 (GoogleNanoBananaApp) (2)" /> | 4 | <option name="sdkName" value="Python 3.9 (GoogleNanoBananaApp) (2)" /> |
| 5 | </component> | 5 | </component> |
| 6 | <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (GoogleNanoBananaApp) (2)" project-jdk-type="Python SDK" /> | 6 | <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (GoogleNanoBananaApp)" project-jdk-type="Python SDK" /> |
| 7 | </project> | 7 | </project> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -5,11 +5,7 @@ a = Analysis( | ... | @@ -5,11 +5,7 @@ a = Analysis( |
| 5 | ['image_generator.py'], | 5 | ['image_generator.py'], |
| 6 | pathex=[], | 6 | pathex=[], |
| 7 | binaries=[], | 7 | binaries=[], |
| 8 | datas=[ | 8 | datas=[('config.json', '.'), ('zb100_windows.ico', '.')], |
| 9 | ('config.json', '.'), | ||
| 10 | ('zb100_windows.ico', '.'), | ||
| 11 | ('zb100_mac.icns', '.') | ||
| 12 | ], | ||
| 13 | hiddenimports=[], | 9 | hiddenimports=[], |
| 14 | hookspath=[], | 10 | hookspath=[], |
| 15 | hooksconfig={}, | 11 | hooksconfig={}, | ... | ... |
| ... | @@ -33,6 +33,7 @@ pyinstaller --name="ZB100ImageGenerator" ^ | ... | @@ -33,6 +33,7 @@ pyinstaller --name="ZB100ImageGenerator" ^ |
| 33 | --windowed ^ | 33 | --windowed ^ |
| 34 | --icon=zb100_windows.ico ^ | 34 | --icon=zb100_windows.ico ^ |
| 35 | --add-data "config.json;." ^ | 35 | --add-data "config.json;." ^ |
| 36 | --add-data "zb100_windows.ico;." ^ | ||
| 36 | image_generator.py | 37 | image_generator.py |
| 37 | 38 | ||
| 38 | REM Check if build was successful | 39 | REM Check if build was successful | ... | ... |
| ... | @@ -15,5 +15,13 @@ | ... | @@ -15,5 +15,13 @@ |
| 15 | "table": "nano_banana_users" | 15 | "table": "nano_banana_users" |
| 16 | }, | 16 | }, |
| 17 | "last_user": "testuser", | 17 | "last_user": "testuser", |
| 18 | "saved_password_hash": "50630320e4a550f2dba371820dad9d9301d456d101aca4d5ad8f4f3bcc9c1ed9" | 18 | "saved_password_hash": "50630320e4a550f2dba371820dad9d9301d456d101aca4d5ad8f4f3bcc9c1ed9", |
| 19 | "logging_config": { | ||
| 20 | "enabled": true, | ||
| 21 | "level": "INFO", | ||
| 22 | "log_to_console": true | ||
| 23 | }, | ||
| 24 | "history_config": { | ||
| 25 | "max_history_count": 100 | ||
| 26 | } | ||
| 19 | } | 27 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment