Jet Li
ca977f4b87
fix(bundler/nsis): revert shell context change before deleting appdata, closes #7588 ( #7591 )
...
* fix(bundler/nsis): delete app data of current user when uninstall, closes #7588
* fix(bundler/nsis): delete app data of current user when uninstall, closes #7588
* Update .changes/fix-nsis-uninstall-delete-app-data.md
---------
2023-08-15 18:59:44 +03:00
Graeme McHale
10e362d098
feat: allow more flexible http requests in updater closes #7422 ( #7432 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-10 07:23:52 -03:00
Isaac Cambron
eeb6be5422
feat(core): Manager::emit_filter and optimize serialization ( #7512 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-08 16:57:30 -03:00
Amr Bashir
a6b52e44f2
fix(tauri-utils): include \n
in io::read_line
, closes #6388 ( #6519 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(tauri-utils): include `\n` in `io::read_line`, closes #6388
2023-08-08 16:43:19 -03:00
Alejandro González
9edebbba4e
fix(driver): bump locked dependencies to fix build issue on Windows ( #7475 )
2023-08-08 15:46:32 -03:00
Fabian-Lars
cb1d4164e7
fix(bundler): sign the exe before the bundler step ( #7487 )
2023-08-08 15:16:00 -03:00
Amr Bashir
6c408b736c
feat: add notification sound ( #7269 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-08 15:09:04 -03:00
Jet Li
57f73f1b6a
fix(bundler/nsis): use temp dir for webview2 installer, closes #7409 ( #7486 )
...
* fix(bundler/nsis): use temp dir for webview2 installer, closes #7409
* Update .changes/fix-nsis-webview2-installer-use-tempdir.md
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-25 17:29:59 +03:00
Alejandro González
2d35f937de
fix(bundler): do not skip updater bundle target if only a macOS DMG is generated ( #7481 )
2023-07-24 09:27:11 -03:00
Lucas Fernandes Nogueira
4dd4893d7d
feat: allow specifying a resource map, closes #5844 ( #5950 )
...
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
closes #5844
2023-07-13 18:28:52 -03:00
Fabian-Lars
290e366ae9
fix(build): Copy wv2 runtime in dev, fixes #7373 ( #7419 )
2023-07-13 14:34:31 -03:00
Lucas Fernandes Nogueira
c98273387c
feat(core): enhance readDir error message, closes #7379 ( #7416 )
2023-07-13 08:00:51 -07:00
Amr Bashir
2eab150563
feat(api/http): properly handle Files in Body.form, closes #7390 ( #7394 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7390
2023-07-13 08:58:21 -03:00
Amr Bashir
fdaee9a5ce
feat(core/plugin): add register_uri_scheme_protocol
, closes #7330 ( #7350 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7330
2023-07-12 16:49:32 -03:00
Amr Bashir
a2be88a21d
refactor: remove bitness
crate from bundler ( #7405 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 07:38:25 -03:00
Amr Bashir
764968ab38
feat(bundler/nsis): sign uninstaller, closes #7348 ( #7398 )
...
* feat(bundler/nsis): sign uninstaller, closes #7348
* Update bundler-nsis-sign-uninstaller.md
* clippy
2023-07-11 15:54:59 +03:00
Amr Bashir
757e959eb2
feat: respect base
tag's target
attribute, closes #7285 ( #7344 )
...
* feat: respect `base` tag's `target` attribute, closes #7285
* Update core.js
* fix condition
2023-07-11 15:11:23 +03:00
Amr Bashir
fa7f9b77ab
fix(core/updater): set max_redirections
of 5, closes #7329 ( #7341 )
...
* fix(core/updater): set `max_redirections` of 5, closes #7329
* Update .changes/updater-redirect.md
2023-07-11 15:08:53 +03:00
Lucas Fernandes Nogueira
eeff1784e1
chore(deps): update unmaintained dependency from kuchiki to kuchikiki ( #7359 ) ( #7367 )
...
Co-authored-by: Davide Baldo <davide@baldo.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-11 19:19:13 +09:00
luofei
eba8e1315e
fix(bundler/nsis): fix installer incorrect copyright info ( #7386 )
...
Signed-off-by: luofei <luoffei@outlook.com>
2023-07-10 14:56:13 +03:00
Amr Bashir
6e36ebbf84
fix(nsis): set correct ShellVarContext
for uninstaller, closes #7315 ( #7342 )
2023-07-10 14:46:15 +03:00
luofei
32218a6f8c
fix(bundler/nsis): use uninstallstring to find wix installation ( #7326 )
...
* add change file
Signed-off-by: luofei <luoffei@outlook.com>
* fix(bundler/nsis): Check if the previous installation was done using WiX
Signed-off-by: luofei <luoffei@outlook.com>
* Update .changes/fix-nsis-previous-installation-method.md
---------
Signed-off-by: luofei <luoffei@outlook.com>
2023-07-08 04:26:40 +03:00
luofei
0ae53f4139
fix(bundler/nsis): fix error message appears even after successful uninstall, closes #7317 ( #7361 )
...
* fix(bundler/nsis): Uninstall the previous installation package
* Update .changes/fix-nsis-uninstall-previous-version.md
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-08 03:43:35 +03:00
Amr Bashir
46df2c9b91
fix(bundler): sort package types before bundling, closes #7349 ( #7360 )
...
fix(bundler): sort package types before bundling, closes #7349
2023-07-05 17:17:31 -03:00
Fabian-Lars
dad4f54eec
fix(cli): Disable version check, fixes #7273 ( #7277 )
2023-06-21 19:19:31 +08:00
Raphii
1a3dcdb830
fix(core): fix nsis updater unable to launch installers requiring elevation, closes #7184 ( #7185 )
...
* Launch NSIS updaters requiring elevation from non-elevated process
* Add changes file
* remove detached process, use powershell
* Update updater-admin-launch-fix.md
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 18:11:16 +03:00
github-actions[bot]
4b3d66c793
Apply Version Updates From Current Changes (v1) ( #7234 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 10:45:52 -03:00
Amr Bashir
6afd34727f
fix(core): revert #6680 , remove default notification sound on Windows ( #7229 )
...
fix(core): revert #6680 , remove default notification sound on Windows
2023-06-17 09:18:16 -03:00
Amr Bashir
066c09a6ea
fix(core): fix require_literal_leading_dot
flipped behavior ( #7227 )
2023-06-17 09:17:36 -03:00
github-actions[bot]
b7ae725c5e
Apply Version Updates From Current Changes ( #6901 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-14 12:59:28 -03:00
Lucas Fernandes Nogueira
bd96edd2b9
fix: bump macros, codegen and build crates with minor ( #7203 )
2023-06-14 12:09:11 -03:00
Lucas Fernandes Nogueira
c1d36e4953
chore: remove duplicated crate in change file ( #7198 )
2023-06-14 15:05:44 +03:00
Amr Bashir
d75c1b829b
fix(cli): warn about bundling updater target without appropriate targets, closes #7181 ( #7189 )
...
* fix(cli): warn about bundling updater target without appropriate targets, closes #7181
* change tags
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-14 02:14:35 +03:00
Lucas Fernandes Nogueira
696d77c3ce
fix(core): global events now reaches window listeners, closes #4493 ( #7163 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-13 08:05:58 -03:00
Fabian-Lars
5d85d0990c
fix(core): Send updater status events when default dialog is enabled, closes #7128 ( #7157 )
2023-06-13 08:05:42 -03:00
Amr Bashir
076e1a81a5
fix(core): use u32
for js listeners ids, closes #7119 ( #7159 )
2023-06-07 17:54:04 -03:00
Amr Bashir
fc2e4083b0
ci: check for change tag ( #7149 )
...
* ci: check for change tag
* fix workflow
* Update .scripts/ci/check-change-tags.js
* feat: also check if tag is known
seems like covector does not check that so we can do it here for now
* remove push run
* only check changed files
* add missing tag
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-07 16:32:36 +03:00
Lucas Fernandes Nogueira
1d99f8a3c2
feat(core): expose test utils ( #4752 )
2023-06-07 10:22:14 -03:00
Fabian-Lars
db7c5fbf2e
refactor(core): Remove attohttpc in favor of reqwest ( #7143 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 13:29:52 -03:00
Lucas Fernandes Nogueira
52474e479d
feat(cli): enhance Cargo features injection, add tests ( #7141 )
2023-06-06 13:29:28 -03:00
Amr Bashir
b41b57ebb2
fix(core): avoid panics in global shortcut, closes #7105 ( #7136 )
2023-06-05 16:43:44 -03:00
Amr Bashir
0503eb69ce
fix(core): account for data:
uri when calculating origin, closes #7078 ( #7133 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-06-05 09:47:21 -03:00
Reupen Shah
85e77fb797
fix: correct MIME type of .txt files (ref: #6762 ) ( #7111 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-06-05 09:16:05 -03:00
fcfangcc
3327dd641d
fix(bundler/macos): clean up .app bundle if only .dmg is enabled #7081 ( #7116 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-06-05 08:49:37 -03:00
Raphii
4d4b72ba38
Fix missing quote in Japanese NSIS language file. ( #7086 )
...
* Update Japanese.nsh
* Create nsis-japanese-fix.md
* Update .changes/nsis-japanese-fix.md
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-06-03 13:08:10 +02:00
Fabian-Lars
0ddbb3a1dc
feat(cli): Build the CLI for Windows ARM64, closes #7015 ( #7098 )
...
* feat(cli): Build the CLI for Windows ARM64
* lockfile
2023-06-01 11:04:14 +08:00
Amr Bashir
000104bc3b
feat: add is_focused APIs, closes #6472 ( #6530 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-26 13:37:28 -03:00
Bo
17d5a4f51f
feat(core): early panic if the PNG icon is not RGBA, closes #6706 ( #6712 )
2023-05-26 15:26:21 +08:00
Pascal Sommer
d68a25e32e
Improve compile errors for async commands without Result
return type ( #6124 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-26 01:04:30 -03:00
Jonas Kruckenberg
6c5ade08d9
feat(cli.rs) Shell completions ( #4537 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-25 11:34:37 -03:00
Amr Bashir
1b8001b8b8
fix(bundler/nsis): calculate accurate app size, closes #7056 ( #7057 )
2023-05-25 11:34:05 -03:00
Tomáš Diblík
c4d6fb4b1e
feat(core): Ability to disable minimize/maximize/close native window's buttons, closes #2353 ( #6665 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-24 17:23:32 -03:00
Lej77
65fd674f50
fix: sound for notifications on windows ( fix #6652 ) ( #6680 )
2023-05-24 17:20:13 -03:00
Francis The Basilisk
35cd751adc
feat(bundler): custom desktop file template, closes #5176 ( #5180 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-24 16:04:54 -03:00
Amr Bashir
ff5e4dbbb0
fix(core): populate webview_attrs from config, closes #6794 ( #6797 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-24 15:39:51 -03:00
Amr Bashir
df89ccc191
feat(nsis): implement passive
mode, closes #6955 ( #6998 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-24 14:16:12 -03:00
Amr Bashir
60334f9e02
feat(bundler/NSIS): uninstall previous wix if exist, closes #6859 ( #6933 )
2023-05-24 13:33:30 -03:00
Amr Bashir
359058cecc
feat(api): add locale
function, closes #5939 ( #5960 )
2023-05-23 16:02:33 -03:00
Amr Bashir
45330e3819
fix(core): rewrite asset
protocol streaming, closes #6375 ( #6390 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-23 15:30:31 -03:00
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
Amr Bashir
8b9f6cf868
chore: add change tags for existing change files ( #7041 )
2023-05-23 18:56:47 +03:00
Amirhossein Akhlaghpour
4c39e46a3b
feat: current_version feature ( #7026 )
...
* feat: reexport webview_verion
* chore: clippy problems
* fix: add .changes md file
* Update .changes/add-webview-version.md
2023-05-23 18:35:49 +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
3cb7a3e642
fix(cli/devserver): inject autoreload into HTML only, closes #6997 ( #7032 )
2023-05-23 17:39:11 +03:00
Nathanael Rea
fb7ef8dacd
fix(cli.js): detect node-20 binary ( #6667 )
...
* fix nodejs binary regex
* Update clijs-node-version-20.md
2023-05-23 01:09:49 +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
Amr Bashir
5ec6353a60
refactor: change package names to match published packages ( #6795 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-22 12:52:44 -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
yutotnh
2b487c9467
Fix typo ( #7012 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-20 08:24:07 -03:00
Lucas Fernandes Nogueira
1253bbf7ae
fix(cli): correctly remove Cargo features ( #7013 )
2023-05-20 00:12:11 -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
Fabian-Lars
c7056d1b20
fix(cli): improve vs build tools detection ( #6982 )
...
* fix(cli): improve vs build tools detection
* clean up
* typos
* changefile
* patch instead of minor
* update vswhere
* use vswhere instead of custom logic. update wording
* sort and dedup manually
2023-05-18 22:47:28 +03:00
Amr Bashir
acc36fe117
feat(core): add option for require_literal_leading_dot
, closes #6158 ( #6969 )
...
* feat(core): add option for `require_literal_leading_dot`, closes #6158
* change to `Option<bool>`
* fix to tokens impl
* Apply suggestions from code review
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
---------
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
2023-05-18 16:11:50 +03: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
Amr Bashir
fd3b5a16b1
fix(cli): find correct binary when --profile
is used, closes #6954 ( #6979 )
...
* fix(cli): find correct binary when `--profile` is used, closes #6954
* clippy
2023-05-17 16:17:47 +03:00
Amr Bashir
82169e69fc
fix(core): remove trailing slash in http scope url, closes #5208 ( #6974 )
...
* fix(core): remove trailing slash in http scope url, closes #5208
* fix tests
* one more tests fix
* clippy
2023-05-17 14:33:10 +03:00
Amr Bashir
aecf146909
fix(core/ipc): access url through webview native object, closes #6889 ( #6976 )
2023-05-17 14:32:45 +03:00
Fabian-Lars
d2710e9d2e
fix(core): unpin all dependencies, closes #6944 ( #6966 )
2023-05-16 19:27:15 +08:00
Amr Bashir
3700793a2f
fix(updater): emit UPTODATE
when server responds with 204, closes #6934 ( #6970 )
2023-05-16 13:00:00 +08: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
e0c30a7e8b
refactor: use const instead of a function ( #6958 )
2023-05-14 17:03:40 -03:00
Jack Wills
441f964654
feat(core/tauri): add try_get_item
for SystemTray and WindowMenu, closes #5491 ( #6408 )
...
* feat: try_get_item() for window menu
Add a method in the MenuHandle struct, that will return an Optional MenuItemHandle
feat: try_get_item() for systemtray
Add a method in the SystemTrayHandle struct, that will return an Optional SystemTrayMenuItemHandle
docs: features documented in ./changes/minor.md
fix: suggested changes
fix CI
* Update .changes/tray_get_item.md
---------
2023-05-12 16:15:36 +03:00
Guilherme Oenning
7c23720920
feat: add tauri::version
, similar to getTauriVersion
available on JS API ( #6546 )
...
Signed-off-by: goenning <me@goenning.net>
Apply suggestions from code review
2023-05-12 15:36:31 +03:00
Amr Bashir
dc682155de
fix(core): Fix WindowBuilder::on_navigation
handler never registerd, closes #6865 ( #6921 )
...
* fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
* clippy
2023-05-12 14:03:42 +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
Amr Bashir
2b47426be8
chore: explain covector tags ( #6923 )
2023-05-09 21:59:01 +03:00
Amr Bashir
aa2a30e96b
chore: setup covector change tags/sections/groups ( #6920 )
...
![image](https://github.com/tauri-apps/tauri/assets/48618675/ac4f22dd-630d-4bfc-8966-48d19492593f )
2023-05-09 17:45:50 +03: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
Lucas Fernandes Nogueira
2659ca1ab4
feat(cli): add rustls
as default Cargo feature ( #6900 )
2023-05-08 09:29:17 -03:00
github-actions[bot]
73a0ad41c7
apply version updates ( #6858 )
...
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
2023-05-08 18:51:23 +08: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
github-actions[bot]
bf804657f5
Apply Version Updates From Current Changes ( #5815 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-05-03 08:19:06 -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