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
Lucas Fernandes Nogueira
63d6d474fd
fix(cli): UpdaterConfig is not flexible ( #8741 )
2024-02-03 08:24:15 -03: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
Naman Garg
d6c7568c27
feat(bundler): Add files option to the AppImage Configuration. ( #8720 )
...
* Add `files` option to Appimage
* Add .changes file
2024-02-01 02:53:26 +02:00
Fabian-Lars
38b8e67237
feat: Add support for deep links ( #8680 )
...
* initial windows impl
* macos
* adapt windows impl to config changes for macos
* debian
* add missing x-scheme-handler prefix
* bundle xdg-mime
* typo
* revert messed up fmt
* rm pnpm lock
* rm todo
* Update core/tauri-utils/src/config.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update core/tauri-utils/src/config.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* &Option<> -> Option<&>
* DL0 -> R7
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2024-01-29 18:59:45 +02:00
Andrew
9cb9aa7978
fix(cli): add MaybeWorkspace to license field ( #8672 )
...
* Add MaybeWorkspace to license field
* Fix last changes
* Fix formatting
* Add change .MD file
2024-01-26 23:46:51 +01:00
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
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
Ananth
b6ca8885ff
feat(cli): improve error message with invalid target for build ( #8321 )
2023-12-12 00:06:43 +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
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
ebcc21e4b9
refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 ( #8057 )
2023-10-19 10:46:04 -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
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
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
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
Lucas Fernandes Nogueira
655c714e41
fix(cli): do not panic on Ctrl+C on ios dev ( #7240 )
2023-06-17 14:09:37 -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
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
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
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
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
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
Lucas Fernandes Nogueira
2d5378bfc1
refactor(core): move dialog API to its own plugin ( #6717 )
2023-04-18 22:18:22 -03:00
Lucas Nogueira
55900a2968
Merge branch 'dev' into next
2023-04-03 09:58:27 -03:00
Lucas Fernandes Nogueira
cfdee00f2b
refactor(core): fix tls features, use rustls on mobile ( #6591 )
2023-03-30 10:59:08 -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
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
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year ( #6311 )
2023-02-19 10:17:49 -03:00
Lucas Fernandes Nogueira
e8014a7f61
fix(cli): do not crash on watcher ( #6303 )
2023-02-17 22:06:10 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next
2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
cab4ff95b9
fix(cli): ignore the gen folder on the dev watcher ( #6232 )
2023-02-09 14:50:33 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 ( #6155 )
...
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-29 15:08:27 -03:00
Fabian-Lars
d20a728892
feat: Further improve workspace inheritance, closes #6122 , #5070 ( #6144 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-26 10:47:23 -03:00
Amr Bashir
9da996073f
fix(cli): fix printing paths on Windows ( #6137 )
2023-01-26 10:45:58 -03:00
Fabian-Lars
60e6f6c3f1
feat(bundler): Add support for creating NSIS bundles on unix hosts ( #5788 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-19 15:42:40 -03:00
Amr Bashir
7aab3e2076
fix(cli.rs): improve rustc not found error msg ( #6021 )
2023-01-16 22:41:05 -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
Amr Bashir
c94e1326a7
feat(bundler): add nsis, closes #4450 , closes #2319 ( #4674 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-03 14:29:20 -03:00
Lucas Fernandes Nogueira
e873bae09f
fix(cli): Cargo target dir detection on Android, closes #5865 ( #5932 )
2022-12-28 14:46:58 -03:00
Lucas Nogueira
015020760a
chore: fix clippy warnings
2022-12-15 18:03:28 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings
2022-12-15 17:56:23 -03:00