Merge pull request #6668 from menloresearch/feat/add-msi-installer

feat: add msi installer
This commit is contained in:
Nguyen Ngoc Minh 2025-09-30 17:39:32 +07:00 committed by GitHub
commit f7be59e99c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 3 deletions

View File

@ -189,9 +189,15 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: jan-windows-${{ inputs.new_version }}
name: jan-windows-exe-${{ inputs.new_version }}
path: |
./src-tauri/target/release/bundle/nsis/*.exe
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: jan-windows-msi-${{ inputs.new_version }}
path: |
./src-tauri/target/release/bundle/msi/*.msi
## Set output filename for windows
- name: Set output filename for windows

View File

@ -76,6 +76,7 @@
"deep-link": { "schemes": ["jan"] }
},
"bundle": {
"publisher": "Menlo Research Pte. Ltd.",
"active": true,
"createUpdaterArtifacts": false,
"icon": [

View File

@ -1,7 +1,7 @@
{
"bundle": {
"targets": ["nsis"],
"resources": ["resources/pre-install/**/*", "resources/lib/vulkan-1.dll", "resources/lib/vc_redist.x64.exe", "resources/LICENSE"],
"targets": ["nsis", "msi"],
"resources": ["resources/pre-install/**/*", "resources/lib/vulkan-1.dll", "resources/LICENSE", "resources/lib/vc_redist.x64.exe"],
"externalBin": ["resources/bin/bun", "resources/bin/uv"],
"windows": {
"nsis": {