Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
chore: make windows setup base on platform
Faisal Amir948d817cd665
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.jsonindex 40392e546..33b40fbc8 100644--- a/src-tauri/tauri.conf.json+++ b/src-tauri/tauri.conf.json@@ -11,33 +11,6 @@},"app": {"macOSPrivateApi": true,- "windows": [- {- "label": "main",- "title": "Jan",- "width": 1200,- "minWidth": 1024,- "height": 800,- "minHeight": 740,- "resizable": true,- "fullscreen": false,- "zoomHotkeysEnabled": true,- "center": true,- "hiddenTitle": true,- "transparent": true,- "trafficLightPosition": {- "x": 20,- "y": 32- },- "decorations": false,- "titleBarStyle": "Overlay",- "windowEffects": {- "effects": ["fullScreenUI", "mica", "tabbed", "blur", "acrylic"],- "state": "active"- },- "dragDropEnabled": false- }- ],"security": {"capabilities": ["default",diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.jsonindex 6b0684b25..e831f616e 100644--- a/src-tauri/tauri.linux.conf.json+++ b/src-tauri/tauri.linux.conf.json@@ -1,4 +1,33 @@{+ "app": {+ "windows": [+ {+ "label": "main",+ "title": "Jan",+ "width": 1200,+ "minWidth": 1024,+ "height": 800,+ "minHeight": 740,+ "resizable": true,+ "fullscreen": false,+ "zoomHotkeysEnabled": true,+ "center": true,+ "hiddenTitle": true,+ "transparent": true,+ "trafficLightPosition": {+ "x": 20,+ "y": 32+ },+ "decorations": false,+ "titleBarStyle": "Overlay",+ "windowEffects": {+ "effects": ["fullScreenUI", "mica", "tabbed", "blur", "acrylic"],+ "state": "active"+ },+ "dragDropEnabled": false+ }+ ]+ },"bundle": {"targets": ["deb", "appimage"],"resources": ["resources/pre-install/**/*", "resources/LICENSE"],diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.jsonindex 2326f498a..fd24e2e4f 100644--- a/src-tauri/tauri.macos.conf.json+++ b/src-tauri/tauri.macos.conf.json@@ -1,4 +1,33 @@{+ "app": {+ "windows": [+ {+ "label": "main",+ "title": "Jan",+ "width": 1200,+ "minWidth": 1024,+ "height": 800,+ "minHeight": 740,+ "resizable": true,+ "fullscreen": false,+ "zoomHotkeysEnabled": true,+ "center": true,+ "hiddenTitle": true,+ "transparent": true,+ "trafficLightPosition": {+ "x": 20,+ "y": 32+ },+ "decorations": true,+ "titleBarStyle": "Overlay",+ "windowEffects": {+ "effects": ["fullScreenUI", "mica", "tabbed", "blur", "acrylic"],+ "state": "active"+ },+ "dragDropEnabled": false+ }+ ]+ },"bundle": {"targets": ["app", "dmg"],"resources": ["resources/pre-install/**/*", "resources/LICENSE", "resources/bin/mlx-server", "resources/bin/mlx-swift_Cmlx.bundle"],diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.jsonindex c5ef71303..b5038fca5 100644--- a/src-tauri/tauri.windows.conf.json+++ b/src-tauri/tauri.windows.conf.json@@ -1,4 +1,33 @@{+ "app": {+ "windows": [+ {+ "label": "main",+ "title": "Jan",+ "width": 1200,+ "minWidth": 1024,+ "height": 800,+ "minHeight": 740,+ "resizable": true,+ "fullscreen": false,+ "zoomHotkeysEnabled": true,+ "center": true,+ "hiddenTitle": true,+ "transparent": true,+ "trafficLightPosition": {+ "x": 20,+ "y": 32+ },+ "decorations": false,+ "titleBarStyle": "Overlay",+ "windowEffects": {+ "effects": ["fullScreenUI", "mica", "tabbed", "blur", "acrylic"],+ "state": "active"+ },+ "dragDropEnabled": false+ }+ ]+ },"bundle": {"targets": ["nsis", "msi"],"resources": ["resources/pre-install/**/*", "resources/LICENSE"],