Palash Bansal
27bad32d4d
feat: Add files field in macos build config, closes #3290 ( #7798 )
...
* Add appContents field in macos tauri config.
* Change MacConfig::appContents to MacConfig::files to make it similar to DebConfig::files.
* Change appContents to files in helloworld/tauri.conf.json
* use common::copy_dir helper
* add change files [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 12:10:50 -03:00
Amr Bashir
4f73057e6f
refactor!: match target triple for TAURI_ENV_ARCH
( #8486 )
...
* refactor!: match target triple for `TAURI_ENV_ARCH`
* fix build
* Update .changes/cli-hooks-env-vars-breaking.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* Update tooling/cli/ENVIRONMENT_VARIABLES.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 12:10:12 -03:00
Olivier Lemasle
091100acbb
feat(bundler): Add RPM packaging, closes #4402 ( #5202 )
...
* feat(bundler): Add RPM packaging
* feat(bundler): Update 'rpm' to 0.13.1
* Fix fmt
2023-12-23 18:38:15 +01:00
Lucas Fernandes Nogueira
7e4580afed
fix(cli): remove test only relevant to v1 branch, adjust migration test ( #8451 )
2023-12-20 18:35:50 -03:00
Fabian-Lars
41990cd344
fix(cli): Handle target triples with 4 components ( #8448 )
...
* fix(cli): Handle target triples with 4 components
Follow up of #8321 which broke the `TAURI_ENV_` vars for linux, windows and ios-sim
* use host for platform as is
* clippy
2023-12-20 14:14:49 -03:00
Fabian-Lars
0a2175eabb
fix(cli): expand globs in workspace member paths ( #8439 )
...
* fix(cli): Expand globs in workspace member paths
fixes #8403
* unusued import
* into_iter
* return error instead of of empty vec
* Update dev-watcher-glob.md
2023-12-20 15:57:10 +02:00
Lucas Nogueira
a9b87c057d
Merge branch '1.x' into dev
2023-12-19 13:52:53 -03:00
Amr Bashir
c1bc4d2948
chore(cli/help): mention the need for a second --
in tauri dev
( #8388 )
...
* chore(cli/help): mention the need for a second `--` in `tauri dev`
ref: https://github.com/tauri-apps/tauri/issues/8382#issuecomment-1854016310
* add example to clarify [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-14 09:20:52 -03:00
Sean Boult
803c3a794d
feat(cli): expose CLI signer flags as environment variables ( #8327 )
...
* feat(cli): expose signer flags as environment variables
* Update .changes/cli-signer-env-vars.md
2023-12-12 11:13:30 +02:00
Ananth
b6ca8885ff
feat(cli): improve error message with invalid target for build
( #8321 )
2023-12-12 00:06:43 +02:00
阿良仔
f78e5e4d4a
refactor: replace once_cell
with std::sync::OnceLock
( #8309 )
...
Our MSRV is currently 1.70 and these new types were introduced in 1.70
2023-11-29 01:12:03 +02:00
Lucas Fernandes Nogueira
32bf201655
fix(bundler): lint and cleanup for #7964 ( #8275 )
2023-11-20 21:09:01 -03:00
Andrew
b0c5b06d06
feat(bundler): add dmg settings, closes #4669 ( #7964 )
2023-11-20 18:26:02 -03:00
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives
mod to core
( #8273 )
2023-11-20 17:53:13 -03:00
Lucas Fernandes Nogueira
92b50a3a39
fix(cli): add support to Xcode's archive ( #8209 )
2023-11-13 22:35:43 -03:00
Lucas Fernandes Nogueira
977d0e52f1
fix(cli): IDE failing to read CLI options on build --open
commands ( #8202 )
2023-11-13 22:34:37 -03:00
Lucas Fernandes Nogueira
25e5f91dae
feat(cli): merge user-defined plist with the iOS plist file ( #8200 )
2023-11-13 21:12:44 -03:00
Olivier Lemasle
1d5aa38ae4
fix(cli): Fixes errors on command output, closes #8110 ( #8162 )
...
Fixes #8110
2023-11-09 15:34:16 -03:00
renovate[bot]
88ee0d8a04
chore(deps) Update Tauri CLI (dev) ( #8097 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-09 08:31:32 -03:00
Vitor Ayres
88dac86f3b
fix: (cli) format plugin string to snake case, closes #8017 ( #8149 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-07 22:56:39 -03:00
Lucas Fernandes Nogueira
bfbbefdb9e
fix(cli): invalid plugin template ( #8161 )
2023-11-07 22:56:21 -03:00
fetzsav
50f7ccbbf3
[feat (issue #6389 )] make tauri icon support SVGs ( #6444 )
...
Co-authored-by: Fetzer <fetz@fetzverse.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-11-07 09:58:01 -03:00
Lucas Fernandes Nogueira
01a7a983ab
feat(cli): transform paths into relative for the mobile IDE script ( #8128 )
2023-10-30 10:53:18 -03:00
Lucas Fernandes Nogueira
a635ec2345
feat(cli): add unit test for empty updater private key password ( #8096 )
2023-10-25 19:13:48 -03:00
Lucas Nogueira
c6c59cf237
Merge branch '1.x' into dev
2023-10-20 08:56:02 -03:00
renovate[bot]
5f75ebbbbb
chore(deps) Update Tauri CLI (1.x) ( #8051 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-20 02:26:11 +00:00
Lucas Fernandes Nogueira
9bead42dbc
feat(cli): allow rotating updater private key ( #8059 )
2023-10-19 15:43:48 +00:00
renovate[bot]
c90ee65dbf
chore(deps) Update Tauri CLI (dev) ( #7630 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-19 11:14:23 -03:00
Lucas Fernandes Nogueira
ebcc21e4b9
refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 ( #8057 )
2023-10-19 10:46:04 -03:00
Lucas Fernandes Nogueira
be8e5aa307
fix(cli): duplicated newlines on child process output ( #8042 )
2023-10-18 15:29:12 +00:00
renovate[bot]
94bef1c705
chore(deps) Update Tauri CLI (1.x) ( #7641 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:48:30 -03:00
Amr Bashir
99865d9e9a
refactor(cli): cleanup info command ( #7204 )
...
Co-authored-by: martin frances <martinfrances107@hotmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 13:09:59 -03:00
Amr Bashir
a63e71f979
refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri
module to primitives
( #7942 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Amr Bashir
8b166e9bf8
refactor!: consistent environment variables ( #7949 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:17:02 -03:00
Amr Bashir
2fe8782ad4
refactor: enhance the descriptions of CLI commands, closes #7572 ( #7952 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-16 09:44:23 -03:00
Amr Bashir
4caa1cca99
refactor(cli): enhance plugin subcommand, closes #7749 ( #7990 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-11 15:34:33 +00:00
Lucas Fernandes Nogueira
b2f17723a4
feat(cli): use devicetl to connect with iOS 17 devices ( #7971 )
2023-10-07 14:16:27 -03: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
Amr Bashir
1c9f3db916
chore: change tauri-mobile
to cargo-mobile2
( #7953 )
2023-10-05 19:30:56 +00:00
Lucas Fernandes Nogueira
d735324df0
fix(cli): deadlock regression from #7802 ( #7948 )
2023-10-03 11:46:20 -03:00
Lucas Fernandes Nogueira
228e5a4c76
fix(cli): icons not added to the Android project ( #7902 )
2023-09-26 15:22:23 -03:00
Fabian-Lars
d1858de7a0
fix(cli): help output mixed up for private-key and private-key-path ( #7901 )
2023-09-26 14:41:32 -03:00
Fabian-Lars
e8ff6b153e
docs: change icon
help output to ask for 1024px source icons, closes #7886 ( #7896 )
2023-09-25 14:44:27 +03:00
i-c-b
100d9ede35
fix(core): Correctly detect Android Tauri configuration file, closes #7785 ( #7802 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 13:18:23 -03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 ( #7808 )
2023-09-11 12:25:06 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme ( #7779 )
2023-09-07 19:57:16 -03:00
Jason Tsai
e3bfb01411
feat(nsis): support choosing compression algorithms, closes #7685 ( #7776 )
2023-09-07 18:45:15 +03:00
Lucas Fernandes Nogueira
974e38b4dd
refactor(cli): rename plugin add
command to add
( #7744 )
2023-09-07 07:34:36 -03:00
Lucas Fernandes Nogueira
8faa5a4a12
fix(cli): missing assets dir on iOS project when it is committed ( #7765 )
2023-09-06 17:22:39 -03:00
Lucas Fernandes Nogueira
964282a267
fix(cli): migration tests ( #7745 )
2023-09-06 13:43:17 -03:00
Colin McDonnell
e152662687
feat: support Bun package manager ( #7723 )
...
* Support bun
* clippy
2023-08-31 02:48:36 +03:00
i-c-b
13279917d4
enhance(cli): Add Cargo Tauri CLI version to tauri info
output ( #7713 )
...
* enhance(cli): Add Cargo Tauri CLI version to `tauri info` output
* Create enhance-cli-cargo-tauri-cli-version-info.md
2023-08-31 01:53:37 +03:00
renovate[bot]
d928d23cdb
chore(deps) Update Tauri Core - abandoned ( #5253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:41:00 -03:00
Amr Bashir
7fb419c326
refactor: move to muda
and tray_icon
crates ( #7535 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:25:50 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC ( #7170 )
...
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Lucas Fernandes Nogueira
8af2497496
feat(cli): automate API -> plugin migration ( #7561 )
2023-08-08 13:21:46 -03:00
Lucas Fernandes Nogueira
522de0e788
feat(core): allow a plugin build script to read the plugin config object ( #7447 )
2023-07-18 11:04:15 -03:00
Lucas Fernandes Nogueira
aa94f7197e
feat(ios): add empty entitlements file to iOS project ( #7445 )
2023-07-18 10:20:32 -03:00
Lucas Fernandes Nogueira
c7dacca466
feat(cli): expose iOS project path and app name as env vars ( #7446 )
2023-07-18 10:19:01 -03:00
Bo
3b98141aa2
feat: add file association support, closes #3736 ( #4320 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-07-16 18:34:43 -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
Amr Bashir
71a0240166
chore: remove hotkey.js script and replace var with const ( #7343 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 08:44:26 -03:00
清茶
907425df55
feat(cli): check cwd
for config file before traversing ( #7395 )
2023-07-11 18:29:15 +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
i-c-b
5eb8554331
fix(cli): Apple Dev Teams format for info::Section::Display ( #7282 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-06-24 08:30:34 -03:00
Fabian-Lars
38d0bed8eb
fix(cli): Split metadata.json per major version. ( #7276 )
2023-06-22 10:43:47 -03:00
Fabian-Lars
dad4f54eec
fix(cli): Disable version check, fixes #7273 ( #7277 )
2023-06-21 19:19:31 +08:00
Simon Hyll
c34e37b1f7
docs: added rustdoc icons ( #7253 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-19 21:51:05 -03:00
Lucas Fernandes Nogueira
6252380f44
fix(cli): kill beforeDevCommand
process if mobile dev command fails ( #7241 )
2023-06-17 14:10:01 -03:00
Lucas Fernandes Nogueira
655c714e41
fix(cli): do not panic on Ctrl+C on ios dev
( #7240 )
2023-06-17 14:09:37 -03:00
Amr Bashir
4847b87b10
fix(cli): handle npx
for mobile commands, closes #7209 ( #7218 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-16 12:28:57 -03:00
Lucas Fernandes Nogueira
cafaf69fd7
fix(ci): add missing license headers, adjust script to properly ignore ( #7216 )
2023-06-15 11:05:59 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next ( #7212 )
2023-06-15 09:52:33 -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
52474e479d
feat(cli): enhance Cargo features injection, add tests ( #7141 )
2023-06-06 13:29:28 -03:00
Fabian-Lars
3480047ec1
feat(cli): Build the CLI for Windows ARM64, closes #7015 ( #7098 ) ( #7106 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7015 (#7098 )
2023-06-06 09:21:57 -03:00
Lucas Fernandes Nogueira
647800c563
refactor(cli): use rewrite manifest logic on table entry ( #7134 )
2023-06-05 14:38:26 -03:00
Lucas Fernandes Nogueira
a50f24b2bd
Merge remote-tracking branch 'origin/dev' into next ( #7067 )
...
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937 )
Fix api.js docs pipeline with updated typedoc dependencies (#6945 )
closes #6887 (#6922 )
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921 )
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336 )
fix(cli): fix cli connection timeout to dev server (fix #6045 ) (#6046 )
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 )
closes #5491 (#6408 )
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935 )
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970 )
fix(core): unpin all dependencies, closes #6944 (#6966 )
fix(bundler): Add new lang_file option in persian variant. (#6972 )
fix(core/ipc): access url through webview native object, closes #6889 (#6976 )
fix(core): remove trailing slash in http scope url, closes #5208 (#6974 )
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979 )
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987 )
closes #6955
closes #6158 (#6969 )
closes #6158
fix(cli): improve vs build tools detection (#6982 )
fix: updated appimage script to follow symlinks for /usr/lib* (fix : #6992 ) (#6996 )
fix(cli): correctly remove Cargo features (#7013 )
Fix typo (#7012 )
fix(cli): revert metadata.json field rename from #6795 (#7029 )
closes #6732 (#6736 )
fix: add missing file properties on Windows, closes #6676 (#6693 )
fix(cli.js): detect node-20 binary (#6667 )
fix version-or-publish workflow (#7031 )
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032 )
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040 )
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390 )
closes #5939 (#5960 )
fix(core): use `safe_block_on` (#7047 )
closes #6859 (#6933 )
closes #6955 (#6998 )
fix(core): populate webview_attrs from config, closes #6794 (#6797 )
closes #5176 (#5180 )
fix: sound for notifications on windows (fix #6652 ) (#6680 )
close native window's buttons, closes #2353 (#6665 )
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057 )
fix(tests): only download update when it is available (#7061 )
closes #6706 (#6712 )
fix(doc): correct the doc of `content_protected()` (#7065 )
closes #6472 (#6530 )
fix(macros): use full path to Result to avoid issues with type aliases (#7071 )
2023-05-29 21:29:24 -03:00
Amr Bashir
1ed2600da6
fix(cli): set current dir to tauri dir before reading config, closes #6771 ( #6782 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(cli): set current dir to tauri dir before reading config, closes #6771
2023-05-26 13:45:20 -03:00
Lucas Fernandes Nogueira
735db1ce83
feat(cli/mobile/init): add --skip-targets-install
, ref #7044 #7058 ( #7062 )
2023-05-26 12:49:51 -03:00
Amr Bashir
a28fdf7ec7
feat(cli/mobile/init): skip installing already installed targets, closes #7044 ( #7058 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes #7044
2023-05-25 23:36:06 -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
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
Lucas Fernandes Nogueira
7e5905ae1d
feat(cli): plugin add
command ( #7023 )
2023-05-23 11:39:42 -03:00
Amr Bashir
3cb7a3e642
fix(cli/devserver): inject autoreload into HTML only, closes #6997 ( #7032 )
2023-05-23 17:39:11 +03:00
Lucas Fernandes Nogueira
a541820aa8
fix(cli): revert metadata.json field rename from #6795 ( #7029 )
2023-05-22 14:07:53 -03:00
Philipp Renoth
9770032860
feat(cli): improve logic to copy Rust library to iOS project Externals folder ( #6610 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-22 13:54:44 -03:00
Amr Bashir
3f4c4ce88b
fix(cli/android): fallback to all targets ( #7028 )
...
fix regression introduced in d03e47d141
2023-05-22 19:00:18 +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
Flysoft
aa6c9164e6
fix(cli): don't build library when building desktop targets, closes #7007 ( #7014 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-22 11:32:20 -03:00
Lucas Fernandes Nogueira
b0f947752a
feat(cli): add migrate command ( #7008 )
2023-05-20 20:28:46 -03:00
Lucas Fernandes Nogueira
1253bbf7ae
fix(cli): correctly remove Cargo features ( #7013 )
2023-05-20 00:12:11 -03: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
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
Lucas Fernandes Nogueira
59db76af4c
refactor(android): fix race conditions processing Android plugin project as dependency ( #6968 )
2023-05-16 10:22:46 -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
KurikoMoe
fb485d25a0
fix(cli): fix cli connection timeout to dev server ( fix #6045 ) ( #6046 )
...
Fix tauri-cli connection to dev server stucks and waits for TCP timeout.
2023-05-12 15:01:24 +03:00
Amr Bashir
5a9307d11c
feat(cli): update android template to gradle 8.0 ( #6890 )
...
* feat(cli): update android template to gradle 8.0
* update java in CI to 17
* updat to latest tauri-mobile
2023-05-12 14:06:50 +03:00
Amr Bashir
e092f79946
feat(bundler/nsis): allow specifying custom template, closes #6887 ( #6922 )
2023-05-12 14:02:07 +03:00
Simon Hyll
41e10b22fa
chore: fixed grammar and typos ( #6937 )
2023-05-11 02:21:15 +03: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
Lucas Fernandes Nogueira
6d1fa49fce
fix(cli): clear plugin JSON file before rebuilding ( #6881 )
2023-05-06 15:59:33 -03:00
Lucas Fernandes Nogueira
73c803a561
feat(android): inject tauri.conf.json asset, add plugin config load API ( #6837 )
2023-05-03 08:16:05 -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
Amr Bashir
124d5c5adf
fix(cli): use snake_case fallback of app_name ( #6788 )
...
fix regression introduced in 2b22f64972
2023-04-25 18:21:06 -03:00
Lucas Fernandes Nogueira
2969d1cbba
refactor(core): use absolute path to plugin Android project ( #6773 )
2023-04-23 11:21:36 -03:00
Lucas Fernandes Nogueira
dfa407ffcb
feat(mobile): add plugin config to the Plugin class ( #6763 )
2023-04-23 09:15:13 -03:00
Lucas Fernandes Nogueira
41f49aeae6
fix(cli.js): adb commands not working, closes #6659 ( #6708 )
...
fix(cli.js): adb commands not working, closes #6659
2023-04-23 09:14:54 -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 Fernandes Nogueira
abc5f91fa3
fix(cli): iOS Xcode script using incorrect library path ( #6699 )
2023-04-13 18:26:32 -03:00
Lucas Fernandes Nogueira
db4c9dc655
feat(core): add option to configure Android's minimum SDK version ( #6651 )
2023-04-07 11:21:42 -03:00
Amr Bashir
63f088e5fc
feat(cli): add --release
for android dev
( #6638 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #6594
2023-04-05 16:10:43 -03:00
Amr Bashir
d03e47d141
fix: only build specified rust targets for aab/apk build ( #6625 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-05 15:14:14 -03:00
Lucas Nogueira
d37808197d
chore(cli): only create .tauri/plugins folder on Android
2023-04-04 15:52:48 -03:00
Amr Bashir
7fec0f083c
fix(cli): use local ip addr for built-in server on mobile, closes #6454 ( #6631 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix(cli): use local ip addr for built-in server on mobile, closes #6454
2023-04-04 09:59:29 -03:00
Lucas Nogueira
f84fbe459f
chore(cli): cherry pick #6603 , fix webkit2gtk version
2023-04-03 10:01:59 -03:00
Lucas Nogueira
55900a2968
Merge branch 'dev' into next
2023-04-03 09:58:27 -03:00
Amr Bashir
1487b18dcb
refactor: add useful diagnostics to tauri info
( #6570 )
...
* refactor: add useful diagnostics to `tauri info`
this also paves the way for interactive fixes in the future
* refactor: add useful diagnostics to `tauri info`
this also paves the way for interactive fixes in the future
* fix use_npm logic [skip ci]
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 10:23:34 -03:00
Lucas Fernandes Nogueira
54c6f158d9
chore(cli): enhance empty updater key password warning ( #6558 )
2023-03-31 10:13:25 -03:00
Amr Bashir
a7ee5ca7c3
fix(cli): look for available ports for built-in dev server, closes #6511 ( #6514 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 10:03:38 -03:00
Lucas Fernandes Nogueira
cfdee00f2b
refactor(core): fix tls features, use rustls on mobile ( #6591 )
2023-03-30 10:59:08 -03:00
Amr Bashir
39df2c982e
fix(cli/android): fallback to ${program}.cmd
( #6576 )
...
* fix(cli/android): fallback to `${program}.cmd`
* cleanup [skip ci]
* revert variable to tauri-binary [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-29 14:44:19 -03:00
CzBiX
57c6bf07bb
fix(cli): fix default-run not deserialized ( #6584 )
...
* fix(cli): fix default-run not deserialized
* Create fix-cli-default-run.md
* Update .changes/fix-cli-default-run.md [skip ci]
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-03-29 14:43:16 -03:00
Lucas Fernandes Nogueira
6e3e4c22be
fix(cli): use correct variable on script to build Rust iOS code ( #6581 )
2023-03-29 11:35:18 -03:00
Lucas Fernandes Nogueira
332b3fc419
fix(cli): adjust jsonrpsee feature flags for CI ( #6521 )
2023-03-21 19:10:42 -03:00
Lucas Fernandes Nogueira
00241fa92d
fix(cli): append .cmd on the gradle plugin binary on Windows, fix #6502 ( #6503 )
2023-03-21 13:43:09 -03:00
Amr Bashir
c787f749de
fix(cli): only add --
to generated android template for npm ( #6508 )
2023-03-21 13:42:37 -03:00
Lucas Fernandes Nogueira
9c8276fe03
refactor(mobile): use shared .tauri folder to inject dependencies ( #6495 )
2023-03-19 08:51:01 -03:00
Lucas Fernandes Nogueira
6a8888dc85
refactor(ios): add macro to generate plugin glue fn, pass name parameter ( #6489 )
2023-03-18 10:57:05 -03:00
Lucas Fernandes Nogueira
dddaa943e7
refactor(core): remove attohttpc client, closes #6415 ( #6468 )
...
* refactor(core): remove attohttpc client, closes #6415
* lint [skip ci]
2023-03-17 09:09:13 -03:00
Amr Bashir
1798c5901d
feat: use start detached for emulators ( #6465 )
2023-03-16 22:06:14 -03:00
amrbashir
2ec736721e
chore: provide a helpful message when waiting for emulator
2023-03-16 15:00:28 +02:00
Lucas Nogueira
9639caf33f
Merge remote-tracking branch 'origin/dev' into next
2023-03-16 09:51:07 -03:00
Lucas Fernandes Nogueira
5d94eaa3bc
feat(core): update swift-rs ( #6355 )
...
* feat(core): update swift-rs
* update tauri-plugin-log
* use env var for min iOS version
* test x86_64-apple-ios
* Revert "test x86_64-apple-ios"
This reverts commit 3ae6b79e5f
.
* chore: swift min version 5.3 [skip ci]
* fix build [skip ci]
* fix cgrect usage
* test CI
* Revert "test CI"
This reverts commit 76ce0c5992
.
* update swift-rs to 1.0.1
* lint
* lint [skip ci]
2023-03-16 09:34:41 -03:00
Bo
1b343bd116
fix(cli): use npm run tauri -- foo
for correctly passing args to tauri ( #6448 )
...
* fix(cli): use `npm run tauri -- foo` for correctly pass args to tauri
* fix xcode-script current dir, GCC_PREPROCESSOR_DEFINITIONS optional
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-16 09:27:40 -03:00
Amr Bashir
b7a2ce2c63
feat(cli): add --port, closes #6186 ( #6283 )
...
* feat(cli): add --dev-server-port, closes #6186
* add http:// prefix
* name it to `--port`
* rename in all places
2023-03-16 09:22:02 -03:00
Amr Bashir
4d09074454
feat(cli): add --force-ip-prompt
( #6406 )
...
* feat(cli): add `--force-ip-prompt`
* Restore tooling/cli/Cargo.lock
* Restore tooling/cli/Cargo.toml
* fix macos build
2023-03-16 09:04:09 -03:00
Amr Bashir
58d4709f7e
fix: update nodejs detection in mobile commands ( #6451 )
...
* fix: update nodejs detection in mobile commands
* changefile
2023-03-16 07:53:12 -03:00
Lucas Nogueira
2b22f64972
fix(ios): correctly use lib-name field
2023-03-15 13:43:31 -03:00
Lucas Fernandes Nogueira
971ad7ae06
fix(cli): fix template and Xcode script to work when running with Xcode ( #6350 )
2023-02-24 10:22:59 -03:00
Lucas Fernandes Nogueira
d11af5be8d
fix(cli): adjust iOS project to work on simulator again ( #6349 )
2023-02-23 18:01:17 -03:00
Lucas Nogueira
6fca895695
fix(cli): create WRY_ANDROID_KOTLIN_FILES_OUT_DIR folder
2023-02-20 13:08:55 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
60a8b07dc7
fix: handle single word bundle identifier when resolving Android domain ( #6313 )
2023-02-19 11:12:04 -03:00
Lucas Fernandes Nogueira
79eb054292
feat(cli): handle Android package identifier change ( #6314 )
2023-02-19 11:08:55 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year ( #6311 )
2023-02-19 10:17:49 -03:00
Amr Bashir
bfa69691a5
fix(cli): detect --profile
. closes #6255 ( #6268 )
2023-02-18 16:20:21 -03:00
Lucas Fernandes Nogueira
e8014a7f61
fix(cli): do not crash on watcher ( #6303 )
2023-02-17 22:06:10 -03:00