chore: update license path

This commit is contained in:
Minh141120 2025-10-08 15:48:16 +07:00
parent 999b7b3cd8
commit c7d1a3c65d
8 changed files with 10 additions and 18 deletions

View File

@ -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": "yarn@4.5.3"
}
}

View File

@ -15,8 +15,7 @@
"bundle": {
"active": true,
"resources": [
"resources/pre-install/**/*",
"resources/LICENSE"
"resources/pre-install/**/*"
],
"externalBin": [],
"android": {

View File

@ -697,7 +697,6 @@ Section Install
CreateDirectory "$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 executable
Delete "$INSTDIR\${MAINBINARYNAME}.exe"
; Delete LICENSE file
Delete "$INSTDIR\LICENSE"
; Delete resources
Delete "$INSTDIR\resources\pre-install\janhq-assistant-extension-1.0.2.tgz"
Delete "$INSTDIR\resources\pre-install\janhq-conversational-extension-1.0.0.tgz"

View File

@ -76,6 +76,7 @@
}
},
"bundle": {
"licenseFile": "../LICENSE",
"publisher": "Menlo Research Pte. Ltd.",
"active": true,
"createUpdaterArtifacts": false,
@ -85,7 +86,6 @@
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": ["resources/LICENSE"]
]
}
}

View File

@ -18,8 +18,7 @@
"developmentTeam": "<DEVELOPMENT_TEAM_ID>"
},
"resources": [
"resources/pre-install/**/*",
"resources/LICENSE"
"resources/pre-install/**/*"
],
"externalBin": []
}

View File

@ -11,7 +11,7 @@
},
"bundle": {
"targets": ["deb", "appimage"],
"resources": ["resources/pre-install/**/*", "resources/LICENSE"],
"resources": ["resources/pre-install/**/*"],
"externalBin": ["resources/bin/uv"],
"linux": {
"appimage": {

View File

@ -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"]
}
}

View File

@ -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": {