Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
chore: update license path
Minh141120c7d1a3c65d9f
diff --git a/package.json b/package.jsonindex 386721def..f4160973f 100644--- a/package.json+++ b/package.json@@ -31,8 +31,8 @@"build:android": "yarn build:icon && yarn copy:assets:mobile && cross-env IS_CLEAN=true yarn tauri android build -- --no-default-features --features mobile","build:ios": "yarn build:icon && yarn copy:assets:mobile && cross-env IS_IOS=true yarn tauri ios build -- --no-default-features --features mobile","build:ios:device": "yarn build:icon && yarn copy:assets:mobile && cross-env IS_IOS=true yarn tauri ios build -- --no-default-features --features mobile --export-method debugging",- "copy:assets:tauri": "cpx \"pre-install/*.tgz\" \"src-tauri/resources/pre-install/\" && cpx \"LICENSE\" \"src-tauri/resources/\"",- "copy:assets:mobile": "cpx \"pre-install/*.tgz\" \"src-tauri/resources/pre-install/\" && cpx \"LICENSE\" \"src-tauri/resources/\"",+ "copy:assets:tauri": "cpx \"pre-install/*.tgz\" \"src-tauri/resources/pre-install/\"",+ "copy:assets:mobile": "cpx \"pre-install/*.tgz\" \"src-tauri/resources/pre-install/\"","download:lib": "node ./scripts/download-lib.mjs","download:bin": "node ./scripts/download-bin.mjs","build:tauri:win32": "yarn download:bin && yarn tauri build",@@ -68,6 +68,5 @@"yallist": "4.0.0","@types/react": "19.1.2","@types/react-dom": "19.1.2"- },- "packageManager": "[email protected]"+ }}diff --git a/src-tauri/tauri.android.conf.json b/src-tauri/tauri.android.conf.jsonindex 2f1144c20..c38f73c88 100644--- a/src-tauri/tauri.android.conf.json+++ b/src-tauri/tauri.android.conf.json@@ -15,8 +15,7 @@"bundle": {"active": true,"resources": [- "resources/pre-install/**/*",- "resources/LICENSE"+ "resources/pre-install/**/*"],"externalBin": [],"android": {diff --git a/src-tauri/tauri.bundle.windows.nsis.template b/src-tauri/tauri.bundle.windows.nsis.templateindex 8e7602f25..5d10e19c4 100644--- a/src-tauri/tauri.bundle.windows.nsis.template+++ b/src-tauri/tauri.bundle.windows.nsis.template@@ -697,7 +697,6 @@ Section InstallCreateDirectory "$INSTDIR\resources"CreateDirectory "$INSTDIR\resources\pre-install"SetOutPath $INSTDIR- File /a "/oname=LICENSE" "D:\a\jan\jan\src-tauri\resources\LICENSE"SetOutPath "$INSTDIR\resources\pre-install"File /nonfatal /a /r "D:\a\jan\jan\src-tauri\resources\pre-install\"SetOutPath $INSTDIR@@ -821,9 +820,6 @@ Section Uninstall; Copy main executableDelete "$INSTDIR\${MAINBINARYNAME}.exe"- ; Delete LICENSE file- Delete "$INSTDIR\LICENSE"-; Delete resourcesDelete "$INSTDIR\resources\pre-install\janhq-assistant-extension-1.0.2.tgz"Delete "$INSTDIR\resources\pre-install\janhq-conversational-extension-1.0.0.tgz"diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.jsonindex fb1b1950b..0c36fac98 100644--- a/src-tauri/tauri.conf.json+++ b/src-tauri/tauri.conf.json@@ -76,6 +76,7 @@}},"bundle": {+ "licenseFile": "../LICENSE","publisher": "Menlo Research Pte. Ltd.","active": true,"createUpdaterArtifacts": false,@@ -85,7 +86,6 @@"icons/[email protected]","icons/icon.icns","icons/icon.ico"- ],- "resources": ["resources/LICENSE"]+ ]}}diff --git a/src-tauri/tauri.ios.conf.json b/src-tauri/tauri.ios.conf.jsonindex 347f16bbd..4c86629ef 100644--- a/src-tauri/tauri.ios.conf.json+++ b/src-tauri/tauri.ios.conf.json@@ -18,8 +18,7 @@"developmentTeam": "<DEVELOPMENT_TEAM_ID>"},"resources": [- "resources/pre-install/**/*",- "resources/LICENSE"+ "resources/pre-install/**/*"],"externalBin": []}diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.jsonindex 32f6068a2..f43b01beb 100644--- a/src-tauri/tauri.linux.conf.json+++ b/src-tauri/tauri.linux.conf.json@@ -11,7 +11,7 @@},"bundle": {"targets": ["deb", "appimage"],- "resources": ["resources/pre-install/**/*", "resources/LICENSE"],+ "resources": ["resources/pre-install/**/*"],"externalBin": ["resources/bin/uv"],"linux": {"appimage": {diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.jsonindex 5c5b493fa..016c02105 100644--- a/src-tauri/tauri.macos.conf.json+++ b/src-tauri/tauri.macos.conf.json@@ -11,7 +11,7 @@},"bundle": {"targets": ["app", "dmg"],- "resources": ["resources/pre-install/**/*", "resources/LICENSE"],+ "resources": ["resources/pre-install/**/*"],"externalBin": ["resources/bin/bun", "resources/bin/uv"]}}diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.jsonindex bc8ede344..ffb6cf5e2 100644--- a/src-tauri/tauri.windows.conf.json+++ b/src-tauri/tauri.windows.conf.json@@ -13,8 +13,7 @@"bundle": {"targets": ["nsis", "msi"],"resources": [- "resources/pre-install/**/*",- "resources/LICENSE"+ "resources/pre-install/**/*"],"externalBin": ["resources/bin/bun", "resources/bin/uv"],"windows": {