Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Bring back browser devtools in dev mode
Merged rudolfs opened 1 month ago

When we switched off debug-assertions in the backend it inadvertently also disabled browser devtools in the app. We need those in dev mode to debug things, this brings them back.

lint unit-test e2e 👉 Workflow runs 👉 Branch on GitHub

2 files changed +2 -1 5dc03525 d0763b3a
modified crates/radicle-tauri/Cargo.toml
@@ -45,3 +45,4 @@ default = ["custom-protocol"]
# this feature is used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = ["tauri/custom-protocol"]
+
devtools = ["tauri/devtools"]
modified package.json
@@ -6,7 +6,7 @@
  "type": "module",
  "scripts": {
    "start": "vite",
-
    "dev": "npx tauri dev -- --profile dev-without-assertions",
+
    "dev": "npx tauri dev -- --profile dev-without-assertions --features devtools",
    "start:http": "cargo run --manifest-path ./crates/test-http-api/Cargo.toml",
    "build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
    "build:http": "cargo build --manifest-path ./crates/test-http-api/Cargo.toml",