chore: move license to resources
This commit is contained in:
parent
c7d1a3c65d
commit
1905f9a9ce
@ -15,7 +15,8 @@
|
|||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"resources": [
|
"resources": [
|
||||||
"resources/pre-install/**/*"
|
"resources/pre-install/**/*",
|
||||||
|
"resources/LICENSE"
|
||||||
],
|
],
|
||||||
"externalBin": [],
|
"externalBin": [],
|
||||||
"android": {
|
"android": {
|
||||||
|
|||||||
@ -697,6 +697,7 @@ Section Install
|
|||||||
CreateDirectory "$INSTDIR\resources"
|
CreateDirectory "$INSTDIR\resources"
|
||||||
CreateDirectory "$INSTDIR\resources\pre-install"
|
CreateDirectory "$INSTDIR\resources\pre-install"
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
File /a "/oname=LICENSE" "D:\a\jan\jan\src-tauri\resources\LICENSE"
|
||||||
SetOutPath "$INSTDIR\resources\pre-install"
|
SetOutPath "$INSTDIR\resources\pre-install"
|
||||||
File /nonfatal /a /r "D:\a\jan\jan\src-tauri\resources\pre-install\"
|
File /nonfatal /a /r "D:\a\jan\jan\src-tauri\resources\pre-install\"
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
@ -820,6 +821,9 @@ Section Uninstall
|
|||||||
; Copy main executable
|
; Copy main executable
|
||||||
Delete "$INSTDIR\${MAINBINARYNAME}.exe"
|
Delete "$INSTDIR\${MAINBINARYNAME}.exe"
|
||||||
|
|
||||||
|
; Delete LICENSE file
|
||||||
|
Delete "$INSTDIR\LICENSE"
|
||||||
|
|
||||||
; Delete resources
|
; Delete resources
|
||||||
Delete "$INSTDIR\resources\pre-install\janhq-assistant-extension-1.0.2.tgz"
|
Delete "$INSTDIR\resources\pre-install\janhq-assistant-extension-1.0.2.tgz"
|
||||||
Delete "$INSTDIR\resources\pre-install\janhq-conversational-extension-1.0.0.tgz"
|
Delete "$INSTDIR\resources\pre-install\janhq-conversational-extension-1.0.0.tgz"
|
||||||
|
|||||||
@ -86,6 +86,7 @@
|
|||||||
"icons/128x128@2x.png",
|
"icons/128x128@2x.png",
|
||||||
"icons/icon.icns",
|
"icons/icon.icns",
|
||||||
"icons/icon.ico"
|
"icons/icon.ico"
|
||||||
]
|
],
|
||||||
|
"resources": ["resources/LICENSE"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,7 +18,8 @@
|
|||||||
"developmentTeam": "<DEVELOPMENT_TEAM_ID>"
|
"developmentTeam": "<DEVELOPMENT_TEAM_ID>"
|
||||||
},
|
},
|
||||||
"resources": [
|
"resources": [
|
||||||
"resources/pre-install/**/*"
|
"resources/pre-install/**/*",
|
||||||
|
"resources/LICENSE"
|
||||||
],
|
],
|
||||||
"externalBin": []
|
"externalBin": []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"targets": ["deb", "appimage"],
|
"targets": ["deb", "appimage"],
|
||||||
"resources": ["resources/pre-install/**/*"],
|
"resources": ["resources/pre-install/**/*", "resources/LICENSE"],
|
||||||
"externalBin": ["resources/bin/uv"],
|
"externalBin": ["resources/bin/uv"],
|
||||||
"linux": {
|
"linux": {
|
||||||
"appimage": {
|
"appimage": {
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"targets": ["app", "dmg"],
|
"targets": ["app", "dmg"],
|
||||||
"resources": ["resources/pre-install/**/*"],
|
"resources": ["resources/pre-install/**/*", "resources/LICENSE"],
|
||||||
"externalBin": ["resources/bin/bun", "resources/bin/uv"]
|
"externalBin": ["resources/bin/bun", "resources/bin/uv"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,8 @@
|
|||||||
"bundle": {
|
"bundle": {
|
||||||
"targets": ["nsis", "msi"],
|
"targets": ["nsis", "msi"],
|
||||||
"resources": [
|
"resources": [
|
||||||
"resources/pre-install/**/*"
|
"resources/pre-install/**/*",
|
||||||
|
"resources/LICENSE"
|
||||||
],
|
],
|
||||||
"externalBin": ["resources/bin/bun", "resources/bin/uv"],
|
"externalBin": ["resources/bin/bun", "resources/bin/uv"],
|
||||||
"windows": {
|
"windows": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user