create-canaima-app 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-canaima-app",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "CLI para scaffolding de proyectos de escritorio con Tauri, Vue 3 y Rust.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2,5 +2,11 @@
2
2
  #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
3
3
 
4
4
  fn main() {
5
+ #[cfg(target_os = "linux")]
6
+ {
7
+ // Configuración para corregir problemas de renderizado en Linux
8
+ std::env::set_var("WEBKIT_DISABLE_COMPOSITING_MODE", "1");
9
+ std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
10
+ }
5
11
  tauri_material_tailwind_lib::run()
6
12
  }
@@ -30,7 +30,9 @@ onMounted(() => {
30
30
  border: 1px solid rgba(0, 0, 0, 0.1);
31
31
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
32
32
  color: var(--texto-oscuro, #333333);
33
- transition: background-color 0.3s ease, color 0.3s ease;
33
+ transition:
34
+ background-color 0.3s ease,
35
+ color 0.3s ease;
34
36
  }
35
37
 
36
38
  /* El store añade 'dark-mode' al body — usamos ese selector */
@@ -5,8 +5,8 @@ fn main() {
5
5
  #[cfg(target_os = "linux")]
6
6
  {
7
7
  // Configuración para corregir problemas de renderizado en Linux
8
+ std::env::set_var("WEBKIT_DISABLE_COMPOSITING_MODE", "1");
8
9
  std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
9
- std::env::set_var("LIBGL_ALWAYS_SOFTWARE", "1");
10
10
  }
11
11
  plantilla_tauri_vue_lib::run()
12
12
  }