Skip to content

Conversation

@kfiven
Copy link
Collaborator

@kfiven kfiven commented Jan 20, 2026

Description

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

"devUrl": "http://localhost:8080"
},
"productName": "Cinny",
"mainBinaryName": "Cinny",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it make sense to keep this lower case to avoid breaking current invocations on case sensitive filesystems?

@sertonix
Copy link

sertonix commented Feb 9, 2026

On alpine linux I only was able to use cinny with this patch applied as well:

Ref https://github.com/tauri-apps/plugins-workspace/issues/597
Ref https://tauri.app/plugin/localhost/#usage

--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -20,14 +20,6 @@ pub fn run() {
     builder
         .plugin(tauri_plugin_localhost::Builder::new(port).build())
         .plugin(tauri_plugin_window_state::Builder::default().build())
-        .setup(move |app| {
-            let url = format!("http://localhost:{}", port).parse().unwrap();
-            let window_url = WebviewUrl::External(url);
-            WebviewWindowBuilder::new(app, "main".to_string(), window_url)
-                .title("Cinny")
-                .build()?;
-            Ok(())
-        })
         .run(context)
         .expect("error while building tauri application");
 }
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -53,7 +53,7 @@
   },
   "app": {
     "security": {
-      "csp": "script-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'; connect-src ipc: http://ipc.localhost"
+      "csp": "script-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
     },
     "windows": [
       {
@@ -64,7 +64,8 @@
         "resizable": true,
         "fullscreen": false,
         "dragDropEnabled": false,
-        "useHttpsScheme": true
+        "useHttpsScheme": true,
+        "url": "http://localhost:44548"
       }
     ]
   }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants