Skip to content

Commit

Permalink
v0.4.0 - rpc update
Browse files Browse the repository at this point in the history
  • Loading branch information
ahqsoftwares committed Oct 6, 2024
1 parent 2cf4abf commit 7fc122a
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 52 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "amber-dchat",
"private": true,
"version": "0.3.2",
"version": "0.4.0",
"type": "module",
"scripts": {
"dev": "tauri dev",
Expand Down
140 changes: 94 additions & 46 deletions src-tauri/Cargo.lock

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

3 changes: 2 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cargo-features = ["profile-rustflags", "trim-paths"]

[package]
name = "amberdchat"
version = "0.3.2"
version = "0.4.0"
description = "A Tauri App"
authors = ["Amber DChat"]
edition = "2021"
Expand All @@ -27,6 +27,7 @@ ahq-updater = { path = "../updater" }
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-single-instance = "2.0.1"
tauri-plugin-updater = "2.0.2"
rpc_server = { git = "https://github.com/amber-dchat/rpc", branch = "main" }

[profile.dev]
incremental = true # Compile your binary in smaller steps.
Expand Down
21 changes: 21 additions & 0 deletions src-tauri/capabilities/debug.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for debug mode",
"windows": ["splash", "chatapplication"],
"remote": {
"urls": [
"https://localhost:3000/*",
"https://localhost:3000",
"https://localhost:3000/"
]
},
"permissions": [
"core:default",
"core:app:allow-version",
"core:event:default",
"core:window:default",
"core:window:allow-start-dragging",
"core:window:allow-set-progress-bar"
]
}
Loading

0 comments on commit 7fc122a

Please sign in to comment.