본문 바로가기
Programming/Cross-platform

[Tauri] Tauri Windows Installer 빌드

by 째스터 2024. 4. 12.
728x90

다음 명령어를 통해 간단히 패키징 할 수 있다.

pnpm tauri build

아래 경로에 exe 파일이 만들어진다.
여기서 Tauri의 강점인 작은 번들 사이즈를 확인할 수 있다.
init 후 바로 빌드한 용량이 5.16MB 정도다.

installer를 원한다면 bundle 폴더를 확인하면 된다.
- bundle/msi: .msi installer
- bundle/nsis: .exe installer

installer는 용량이 더 작다.


아래에서 확인할 수 있다.
https://github.com/HanJaeJoon/blog-examples/tree/main/CrossPlatforms/tauri-example

 

blog-examples/CrossPlatforms/tauri-example at main · HanJaeJoon/blog-examples

Contribute to HanJaeJoon/blog-examples development by creating an account on GitHub.

github.com

https://tauri.app/v1/guides/building/windows

 

Windows Installer | Tauri Apps

Tauri applications for Windows are either distributed as Microsoft Installers (.msi files) using the [WiX Toolset v3] or starting with Tauri v1.3 as setup executables (-setup.exe files) using [NSIS]. The Tauri CLI bundles your application binary and additi

tauri.app

 

728x90

댓글