Amr Bashir
a5f045e527
fix(bundler): try to sign binaries only if targeting windows ( #11404 )
...
* fix(bundler): try to sign binaries only if targeting windows
closes #10505
* fmt
2024-10-20 08:56:41 -03:00
Orvar Segerström
019f94f128
fix(nsis): properly handle Webview2 download return value ( #11131 )
2024-09-26 02:38:57 +03:00
Amr Bashir
298f8ca584
feat(bundler/nsis): store main binary name to be used in registry for future updates ( #10952 )
...
* feat(bundler): store main binary name to be used in registry for furture updates
* revert wix changes as leftover binaries are fixed by https://github.com/tauri-apps/tauri/pull/10967
2024-09-13 16:08:51 +03:00
Fabian-Lars
2e87e85f85
fix(core): Use productName for FileDescription ( #10976 )
2024-09-12 20:51:46 +03:00
Amr Bashir
14443a1319
refactor(updater/wix): launch app after update, maintain args ( #10966 )
...
* refactor(updater/wix): launch app after update, maintain args
* change files
2024-09-12 16:07:04 +03:00
Fabian-Lars
297cd55c44
fix: Fix bundler&cli MSRV ( #10499 )
...
* chore(deps) Update Tauri Bundler
* ci: Also check bundler and cli in msrv check
* fix
* 1
* 2
* 3
* msrv
* downgrade handlebars again
* x
* x
* x
* x
* x
* x
* this makes no sense
* srsly wtf
* me dumb dumb
* bufreader
* x
* x
* changefile
* fix permissions
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-08 16:50:13 -03:00
Fabian-Lars
0aa0378c8d
feat(cli): add macos hardened runtime signing config option ( #9318 ) ( #10199 )
...
* feat(cli): add macos signing config option
* rename option to hardened_runtime
* chore(cli): use default true in hardened runtime config
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-07-08 15:51:20 +03:00
Amr Bashir
1c2ff81335
fix(bundler): update nsis_tauri_utils to 0.4.1 ( #10183 )
2024-07-08 13:34:15 +02:00
Fabian-Lars
4bffa5cff0
fix(core): fix compilation when shell-execute or shell-sidecar ( #10174 )
...
* fix(core): fix compilation when `shell-execute` or `shell-sidecar` (#9729 )
* fix(core): fix compilation when `shell-execute` or `shell-sidecar`
regression from: https://github.com/tauri-apps/tauri/pull/9706
* change file
* lint
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-07-02 07:38:46 -03:00
Harry Mallon
924387092e
feat: add dmg settings, cherry picked from #7964 ( #8334 )
...
* feat(bundler): add dmg settings, closes #4669 (#7964 )
* fix(bundler): lint and cleanup for #7964 (#8275 )
* fmt
---------
Co-authored-by: Andrew <andrey255@live.com >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-06-17 13:25:12 +02:00
anatawa12
940aa183c7
fix(nsis): run app as normal user ( #9944 ) ( #9995 )
...
(cherry picked from commit 6f469534b0 )
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
2024-06-06 15:00:23 +02:00
Pylogmon
8b66174f0d
fix(bundler): fix error when renaming the downloaded zip of NSIS ( #9956 )
2024-06-05 04:47:03 +03:00
Pylogmon
78fc841370
feat(bundler): add provides, conflicts and replaces for deb and rpm ( #9942 )
...
Backport of #9331
2024-06-04 04:47:17 +03:00
AnthonyNGarcia
a301be52d2
fix(windows): Fix Windows System User build failures by using the current directory for bundling tools (fix: 9895) ( #9914 )
...
Co-authored-by: amrbashir <amr.bashir2015@gmail.com >
2024-06-03 21:45:44 +03:00
muwoo
5909662766
feat(bundler): support custom sign command on Windows ( #9902 )
2024-06-03 21:34:49 +03:00
Harry Mallon
253595a22d
feat(bundler): Add RPM packaging, closes #4402 ( #5202 ) ( #9809 )
...
* feat(bundler): Add RPM packaging
* feat(bundler): Update 'rpm' to 0.13.1
* Fix fmt
Co-authored-by: Olivier Lemasle <olivier.lemasle@apalia.net >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-05-28 22:31:29 -03:00
Fabian-Lars
a020828d0e
feat(bundler/windows): Update wix to fix vulnerabilities and add arm support ( #9861 )
...
* feat(bundler/windows): Update wix to fix vulnerbilities and add arm support
* is this what it's complaining about?
* delete change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-28 22:31:16 -03:00
Enkhjil Enkhbaatar
ab9ec42c10
fix(windows): nsis failed to resolve resources with $ in their name, closes #9657 ( #9659 )
2024-05-08 20:32:09 +03:00
Fabian-Lars
db9ec4e79c
ci: fix msrv check ( #9682 )
...
* ci: fix msrv check
2024-05-06 21:59:34 +02:00
Amr Bashir
b8fd8e1bac
refactor(nsis): use nsis's built-in com plugin instead of ApplicationID plugin ( #9606 )
...
* Use WinShell instead of ApplicationID
* Uninst shortcut before removing start menu one
* Use nsis's buit-in com plugin instead of WinShell
* Remove download ApplicationID code
* Add change file
* Clippy and format
* Allow dead code on extract_zip
* Qualify extract_zip path to make clippy happy
* Move macro up
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
2024-04-30 15:11:00 +03:00
Amr Bashir
0749a84ae0
chore(cli/deps): update nsis-tauri-utils to 0.3 ( #9605 )
2024-04-30 13:05:08 +02:00
Fabian-Lars
dbe81b8410
fix(bundler/nsis): Don't use /R flag on installation dir ( #9282 )
2024-03-27 00:55:57 +02:00
Fabian-Lars
017861e4d5
fix(bundler): Fix nsis resource paths on non-windows build systems. ( #9281 )
...
* fix(bundler): Fix nsis resource paths on non-windows build systems.
* remove leftover from alternative
2024-03-27 00:40:29 +02:00
bifs
5163861588
fix(bundler): escape potentially problematic strings in an XML ( #9040 )
...
* fix(bundler): escape potentially problematic strings in an XML (#9030 )
- replace characters invalid in XML with their escaped form to properly bundle resources with such characters in their pathnames.
* change file
2024-03-04 21:08:12 +02:00
Amr Bashir
b0f27814b9
fix(cli): map --profile dev to debug folder when finding executable ( #8776 )
2024-02-05 16:12:08 +02:00
Amr Bashir
8ce51cec3b
feat: retain cli args when relaunching after update, closes #7402 ( #7718 )
...
* feat: retain cli args when relaunching after update, closes #7402
* 1.61 compatible OsString join
* fix msi impl as well
* fix tests
* Update .changes/tauri-bundler-nsis-args.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
* Update .changes/tauri-updater-retain-args.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
* more typos
* fix update args
* pull args from Env
* check if not empty
* pin memchr
* Update core.rs
* Update core.rs
* move /args
* fix build
* lint
* more lints
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
2024-01-31 16:02:48 -03:00
Naman Garg
7aa30dec85
feat: Add Section, Priority and Changelog options ( #8620 )
...
* Init section, priority and changelog
* Add section. priority and changelog support
* fix variable name
* Add .changes file
* Fix Formatting
* Apply suggestions from code review
2024-01-17 04:21:46 +02:00
Naman Garg
4926648751
deps: Libflate to flate2 ( #8618 )
...
* Replace libflate with flate2
* Add .changes file
* Cargo fmt
2024-01-16 15:52:19 +02:00
Naman Garg
6bdba1f330
fix(bundler/deb): use lintian-compliant permissions , closes #7992 ( #8585 )
2024-01-15 18:08:07 +02:00
Jason Tsai
89911296e4
feat(bundler): codesign nested code on macos ( #8259 )
...
* feat(bundler): codesign nested code on macos
* chore: update changelog tag
* typo
* also sign stuff in the Libraries folder
tested this for spacedrive, which has a bunch of dylib inside the libraries folder
* Update .changes/mac-bundler-nested-code-sign.md [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-12-28 13:58:24 -03:00
Amr Bashir
b44e9c0fcb
feat(bundler): redownload outdated/mis-hashed files ( #8431 )
...
* feat(bundler): redownload outdata/mis-hashed files
* change import location
* Update util.rs
* Update util.rs
* Update bundler-mishashed-files.md
* Update bundler-mishashed-files.md
* rename fn
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-12-20 12:46:19 -03:00
Amr Bashir
5ff9d4592a
fix(bundler/nsis): only kill processes of current user ( #8390 )
...
* fix(bundler/nsis): only kill processes of current user
Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev >
* change file
---------
Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev >
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-12-13 18:57:32 +02:00
Amr Bashir
777ddf434a
fix(bundler): unset NSISDIR and NSISCONFDIR when running makensis ( #8376 )
...
closes #8359
2023-12-12 12:17:03 +02:00
i-c-b
977a39f4f7
fix(bundler): migrate WebView2 offline installer to shorturl ( #8292 )
2023-11-29 03:51:42 +02:00
Fabian-Lars
f26d9f0884
fix(bundler/nsis): remove empty resources folders on uninstall ( #8263 )
...
* fix(bundler/nsis): remove empty resources folders on uninstall
* make clippy happy for once
2023-11-20 14:43:47 +02:00
Fabian-Lars
92bc7d0e16
fix(bundler/nsis): calculate estimated size on build system ( #8233 )
...
* fix(bundler): Fix nsis installer taking longer than expected to install resources
* create dir structure for resources before extracting files
* calculate size in rust on the build system
* i'm sorry clippy, i programmed in unholy languages where += wasn't a thing so i forgot it exists in rust...
* i'm a better clippy than clippy🌚
2023-11-15 20:53:15 +02:00
Olivier Lemasle
1d5aa38ae4
fix(cli): Fixes errors on command output, closes #8110 ( #8162 )
...
Fixes #8110
2023-11-09 15:34:16 -03:00
Johannes Velde
cfe6fa6c91
feat(lang) added german language ( #8061 )
2023-10-19 22:47:34 +00:00
Lucas Fernandes Nogueira
3880b42d18
feat(bundler): enhance notarization error message ( #7974 )
2023-10-19 15:56:20 +00:00
Olivier Lemasle
2da043f04d
fix: improve French translations for nsis installer (cherry-pick #7523 on 1.x) ( #8058 )
...
Co-authored-by: Stanislas Michalak <stanislas-m@users.noreply.github.com >
2023-10-19 10:48:16 -03:00
Lucas Fernandes Nogueira
be8e5aa307
fix(cli): duplicated newlines on child process output ( #8042 )
2023-10-18 15:29:12 +00:00
Amr Bashir
d6e10e216e
chore: rename webview2 offline installer guid consts for more clarity ( #8001 )
2023-10-16 09:13:32 -03:00
Olivier Lemasle
113bcd7b68
fix(bundler): In .deb packages, set uid=0 for all files ( #7980 )
2023-10-16 08:33:06 -03:00
Caijinglong
d0ae67503c
fix(bundler): read proxy when downloading resources. ( #8012 )
...
* fix(bundler): read http_proxy env when downloading resources.
Signed-off-by: CaiJingLong <cjl_spy@163.com >
* Update .changes/add-proxy-for-nsis-download.md
* Update add-proxy-for-nsis-download.md
* Update tooling/bundler/src/bundle/windows/util.rs
---------
Signed-off-by: CaiJingLong <cjl_spy@163.com >
2023-10-13 15:06:34 +03:00
i-c-b
f552c1796a
fix(bundler): WebView2 offline installer GUID changes ( #7998 )
2023-10-11 10:50:21 +00:00
Lucas Fernandes Nogueira
40d340021c
fix(bundler): team ID is now required for notarytool via app password ( #7972 )
2023-10-06 14:33:49 -03:00
Jason Tsai
d6eb46cf11
fix(macos): fix notraytool's apple-id option name, close #7917 ( #7934 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2023-10-02 11:30:39 -03:00
Trey Smith
dcdbe3eb6c
fix: codesign doesn't sign frameworks or sidecar, closes #7690 ( #7774 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-09-15 12:09:10 -03:00
Trey Smith
2f8881c010
feat: add team_id option for apple notarization ( #7775 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-09-15 08:30:27 -03:00
Jason Tsai
e3bfb01411
feat(nsis): support choosing compression algorithms, closes #7685 ( #7776 )
2023-09-07 18:45:15 +03:00