Jason Tsai
1df5cdeb06
refactor!: use tauri.conf.json > identifier as package name and bundle id, close #9851 ( #9858 )
...
* fix(android): use identifier as Android package name
* update android_binding and android_fn interface
* chore: rename TAURI_ANDROID_PACKAGE_PREFIX to TAURI_ANDROID_PACKAGE_NAME
* revert back to split prefix and app_name
* rename `domain` to `identifier`
* add change log
* simplify reverse config identifier
* Update .changes/mobile-use-identifier-as-id.md
* Update core/tauri-build/src/lib.rs
* lint
* cargo-mobile2 0.12
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-24 09:22:41 -03:00
Amr Bashir
caec19fce3
chore(deps): remove unused deps from cli ( #9711 )
...
* chore(deps): remove unused deps from cli
* fix mac build
* clippy
2024-05-09 23:35:02 +03:00
scottpledger
6703b7cbca
fix: use $CARGO_MANIFEST_DIR to fully specify include_dir paths in tauri-cli ( #9310 )
...
* Allow tauri-cli to work with Bazel.
Signed-off-by: Scott Pledger <scottpledger2005@gmail.com >
* change file
---------
Signed-off-by: Scott Pledger <scottpledger2005@gmail.com >
2024-04-01 16:43:52 +02:00
Dimitris Apostolou
26f0f71a40
chore: fix various typos ( #9131 )
2024-03-11 16:25:20 +02:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Amr Bashir
c68218b362
refactor(cli): add --no-bundle flag, skip bundling on invalid formats ( #8990 )
...
* refactor(cli): add `--no-bundle` flag, skip bundling on invalid formats
* enhance bundle format parsing
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-29 10:49:42 -03:00
i-c-b
b658ded614
fix(cli): Truncate BuildTask.kt before writing ( #9015 )
...
* truncate BuildTask.kt before write
* Create truncate-before-write-buildtask.md
* remove unused checks
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-28 13:42:21 -03:00
Amr Bashir
b9e6a01879
refactor(cli): use tauri/custom-protocol instead of relying on user having custom-protocol in their cargo features ( #8937 )
...
* refactor(cli): use `tauri/custom-protocol` instead of relying on user having `custom-protocol` in their cargo features
* tauri-build dev cfg
* pass build-feature when building apk
* run beforeBuildCommand before first build for plugins
* clippy
* fix
* mut
* enhance dev/prod checks
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-02-26 15:17:45 -03:00
Amr Bashir
06d63d67a0
feat(cli): add new acl subcommands ( #8827 )
...
* unify `CI` var handling, and lay foundation for `permission` subcommand
* feat(cli/init&new): create `permissions` directory by default for plugins
* generate permissions with consistent pathing on windows and unix
* `pemrission create` initial implementation
* add ls command
* finalize `permission create` subcommand
* `permission rm` subcommand
* `permission add` subcommand
* remove empty `permission copy` subcommand
* clippy
* `capability create` subcommand and move modules under `acl` directory
* fix multiselect for `permission add` when capabilty doesn't have identifier
* clippy
* `create` -> `new` and change file
* license headers
* more license headers
* clippy
* Discard changes to examples/resources/src-tauri/.gitignore
* fix build
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-26 14:42:13 -03:00
Lucas Fernandes Nogueira
fb0d997117
fix(cli): regression on --config not accepting file paths ( #8783 )
...
* fix(cli): regression on --config not accepting file paths
* enhance dev server config parsing
* use serde_json::json!
* pass config to setup
2024-02-07 17:08:05 +02:00
Amr Bashir
8de308d1bf
feat(core): implement new config structure ( #8723 )
...
* feat(core): implement new config structure
RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md
* fixes
* remove tauri-plugin copy [skip ci]
* move platform specific configs
* fix build
* fix cli
* doctests
* change files
* read updater plugin config on CLI
* doctests
* remove env var from docs
* fix getting pubkey
* add migrations
* clippy
* update change file [skip ci]
* rename frontendDist to prodFrontend?
* Revert "rename frontendDist to prodFrontend?"
This reverts commit ef7394f085 .
* fix all_features check
* fix field name
* single license getter on bundler
* readd msiexec_args
* remove unused fixture
* update template
* Update .changes/tauri-bundle-settings-rfc-5.md
* Update .changes/config-restructure-rfc-5.md
* lint bundler, fix change file
* rename AppUrl to FrontendDist, add explicit variants for docs
* fix build
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-02-03 00:39:48 -03:00
Lucas Fernandes Nogueira
e691208e7b
fix(cli): prevent creating interface twice avoiding double manifest rewrite ( #7837 )
2024-02-02 21:43:33 -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
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
1c9f3db916
chore: change tauri-mobile to cargo-mobile2 ( #7953 )
2023-10-05 19:30:56 +00: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
964282a267
fix(cli): migration tests ( #7745 )
2023-09-06 13:43:17 -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
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
Amr Bashir
3f4c4ce88b
fix(cli/android): fallback to all targets ( #7028 )
...
fix regression introduced in d03e47d141
2023-05-22 19:00:18 +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
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
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
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
9639caf33f
Merge remote-tracking branch 'origin/dev' into next
2023-03-16 09:51:07 -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
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 Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
14d03d426e
refactor(cli): enhance plugin commands for mobile ( #6289 )
2023-02-16 12:24:49 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next
2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
65e487f344
fix(cli): adjust plugin template to use correct package name ( #6258 )
2023-02-13 10:54:48 -03:00
Lucas Fernandes Nogueira
05dad08768
feat: initial work for iOS plugins ( #6205 )
2023-02-11 10:30:44 -03:00
Lucas Fernandes Nogueira
da57e7c087
fix(cli): use Target::build to run initial Android build ( #6220 )
2023-02-09 14:50:23 -03:00
Lucas Fernandes Nogueira
f2da21c7b4
refactor(cli): use environment variables instead of .config/cargo ( #6230 )
2023-02-09 13:11:02 -03:00
Lucas Fernandes Nogueira
894a8d060c
refactor(cli): use temp file to communicate IPC websocket address ( #6219 )
2023-02-08 23:19:34 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins ( #6167 )
2023-02-06 08:56:00 -03:00
Lucas Nogueira
8835633955
fix(cli): do not prompt for device when --open is provided
2023-01-26 12:33:52 -03:00
Lucas Fernandes Nogueira
1af9be904a
feat(cli): properly fill target for TAURI_ env vars on mobile ( #6116 )
2023-01-23 18:26:13 -03:00
Amr Bashir
50f6dd87b1
feat: improvements to support hyphens in crate name ( #5989 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-06 14:31:48 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings
2022-12-15 17:56:23 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next
2022-12-08 14:19:44 -03:00
Lucas Nogueira
c1cd0f5253
chore(deps): rename cargo-mobile to tauri-mobile
2022-12-06 09:19:04 -03:00
Lucas Fernandes Nogueira
d38204907e
feat(cli): run local dev server on public IP on mobile development ( #5705 )
2022-11-28 08:30:48 -03:00
Lucas Fernandes Nogueira
6dcb7fbb81
fix(core): manage mobile logs, fix Android logcat filtering ( #5659 )
2022-11-20 10:55:38 -03:00
Lucas Fernandes Nogueira
03d6c6a68f
refactor(cli): use jsonrpsee for mobile CLI options communication ( #5657 )
2022-11-20 09:48:02 -03:00
Lucas Fernandes Nogueira
658bb1165e
feat(cli): automatically enable native-tls-vendored feature on mobile ( #5651 )
2022-11-18 13:10:20 -03:00