다음 명령어를 통해 간단히 패키징 할 수 있다.
pnpm tauri build
아래 경로에 exe 파일이 만들어진다.
여기서 Tauri의 강점인 작은 번들 사이즈를 확인할 수 있다.
init 후 바로 빌드한 용량이 5.16MB 정도다.
installer를 원한다면 bundle 폴더를 확인하면 된다.
- bundle/msi: .msi installer
- bundle/nsis: .exe 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
'Programming > Cross-platform' 카테고리의 다른 글
[Tauri] React에서 Tauri event handling 하기 (0) | 2024.05.08 |
---|---|
[Flutter] Flutter Windows 빌드 (0) | 2024.04.12 |
[MAUI] 다른 페이지로 이동하기 (0) | 2024.03.07 |
[MAUI] 생체인증 라이브러리 적용하기 (0) | 2022.09.05 |
댓글