chore: hide windows install detail

This commit is contained in:
vansangpfiev 2025-04-28 14:47:22 +07:00
parent 0b850f2ead
commit 6c67843446
2 changed files with 9 additions and 10 deletions

View File

@ -246,16 +246,10 @@ jobs:
path: | path: |
./src-tauri/target/release/bundle/dmg/*.dmg ./src-tauri/target/release/bundle/dmg/*.dmg
- name: zip Jan-nightly.app file
if: inputs.public_provider != 'github'
run: |
cd ./src-tauri/target/release/bundle/macos
zip -r jan-nightly.zip Jan-nightly.app
- name: Upload Artifact - name: Upload Artifact
if: inputs.public_provider != 'github' if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: jan-mac-universal-${{ inputs.new_version }}-tar-gz name: jan-mac-universal-${{ inputs.new_version }}.app.tar.gz
path: | path: |
./src-tauri/target/release/bundle/macos/jan-nightly.zip ./src-tauri/target/release/bundle/macos/Jan-nightly.app.tar.gz

View File

@ -35,7 +35,7 @@ ${StrLoc}
!define HOMEPAGE "" !define HOMEPAGE ""
!define INSTALLMODE "currentUser" !define INSTALLMODE "currentUser"
!define LICENSE "" !define LICENSE ""
!define INSTALLERICON "" !define INSTALLERICON "D:\a\jan\jan\src-tauri\icons\icon.ico"
!define SIDEBARIMAGE "" !define SIDEBARIMAGE ""
!define HEADERIMAGE "" !define HEADERIMAGE ""
!define MAINBINARYNAME "jan_mainbinaryname" !define MAINBINARYNAME "jan_mainbinaryname"
@ -69,6 +69,9 @@ Name "${PRODUCTNAME}"
BrandingText "${COPYRIGHT}" BrandingText "${COPYRIGHT}"
OutFile "${OUTFILE}" OutFile "${OUTFILE}"
ShowInstDetails nevershow
ShowUninstDetails nevershow
; We don't actually use this value as default install path, ; We don't actually use this value as default install path,
; it's just for nsis to append the product name folder in the directory selector ; it's just for nsis to append the product name folder in the directory selector
; https://nsis.sourceforge.io/Reference/InstallDir ; https://nsis.sourceforge.io/Reference/InstallDir
@ -607,6 +610,7 @@ Section WebView2
SectionEnd SectionEnd
Section Install Section Install
SetDetailsPrint none
SetOutPath $INSTDIR SetOutPath $INSTDIR
!ifmacrodef NSIS_HOOK_PREINSTALL !ifmacrodef NSIS_HOOK_PREINSTALL
@ -776,7 +780,8 @@ Function un.onInit
FunctionEnd FunctionEnd
Section Uninstall Section Uninstall
SetDetailsPrint none
!ifmacrodef NSIS_HOOK_PREUNINSTALL !ifmacrodef NSIS_HOOK_PREUNINSTALL
!insertmacro NSIS_HOOK_PREUNINSTALL !insertmacro NSIS_HOOK_PREUNINSTALL
!endif !endif