Lucas Nogueira
5e7611aaa7
fix(cli.rs): build on Windows
2022-02-06 10:52:01 -03:00
philipborg
52e9a6d81a
fix: Make CMD handle quotes " properly. ( #3334 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2022-02-06 10:22:07 -03:00
Lucas Nogueira
1e5a8c9db6
fix(cli.rs): lint warning on cross_command fn
2022-02-06 09:52:39 -03:00
Amr Bashir
a8e5ad9299
fix: improve vs build tools detection, closes #3113 ( #3144 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-02-05 20:17:39 -03:00
renovate[bot]
c5f3cbc683
chore(deps) Update dependency sirv-cli to v2 ( #3134 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-02-05 15:20:32 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 ( #3179 )
2022-02-05 15:13:07 -03:00
Lucas Nogueira
de0543f3e0
feat(cli.rs): change inferred dev server port to 8080 for Svelte apps
2022-02-05 15:12:36 -03:00
renovate[bot]
21fb74bb37
chore(deps) Update Rust crate clap to v3.0.7 ( #3209 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-02-05 13:10:35 -03:00
Amr Bashir
65ad5b5ef9
feat(cli.rs/info): detect if tauri is used from git ( #3309 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-02-04 21:00:55 -03:00
Didrik Nordström
83f52fdbe3
feat: Add universal-darwin-macos build target, closes #3317 ( #3318 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-02-04 18:56:57 -03:00
Lucas Nogueira
a76abc48f2
fix(config): doc for beforeDevCommand and beforeBuildCommand
2022-02-04 18:13:46 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint
2022-02-04 14:03:27 -03:00
Lucas Nogueira
b1d7464d61
chore(cli.rs): fix clippy warnings
2022-02-03 10:16:32 -03:00
Lucas Nogueira
995de57a76
Add seamless support for using JSON5 in the config file ( #47 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-02-03 10:16:00 -03:00
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
Manuel Alabor
8ab8d52942
Fix #3288 : Add provider_short_name for macOS ( #3289 )
2022-01-27 15:22:30 -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
Jonas Kruckenberg
9bb68973dd
fix(cli.rs): prefix the "before script" env vars with TAURI_ ( #3274 )
2022-01-24 10:27:23 -03:00
Lucas Fernandes Nogueira
28dd9adb26
feat(bundler): support building AppImage without FUSE ( #3259 )
2022-01-21 15:41:00 -03:00
sdoering01
1eec7282c7
fix(cli.rs): typo ( #3248 )
2022-01-19 10:57:25 +01: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
c077f44927
feat: force endpoint URL to use https on release [TRI-015] ( #41 )
2022-01-09 16:40:22 -03:00
Lucas Nogueira
d95cc83105
feat: enforce updater public key [TRI-015] ( #42 )
2022-01-09 16:37:03 -03:00
Lucas Fernandes Nogueira
d4db95e716
feat(core): shell execute API scope [TRI-002] ( #36 )
...
* feat(core): shell execute API scope [TRI-002]
* fix tests
* also check with empty extension
* lockfile
2022-01-09 16:28:22 -03:00
Lucas Nogueira
766c4f2c57
refactor: unify fs read and write cmds for binary/text data [TRI-009] ( #34 )
2022-01-09 16:24:44 -03:00
Lucas Fernandes Nogueira
85df94f2b0
feat(core): config for fixed webview2 runtime version path ( #27 )
2022-01-09 16:16:45 -03:00
Lucas Fernandes Nogueira
0ad1c6515f
feat(core): add http allowlist scope [TRI-008] ( #24 )
2022-01-09 16:16:12 -03:00
Lucas Nogueira
2f3a582c69
feat(cli.rs): strip release binaries [TRI-031] ( #22 )
2022-01-09 15:46:43 -03:00
Lucas Nogueira
153a6a44b3
fix(cli.rs): build on windows
2022-01-09 15:41:51 -03:00
Lucas Nogueira
4fa5ec9606
chore: cleanup repo lockfiles and gitignores
2022-01-09 15:18:14 -03:00
Lucas Fernandes Nogueira
eed017287f
feat(core): add shell > sidecar allowlist and process feature flag [TRI-037] ( #18 )
2022-01-09 14:57:43 -03:00
Lucas Nogueira
d660cab38d
feat: enhance allowlist configuration [TRI-027] ( #11 )
2022-01-09 14:48:55 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] ( #13 )
2022-01-09 14:30:43 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] ( #10 )
2022-01-09 14:30:04 -03:00
Lucas Nogueira
3420aa5031
refactor: IPC handler [TRI-019] ( #9 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-01-09 14:17:29 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag ( #7 )
2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8
feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] ( #8 )
2022-01-09 11:11:59 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023]
2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 ( #2971 )
2022-01-07 16:55:30 -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
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR for local run ( #3147 )
...
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run
* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Nogueira
45eba33dc1
fix(cli.rs): plugin init --api usage
2022-01-03 20:00:58 -03:00
Kasper
62182383de
List categories in tooltips ( #3150 )
2022-01-01 21:55:29 -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
FabianLars
3206a7088c
fix(bundler): detect per-user webview2 installations ( #3076 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2021-12-28 19:28:21 -03:00
Lucas Fernandes Nogueira
35588b2e04
fix(cli.rs): check default arch at runtime, closes #3067 ( #3078 )
2021-12-27 10:49:59 -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]
0a97c61ac5
chore(deps) Update dependency @tsconfig/svelte to v3 ( #3103 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-12-23 10:05:04 -03:00