diff --git a/.gitignore b/.gitignore
index b9316e7..a8f2c9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,8 @@
# Python 打包产物
dist_python/
build_python/
-*.spec
# SQLite 数据库文件
-*.db
*.sqlite
*.sqlite3
@@ -52,4 +50,4 @@ data/
knowledge_base/
# 本地敏感配置(不要提交到仓库)
-config.json
+
diff --git a/frontend/index.html b/frontend/index.html
new file mode 100644
index 0000000..55d6a2f
--- /dev/null
+++ b/frontend/index.html
@@ -0,0 +1,68 @@
+
+
+
+
+
+ 丑橘文化传媒GEO内容优化平台
+
+
+
+
+
+
+
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 90eb50f..f80c833 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -98,7 +98,7 @@ pub fn run() {
} else {
"geo_tool_app"
};
- let exe_path = resource_dir.join("_up_").join("dist").join(exe_name);
+ let exe_path = resource_dir.join("_up_").join("dist_python").join(exe_name);
log::info!(
"[生产模式] 启动打包应用: {:?}",
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 4d6a789..3b5c574 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -4,7 +4,7 @@
"version": "0.1.0",
"identifier": "com.pinesound.geo-tool",
"build": {
- "frontendDist": "http://localhost:8501",
+ "frontendDist": "../frontend",
"devUrl": "http://localhost:8501"
},
"app": {