Skip to content

Commit e787dea

Browse files
committed
chore(release): v0.1.1
1 parent d3aff51 commit e787dea

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

package.json

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

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.

src-tauri/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "runtime"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Everything at runtime"
5-
authors = ["bayangp0@gmail.com"]
5+
authors = ["titohiera@gmail.com"]
66
edition = "2021"
77

88
[lib]

src-tauri/src/browser_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ use crate::network::{
1111
use crate::platform::detect_browsers;
1212
use crate::sketchs::ManageableBrowserInstance;
1313

14-
pub static MANAGED_BROWSER: Lazy<Mutex<Option<ManageableBrowserInstance>>> =
15-
Lazy::new(|| Mutex::new(None));
14+
pub static MANAGED_BROWSER: Lazy<Mutex<Option<ManageableBrowserInstance>>> = Lazy::new(|| Mutex::new(None));
1615

1716
fn get_allowed_origins() -> String {
1817
let is_dev = cfg!(debug_assertions);
@@ -36,6 +35,7 @@ fn get_allowed_origins() -> String {
3635
}
3736
}
3837

38+
#[allow(dead_code)]
3939
pub async fn get_running_instance(target_browser_path: &str) -> Option<String> {
4040
let mut managed_browser_guard = MANAGED_BROWSER.lock().await;
4141

src-tauri/src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::apps::call;
2-
use crate::browser_manager::{get_running_instance, launch_new_instance, sunset_browser_instance, MANAGED_BROWSER};
2+
use crate::browser_manager::{launch_new_instance, sunset_browser_instance, MANAGED_BROWSER};
33
use crate::network::{
44
create_new_page, determine_browser_type, extract_port_from_ws_url, find_free_port,
55
get_browser_info, get_browser_websocket_url, scan_for_existing_browser_instances,

src-tauri/src/sketchs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pub struct ManageableBrowserInstance {
1414
pub child: Option<Child>,
1515
pub path: String,
1616
pub port: u16,
17+
#[allow(dead_code)]
1718
pub ws_url: String,
1819
pub launched_by_app: bool,
1920
}

0 commit comments

Comments
 (0)