Commit Graph

252 Commits

Author SHA1 Message Date
Amr Bashir
17da87d3cd
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
* fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036

* cleanup

* lint

* return err instead of panic

* Update .changes/nsis-encoding.md [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-23 19:00:21 +03:00
Usman Rajab
43858a3197
feat(bundler/NSIS): Add Swedish to supported NSIS languages (#7038) 2023-05-23 17:41:40 +03:00
Amr Bashir
af93729031
fix: add missing file properties on Windows, closes #6676 (#6693)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-05-22 16:34:33 -03:00
Gökçe Merdun
ac183948d6
feat(bundler/NSIS): Add Turkish to supported NSIS languages (#7018) 2023-05-21 19:15:17 +03:00
Soumt
61e3ad89e9
feat(bundler/NSIS): Add Korean to supported NSIS languages (#7010)
* Feat: Add Korean language

* fmt
2023-05-20 01:49:20 +03:00
Simon Hyll
fc7f9ebada
feat: adding copyright text to BrandingText (#7001) 2023-05-19 19:42:24 +08:00
Risto Stevcev
0302138f2f
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
* Updated appimage script to follow symlinks for /usr/lib*

* Added appimage-follow-symlinks change file
2023-05-19 13:22:22 +08:00
Amr Bashir
cd3846c8ce
feat(nsis): restart app after updating, closes #6955 (#6987)
* feat(nsis): restart app after updating, closes #6955

* Apply suggestions from code review
2023-05-18 16:11:31 +03:00
Fabian-Lars
2b26b2e611
fix(bundler): Add new lang_file option in persian variant. (#6972) 2023-05-16 15:33:08 +03:00
Amirhossein Akhlaghpour
21d5eb84ab
feat: add Persian language to NSIS installer (#6965) 2023-05-16 12:58:30 +08:00
Amr Bashir
3cc295e997
fix(nsis): prefill $INSTDIR with previous install path and respect /D flag, closes #6928 (#6935)
* fix(bundler/nsis): prefill $INSTDIR with previous install path

* fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
2023-05-15 18:14:15 +03:00
Amr Bashir
2948820579
feat(bundler/NSIS): allow specifying custom lang files (#6867)
* feat(bundler/NSIS): allow specifying custom lang files

* add dunc as dep on all platforms

* clippy

* Update tooling/bundler/src/bundle/windows/nsis.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update core/tauri-utils/src/config.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* schema files

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-15 18:11:10 +03:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Pierre Cashon
2c1fd570f8
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
* fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)

* fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
2023-05-12 15:52:26 +03:00
Amr Bashir
e092f79946
feat(bundler/nsis): allow specifying custom template, closes #6887 (#6922) 2023-05-12 14:02:07 +03:00
nathan-fall
b257bebf9e
feat(bundler): Add Japanese to supported NSIS languages, ref #6906 (#6940) 2023-05-11 09:50:35 +02:00
hanaTsuk1
bf49a7679a
update bundler nsis template(SimpChinese, TradChinese) (#6939) 2023-05-11 14:30:13 +08:00
Raphii
540ddd4e6a
feat(bundler): Add Dutch to supported NSIS languages, ref #6906 (#6907)
* Add Dutch to supported NSIS languages

* Added change file

* Reference Dutch language in nsis bundler

* Fix formatting
2023-05-09 15:37:05 +02:00
chip
24490bca19
use handlebars::no_escape instead of closures (#6899) 2023-05-08 08:39:54 -03:00
Lucas Nogueira
4585a1cbb0
Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
LuisFerLCC
422b481798
Add Spanish and SpanishInternational languages (#6871) 2023-05-06 16:25:10 +08:00
Fabian-Lars
6a6b1388ea
fix(bundler): correctly escape resource xml, fixes #6853 (#6855) 2023-05-04 09:10:33 -03:00
Fabian-Lars
2915bd068e
fix(bundler): Fix webview install modes in NSIS bundler (#6854) 2023-05-04 19:27:27 +08:00
Lucas Fernandes Nogueira
93452b791a
feat(bundler): download NSIS zip from tauri-apps/binary-releases (#6838) 2023-05-02 16:36:33 -03:00
Lucas Fernandes Nogueira
6d6b6e653e
feat: configure escaping on handlebars templates (#6678)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-05-02 09:59:59 -03:00
Kárándi Tamás
51460340bf
fix: copy failure in NSIS bundler #6743 (#6744) 2023-04-19 19:42:38 -03:00
Lucas Fernandes Nogueira
2d5378bfc1
refactor(core): move dialog API to its own plugin (#6717) 2023-04-18 22:18:22 -03:00
Lucas Nogueira
55900a2968
Merge branch 'dev' into next 2023-04-03 09:58:27 -03:00
afa
7489f96697
fix(bundler): fix problem of macOS bunder while i18n is set, closes #6614 (#6615)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-04-03 08:37:50 -03:00
Lucas Fernandes Nogueira
5e0c4489df
fix(bundler): enhance extract_zip security by using enclosed_name() (#6555)
See https://docs.rs/zip/0.6.4/zip/read/struct.ZipFile.html#method.enclosed_name
2023-03-31 10:05:44 -03:00
Lucas Fernandes Nogueira
8a1b1281ac
fix(ci): adjust publish cli.js workflow (#6500)
* fix(ci): enable openssl vendored feature for cli.js

* enable feature on CI

* add openssl dep

* avoid openssl on Linux

* vendored openssl on macOS CI

* fix dep install

* lint [skip ci]
2023-03-20 11:54:33 -03:00
Lucas Nogueira
bfd97a5802
Merge remote-tracking branch 'origin/dev' into next 2023-03-19 08:56:36 -03:00
passivedragon
2f70d8da2b
fix: symlink issue bundling for linux #5781 (#6391)
* bundler for linux: fix error on pre-existing links

* fix: symlink issue bundling for linux #5781
2023-03-17 15:03:40 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
Amr Bashir
9da996073f
fix(cli): fix printing paths on Windows (#6137) 2023-01-26 10:45:58 -03:00
renovate[bot]
ed6b81b29d
chore(deps) Update Rust crate toml to 0.6.0 (#6139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 09:32:34 -03:00
Fabian-Lars
b0d3128597
fix(bundler): NSIS: default to user permission level (#6135) 2023-01-26 09:24:57 -03:00
Amr Bashir
aff1fd2c7d
chore: update nsis-tauri-utils to 0.1.1 (#6136) 2023-01-26 09:16:43 -03:00
Fabian-Lars
36540ce3c3
feat(bundler): enable arm64 target for nsis bundle (#6070)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-23 18:32:45 -03:00
Ludea
275800a603
feat: add french support for nsis (#6114)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-23 18:29:27 -03:00
Amr Bashir
f29c56da8c
feat(NSIS): option to remove user data & uninstaller lang & fix RTL (#6129)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-23 18:25:01 -03:00
Amr Bashir
328583e12e
feat(bundler/nsis): migrate to nsis_tauri_utils (#6120)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-01-23 18:12:14 -03:00
Chris Ohk
26f306d65c
fix: Correct minor typos (#6132) 2023-01-23 18:10:42 -03:00
Golden Water
763f0bdcb0
feat: add Simplified Chinese support for nsis. (#6109)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-20 11:35:08 -03:00
DK Liao
27fa1022ee
feat: add Traditional Chinese support for nsis (#6111) 2023-01-20 11:11:18 -03:00
DK Liao
e601b9a790
fix: quick typo fix for nsis (#6112) 2023-01-20 11:10:31 -03:00
Fabian-Lars
60e6f6c3f1
feat(bundler): Add support for creating NSIS bundles on unix hosts (#5788)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 15:42:40 -03:00
Amr Bashir
35b587c830
feat: add languages support for nsis (#6039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 14:39:53 -03:00
Fabian-Lars
20ff1f4596
feat(bundler): Add support for numeric-only build numbers in msi version (#6096)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 22:30:44 -03:00
Fabian-Lars
01b876761a
fix(bundler): fix order of webview2 installer args in nsis bundle (#6042) 2023-01-16 22:35:22 -03:00
Amr Bashir
c94e1326a7
feat(bundler): add nsis, closes #4450, closes #2319 (#4674)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-03 14:29:20 -03:00
alesharik
ce76d95ab1
feat(tauri-cli): add dylib support to tauri.bundle.macOS.frameworks, closes #4615 (#5732)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-31 13:53:35 -03:00
Amr Bashir
89602cdce3
feat(bundler): check Launch app by default for WiX, closes #5859 (#5871) 2022-12-26 11:36:43 -03:00
Lucas Nogueira
015020760a
chore: fix clippy warnings 2022-12-15 18:03:28 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings 2022-12-15 17:56:23 -03:00
Lucas Fernandes Nogueira
9093ef3314
fix(bundler): blank taskbar icon on WiX update, closes #5631 (#5779) 2022-12-08 08:49:54 -03:00
Lucas Fernandes Nogueira
7aaf27ce5f
fix(bundler): load WiX DLLs on Github Actions (#5552) 2022-11-04 21:00:02 -03:00
Lucas Fernandes Nogueira
b41447b811
feat(ci): use Swatinem/rust-cache@v2 (#5547) 2022-11-04 18:26:30 -03:00
Amr Bashir
d4cac20292
fix(bundler): fix japanese lang code, closes #5342 (#5346) 2022-10-04 13:25:58 -03:00
Amr Bashir
a4aec9f0a8
feat(cli): expose TAURI_TARGET_TRIPLE to before*Commands, closes #5091 (#5101)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-03 16:11:06 -03:00
Lucas Fernandes Nogueira
7c0fa1f3f9
fix(bundler): clear env before calling wix, closes #4791 (#4819) 2022-10-03 14:43:34 -03:00
Amr Bashir
628285c1cf
feat(bundler): add publisher field, closes #5273 (#5283)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 13:42:26 -03:00
Josh Soref
8fd79b8fc0
Spelling (#4880)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-09-03 01:03:02 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Amr Bashir
4e8b122df6
refactor(cli/core/bundler): use absolute path for msiexec and powershell (#4884) 2022-08-08 18:59:59 -03:00
Lucas Fernandes Nogueira
d88b9de7aa
feat(core): add fips_compliant wix config option, closes #4541 (#4843) 2022-08-04 14:58:26 -03:00
Brian Li
024620529e
fix(bundler): cache appimage bundle tools (#4790)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-07-29 18:34:12 -03:00
Lucas Fernandes Nogueira
635f23b88a
fix(bundler): correctly set debian architecture for aarch64 (#4700) 2022-07-17 09:19:40 -03:00
Lucas Nogueira
89cb252640
fix(bundler): pin linuxdeploy version 2022-07-14 15:12:57 -03:00
Lucas Fernandes Nogueira
597c98203c
feat(bundler): use known Id for the sidecar files on WiX, ref #4546 (#4658) 2022-07-12 16:55:37 -03:00
Lucas Fernandes Nogueira
261d1bc9d4
feat(bundler): load WiX extensions used on fragments, closes #4546 (#4656) 2022-07-12 14:08:08 -03:00
Vinícius Miguel
bc370e3268
feat: reduce the amount of heck-related allocations (#4634)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-11 16:07:39 -03:00
Lucas Fernandes Nogueira
f7c59ecfc8
fix(bundler): support macOS 10.13.6+ on notarization, closes #4549 (#4593) 2022-07-05 09:04:40 -03:00
Lucas Fernandes Nogueira
23d3d847d1
fix(bundler): ensure RequestUUID and Status parser adds a \n, closes #4549 (#4559) 2022-07-03 21:36:33 -03:00
Robin van Boven
8dd03e69b0
fix(bundler): Build AppImages inside the target folder (#4521)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-03 18:24:03 -03:00
Lucas Fernandes Nogueira
3df6c8c645
feat(bundler): enable TLS 1.2 before downloading webview2 bootstrapper (#4543) 2022-06-30 18:07:11 -03:00
Robin van Boven
bf45ca1df6
fix(cli,bundler): prefer AppImage libraries with ABI version (#4505) 2022-06-28 23:45:36 -03:00
dswd
b0133083dd
Fix appimage creation in container when host has appimagelauncher enabled (#4457)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-27 10:36:37 -03:00
Lucas Fernandes Nogueira
956af4f30f
feat(bundler): validate wix toolset files, ref #4474 (#4475) 2022-06-26 18:00:33 -03:00
Lucas Fernandes Nogueira
2ca762d207
feat(bundler): extend webview2 installation options, closes #2882 #2452 (#4466)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-26 15:45:31 -03:00
Fabian-Lars
82eb6e79e8
fix(bundler): Fix appimage bundler crashing if path has spaces (#4471)
* fix(bundler): Fix appimage bundler crashing if path has spaces

* add changefile
2022-06-26 09:28:29 -03:00
Jiwon Choi
08a73acde8
fix(bundler): fix language code. closes #4437 (#4444)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-24 00:19:31 -03:00
Lucas Fernandes Nogueira
672174b822
feat(bundler): validate version before bundling with WiX (#4429) 2022-06-22 00:14:39 -03:00
Lucas Fernandes Nogueira
31c15cd2bd
docs(config): enhance documentation for bundle targets, closes #3251 (#4418) 2022-06-21 13:13:56 -03:00
Robin van Boven
aa0336d6c5
fix(bundler): ensure AppImage usr/lib is a dir (#4419)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-21 12:16:46 -03:00
Lucas Fernandes Nogueira
45076b3ede
refactor(bundler): use the plist crate to create and merge Info.plist (#4412) 2022-06-21 10:00:12 -03:00
yutotnh
cbceb7d6cf
fix: some typos (#4403)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-19 10:23:35 -03:00
Lucas Fernandes Nogueira
7be997b974
feat(core): set macOS app bundle name in development (#4381) 2022-06-17 13:54:31 -03:00
Lucas Fernandes Nogueira
76d1eaaebd
feat(cli): debug command output in real time (#4318) 2022-06-12 09:00:54 -03:00
Fabian-Lars
d335fae92c
feat(bundler): bundle additional gstreamer files, closes #4092 (#4271)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-10 16:20:37 -03:00
Didrik Nordström
c2b7c77517
fix: put linux high dpi icons in the correct dir (#4281) 2022-06-10 08:58:38 -03:00
Lucas Nogueira
084c079c4d
fix(bundler): build AppDir in the cache folder so the appimage works 2022-06-09 23:32:13 -03:00
Didrik Nordström
a6f45d5248
Debian icon no fallback, fixes #4280 (#4282) 2022-06-09 16:45:21 -03:00
Amr Bashir
f48b1b0b3b
feat(bundler): cache bundling tools in a common dir for all projects (#4305)
* feat(bundler): cache bundling tools in a common dir for all projects

* fix changefile

* fix linux

* linux again

* again

* again

* omg I could've reboot into my linux system

* I rebooted into my linux

* fix linux one more time

* finally

* -nc

* cleanup gitignores

* Revert "-nc"

This reverts commit 8d821c6c37.

* use -N on appimage's wget calls

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-09 16:16:33 -03:00
Lucas Fernandes Nogueira
3455244436
feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) 2022-06-07 11:48:29 -03:00
Fabian-Lars
53ae13d99a
fix(bundler): Pull correct 32bit linuxdeploy appimage, closes #4260 (#4269) 2022-06-04 17:55:18 -03:00
Lucas Fernandes Nogueira
2322ac11cf
fix(bundler): bundle /usr/bin/xdg-open in appimage if open API enabled (#4265) 2022-06-04 11:45:24 -03:00