afae62c5 by 柴进

打包windows版本内容

1 parent 15a2dba1
......@@ -10,7 +10,6 @@ tags: [openspec, change]
- Keep changes tightly scoped to the requested outcome.
- 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.
- Identify any vague or ambiguous details and ask the necessary follow-up questions before editing files.
- 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.
**Steps**
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 @@
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.9 (GoogleNanoBananaApp) (2)" jdkType="Python SDK" />
<orderEntry type="jdk" jdkName="Python 3.11 (GoogleNanoBananaApp)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyDocumentationSettings">
......
......@@ -3,5 +3,5 @@
<component name="Black">
<option name="sdkName" value="Python 3.9 (GoogleNanoBananaApp) (2)" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (GoogleNanoBananaApp) (2)" project-jdk-type="Python SDK" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (GoogleNanoBananaApp)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
......
......@@ -5,11 +5,7 @@ a = Analysis(
['image_generator.py'],
pathex=[],
binaries=[],
datas=[
('config.json', '.'),
('zb100_windows.ico', '.'),
('zb100_mac.icns', '.')
],
datas=[('config.json', '.'), ('zb100_windows.ico', '.')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
......
......@@ -33,6 +33,7 @@ pyinstaller --name="ZB100ImageGenerator" ^
--windowed ^
--icon=zb100_windows.ico ^
--add-data "config.json;." ^
--add-data "zb100_windows.ico;." ^
image_generator.py
REM Check if build was successful
......
......@@ -15,5 +15,13 @@
"table": "nano_banana_users"
},
"last_user": "testuser",
"saved_password_hash": "50630320e4a550f2dba371820dad9d9301d456d101aca4d5ad8f4f3bcc9c1ed9"
"saved_password_hash": "50630320e4a550f2dba371820dad9d9301d456d101aca4d5ad8f4f3bcc9c1ed9",
"logging_config": {
"enabled": true,
"level": "INFO",
"log_to_console": true
},
"history_config": {
"max_history_count": 100
}
}
\ No newline at end of file
......