Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
See https://semver.org/
"""

__version__ = "0.2.0"
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion desktop/backend_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
if str(ROOT_DIR) not in sys.path:
sys.path.insert(0, str(ROOT_DIR))

from app.main import app
from app.services.runtime_paths import DATA_DIR_ENV

DEFAULT_HOST = "127.0.0.1"
Expand All @@ -36,6 +35,7 @@ def main() -> None:
args = parse_args()
if args.data_dir is not None:
os.environ[DATA_DIR_ENV] = str(args.data_dir.expanduser())
from app.main import app

config = uvicorn.Config(
app,
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mybookshelfai-frontend",
"private": true,
"version": "0.2.0",
"version": "0.2.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "app"
version = "0.2.0"
version = "0.2.1"
description = "A Tauri App"
authors = ["you"]
license = ""
Expand Down
4 changes: 2 additions & 2 deletions frontend/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct BackendState {
fn stop_backend(app: &AppHandle) {
if let Some(state) = app.try_state::<BackendState>() {
if let Ok(mut guard) = state.child.lock() {
if let Some(mut child) = guard.take() {
if let Some(child) = guard.take() {
let _ = child.kill();
}
}
Expand All @@ -40,7 +40,7 @@ pub fn run() {
let data_dir_arg = app_data_dir.to_string_lossy().into_owned();

let sidecar = app.shell().sidecar(BACKEND_SIDECAR_NAME)?;
let args = [
let args = vec![
"--host".to_string(),
BACKEND_HOST.to_string(),
"--port".to_string(),
Expand Down
2 changes: 1 addition & 1 deletion frontend/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "MyBookshelfAI",
"version": "0.2.0",
"version": "0.2.1",
"identifier": "com.mybookshelfai.desktop",
"build": {
"frontendDist": "../dist",
Expand Down
Loading