Commit Graph

60 Commits

Author SHA1 Message Date
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
chip
7c3db7a381
cache current binary path much sooner (#45)
* use ctor to cache starting executable

* clean up symlink checking logic

* changefile

* use wrapper for the static, put it in tauri_utils

* cargo +nightly fmt

* add license header to `StartingBinary`

* fix clippy warning

* fix: test

* simplify macOS dangerous flag detection

* update restart test to allow expected failure on macOS

* finish documentation

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-02 19:58:56 -03:00
chip
10314cd5cf
feat(core): add argument parsing on shell scope (#44)
* feat: initial implementation

* feat: arg parser

* refactor: move codegen to context struct

* feat: regex validation

* fix tests

* fix: support magic argument value `-`

* feat: support value regex starting with `-`

* refactor: shell_scope mod, add happy path tests

* wip: scope command arguments

* wip: commands

* add better scoped errors and pattern matching

* add documentation to scoped command items

* support using the new shell scope for open

* use the proper items in tauri::scope during codegen

* shell-open uses ScopeError::Validation also

* use shell scoping for sidecar commands

* fix: cli.rs build

* fix: validation when arg list is empty

* require args in a non-fixed, non-empty config list

Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
Lucas Fernandes Nogueira
28dd9adb26
feat(bundler): support building AppImage without FUSE (#3259) 2022-01-21 15:41:00 -03:00
chip
d5d6d2abc1
Isolation Pattern (#43)
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
renovate[bot]
b36c8232a0
chore(deps) Update Tauri CLI (#3196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:18:57 -03:00
Lucas Nogueira
2f3a582c69
feat(cli.rs): strip release binaries [TRI-031] (#22) 2022-01-09 15:46:43 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023] 2022-01-09 10:55:09 -03:00
renovate[bot]
0a857f8fdc
chore(deps) Update Tauri CLI (#3163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:38 -03:00
renovate[bot]
8b3fbb88b0
chore(deps) Update Tauri CLI (#3129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:40 -03:00
renovate[bot]
8d1a6978c1
chore(deps) Update Tauri CLI (#3097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:07:06 -03:00
renovate[bot]
485e25a22a
chore(deps) Update Tauri CLI (#3074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 17:18:59 -03:00
renovate[bot]
383cb6d4db
chore(deps) Update Rust crate heck to 0.4 (#3073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 16:02:56 -03:00
Lucas Nogueira
26dab690b7
fix(cli.rs): distDir validation 2021-12-10 12:24:45 -03:00
Jonas Kruckenberg
1458ab3c53
refactor(cli.rs): signer and plugin subcommands, use new clap derive syntax (#2928)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:21:33 -03:00
renovate[bot]
875c35e6e4
chore(deps) Update Tauri CLI (#2994)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:12 -03:00
Lucas Fernandes Nogueira
d28ac8aac0
fix(core): enable CORS on the asset protocol, closes #2965 (#2974) 2021-12-09 00:56:58 -03:00
renovate[bot]
64fb688780
chore(deps) Update Rust crate shared_child to v1 (#2910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-17 10:30:55 -03:00
renovate[bot]
d6ccdfce0b
chore(deps) Update Tauri CLI (#2907)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:58 -03:00
Bill Avery
34be6cf37a
Update webview2-com and windows crates (#2875) 2021-11-11 18:38:41 -03:00
renovate[bot]
9772776876
chore(deps) Update Tauri CLI (#2835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:20 -03:00
renovate[bot]
502b85ed35
chore(deps) Update Tauri CLI (#2809)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:58:15 -03:00
Lucas Fernandes Nogueira
b1f5c6d7ac
refactor(cli.rs): drop dialoguer and console soft fork (#2790) 2021-10-22 10:41:43 -03:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -03:00
renovate[bot]
4ec94736c9
chore(deps) Update Tauri CLI (#2772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:00 -03:00
renovate[bot]
c446908dc5
chore(deps) Update Tauri CLI (#2745)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:02:14 -03:00
renovate[bot]
4eb7aa136f
chore(deps) Update Tauri CLI (#2719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:18:32 -03:00
renovate[bot]
f09a13a978
chore(deps) Update Rust crate toml_edit to 0.4 (#2688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:45:07 -03:00
Lucas Fernandes Nogueira
8d630bc8c4
fix(cli.rs): fix workspace detection, fixes #2614, closes #2515 (#2644) 2021-09-23 23:37:27 -03:00
renovate[bot]
20ace05683
chore(deps) Update Tauri CLI (#2624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:49:42 -03:00
renovate[bot]
aaa589efd1
chore(deps) Update Tauri CLI (#2580)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:41:44 -03:00
renovate[bot]
1ff8ffa342
chore(deps) Update Tauri CLI (#2525)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 12:17:12 -03:00
Lucas Nogueira
2ec998b982
fix(examples): use dev server URL on API example devPath config 2021-08-30 11:37:51 -03:00
renovate[bot]
1f98853573
chore(deps) Update Tauri Core (#2480)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2021-08-24 11:40:10 -03:00
github-actions[bot]
80f16d35f9
Apply Version Updates From Current Changes (#2246)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-16 17:59:06 -03:00
Lucas Fernandes Nogueira
a539471609
chore: update rust to 1.54.0 (#2434) 2021-08-15 10:47:15 -03:00
Lucas Fernandes Nogueira
3f039cb8a3
fix: keep original productName for .desktop Name field, closes #2295 (#2384) 2021-08-10 16:02:46 -03:00
renovate[bot]
df01358fb3
chore(deps) Update Rust crate zeroize to 1.4 (#2267)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:14:52 -03:00
github-actions[bot]
e48bb3edff
apply version updates (#2121) 2021-07-16 09:23:10 -04:00
renovate[bot]
224fe56766
chore(deps) Update Rust crate handlebars to 4.1 (#2171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:06 -03:00
github-actions[bot]
4339b46e4b
Apply Version Updates From Current Changes (#2113)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 21:57:26 -03:00
github-actions[bot]
3806b88ee1
Apply Version Updates From Current Changes (#2069)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 11:03:55 -03:00
github-actions[bot]
5353379d15
Apply Version Updates From Current Changes (#1823)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-23 16:56:16 -03:00
renovate[bot]
7d939db587
chore(deps) Update Rust crate once_cell to 1.8 (#1991)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 09:19:50 -03:00
Lucas Nogueira
5525b03a78
feat(core): add skip_taskbar API to the WindowBuilder/WindowOptions 2021-05-30 18:43:28 -03:00
renovate[bot]
998cbed565
chore(deps) Update Tauri CLI (major) (#1905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:01:09 -03:00
renovate[bot]
9726979116
chore(deps) Update Rust crate terminal_size to 0.1.17 (#1862)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-19 01:51:09 -03:00
github-actions[bot]
a68b4ee827
Apply Version Updates From Current Changes (#1799)
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
2021-05-12 16:31:52 -03:00
renovate[bot]
e02f7a689b
chore(deps) Update Rust crate serde_with to 1.9 (#1785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 09:49:54 -03:00
github-actions[bot]
7c7a0777ca
Apply Version Updates From Current Changes (#1629)
* apply version updates

* fix metadata.json [skip ci]

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-11 16:20:35 -03:00