Skip to content

Commit 4d473fc

Browse files
authored
hotfix & version up (#3)
1 parent 92a53ec commit 4d473fc

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

app/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
See https://semver.org/
44
"""
55

6-
__version__ = "0.2.0"
6+
__version__ = "0.2.1"

desktop/backend_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
if str(ROOT_DIR) not in sys.path:
1515
sys.path.insert(0, str(ROOT_DIR))
1616

17-
from app.main import app
1817
from app.services.runtime_paths import DATA_DIR_ENV
1918

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

4040
config = uvicorn.Config(
4141
app,

frontend/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mybookshelfai-frontend",
33
"private": true,
4-
"version": "0.2.0",
4+
"version": "0.2.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

frontend/src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "app"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "A Tauri App"
55
authors = ["you"]
66
license = ""

frontend/src-tauri/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct BackendState {
1414
fn stop_backend(app: &AppHandle) {
1515
if let Some(state) = app.try_state::<BackendState>() {
1616
if let Ok(mut guard) = state.child.lock() {
17-
if let Some(mut child) = guard.take() {
17+
if let Some(child) = guard.take() {
1818
let _ = child.kill();
1919
}
2020
}
@@ -40,7 +40,7 @@ pub fn run() {
4040
let data_dir_arg = app_data_dir.to_string_lossy().into_owned();
4141

4242
let sidecar = app.shell().sidecar(BACKEND_SIDECAR_NAME)?;
43-
let args = [
43+
let args = vec![
4444
"--host".to_string(),
4545
BACKEND_HOST.to_string(),
4646
"--port".to_string(),

frontend/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
33
"productName": "MyBookshelfAI",
4-
"version": "0.2.0",
4+
"version": "0.2.1",
55
"identifier": "com.mybookshelfai.desktop",
66
"build": {
77
"frontendDist": "../dist",

0 commit comments

Comments
 (0)