Amr Bashir
eb76df4c4f
fix(cli/plugin/new): construct path from components iterator instead of PathBuf::join ( #10128 )
...
fixes #10082
The problem that we were calling `PathBuf::join()` with value of collecting an empty iterator of path components which was equivalent to `PathBuf::from("ios").join("")` which will result in `ios/` with a trailing slash.
This is fixed by chaining iterators of path components and collecting only once into `PathBuf`, which will never append empy path component and will never append trailing slash.
```rs
[
Component::Normal(OsStr::new("ios")),
Component::Normal(&some_folder_name),
]
.into_iter()
.chain(other_components_iterator)
.collect::<PathBuf>()
```
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-06-26 11:11:31 -03:00
Tony
f21029b1bc
feat!(nsis): add an option to customize start menu folder ( #9994 )
2024-06-26 09:17:02 +03:00
Tony
35110dba21
fix(nsis): delete app data button gone on higher scaling ( #10106 )
...
* Fix delete app data button gone on high DPI
* Add change file
* change back translation template
* Use w string instead of t
* Add in some comment explaining PerMonitorV2
2024-06-26 09:01:34 +03:00
Fabian-Lars
61bbd8373f
fix(bundler/wix): Add AUTOLAUNCHAPP and LAUNCHAPPARGS public properties ( #10117 )
2024-06-26 06:27:12 +03:00
Amr Bashir
6c9e24a683
fix: fix new clippy errors ( #10054 )
...
* fix: fix new clippy errors
* more clippy
2024-06-24 20:54:43 +03:00
Tony
faf282ca6c
fix(nsis): use runtime ${If} check to clean up deep link on uninstall ( #10103 )
2024-06-24 10:48:02 +03:00
Tony
58821fc0e5
fix(nsis): esitmated size unit ( #10086 )
...
* Fix nsis esitmated size unit
* Add change file
2024-06-19 23:04:40 +02:00
Tony
16641723b0
chore(deps): update js dev dependencies ( #10051 )
2024-06-14 05:28:06 +03:00
Amr Bashir
3fd84cb3c9
fix(NSIS): rewrite license file with BOM ( #10049 )
...
* fix(NSIS): rewrite license file with BOM
closes #9031
This also includes a change to NSIS bundler to use UTF8 by default
* refactor and cleanup
2024-06-13 18:31:27 +03:00
Tillmann
b2ff840e83
Feat: Improved Security Docstrings and Schema Newline Handling ( #10028 )
...
* Refactor Code Docs
* updated schemas
* cargo fmt whitespace fix
* downgrade cargo-platform to 0.1.7
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
2024-06-13 18:31:12 +03:00
Fabian-Lars
c98f385cb5
fix(api.js): Export mocks module ( #10044 )
2024-06-12 19:22:55 +03:00
Roy Laurie
79542f4d45
fix(cli): icon should render explicit svg text node fonts ( fix : #10022 ) ( #10039 )
...
* fix(cli): icon should render explicit svg text node fonts (fix : #10022 )
* fix(cli): icon should render explicit svg text node fonts (fix : #10022 )
added a .change file for the fix
2024-06-12 04:25:11 +03:00
Pylogmon
f56cdc9e39
fix: missing depends for rpm package ( #10016 )
...
* fix: missing depends for rpm package
* chore: add changes
2024-06-12 04:24:36 +03:00
Jonas Kruckenberg
b9e11a8b97
fix(bundler): AppImage startup crash ( #10036 )
...
* Update appimage
* Update appimage.rs
* changefile
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-06-11 17:07:17 +02:00
Amr Bashir
f44a2ec47c
feat(cli): include default.toml and capabilities in plugin template ( #10030 )
...
* feat(cli): include default.toml and capabilities in plugin template
* replace execute usage with ping
* add to capabilities
* use default permission set
2024-06-11 13:06:46 +09:00
Tony
5b769948a8
feat(core): add include_image macro ( #9959 )
2024-06-06 06:03:11 +03:00
Tony
586a816e62
fix(bench): update time ( #9993 )
2024-06-06 05:22:13 +03:00
Tony
6f469534b0
fix(nsis): run app as normal user ( #9944 )
2024-06-06 03:53:11 +03:00
amrbashir
30bc3d2095
fix(nsis): always pass default compression even if nsis object is not defined
2024-06-05 20:05:03 +03:00
Amr Bashir
de7da04a62
fix(rpm): use product name for output package ( #9974 )
...
* fix(rpm): use product name for output package
ref: https://github.com/tauri-apps/tauri/pull/9375
ref: https://github.com/tauri-apps/tauri/pull/9375#issuecomment-2144997488
* use kebab-case product-name for rpm
* fmt
2024-06-05 19:57:32 +03:00
amrbashir
27abecd6e5
fix(bundler/nsis): SetCompress off not false
2024-06-05 19:35:40 +03:00
Amr Bashir
148f048871
feat(api): add defaultWindowIcon to app module ( #9979 )
2024-06-05 19:17:06 +03:00
Tony
3ab170917e
feat(nsis): add an option to disable compression ( #9932 )
2024-06-05 19:07:49 +03:00
thewh1teagle
656a649744
feat(cli): add macos hardened runtime signing config option ( #9318 )
...
* feat(cli): add macos signing config option
* rename option to hardened_runtime
* chore(cli): use default true in hardened runtime config
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-06-05 18:04:08 +02:00
Amr Bashir
fafc238f72
feat: add bundle > homepage option ( #9977 )
...
* feat: add `bundle > homepage` option
If unspecified, it will fallback to `homepage` define in Cargo.toml
closes #9949
* Update settings.rs
2024-06-05 19:01:48 +03:00
Lucas Fernandes Nogueira
40c0f44e1c
fix(cli): plugin iOS Xcode project deployment target should be 13.0 ( #9971 )
2024-06-04 17:55:40 -03:00
Tony
f955f7b490
chore(deps): migrate dirs_next to dirs ( #9929 )
2024-06-04 06:03:25 +03:00
Tony
ea78bf5558
fix(nsis): migrate old shortcuts by setting the path only instead of re-creating a new one ( #9915 )
2024-06-04 04:27:17 +03:00
Kareem Ebrahim
019a74e970
fix(cli): correct module name resolution for clipboard and globalShortcut plugins ( #9931 )
2024-06-03 21:57:46 +03:00
Lucas Fernandes Nogueira
3cca5c2be8
chore(cli): update to new buildConfig format ( #9924 )
...
* chore(cli): update to new buildConfig format
the existing usage has been deprecated and will be removed on gradle plugin v9, as Android Studio warns
* add config to our lib too
2024-05-30 16:56:11 -03:00
github-actions[bot]
916a26c2a1
apply version updates ( #9913 )
2024-05-29 17:02:21 -03:00
Amr Bashir
38df6ea1c1
fix(nsis): fix regression in shortcuts pointing to a non-existing file ( #9909 )
2024-05-29 16:33:24 -03:00
github-actions[bot]
a0a76cea2f
Apply Version Updates From Current Changes ( #9911 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-05-29 13:58:51 -03:00
Tillmann
4942d809ab
feat: Auto Generation of ACL Schema File for Documentation ( #9903 )
...
* Add auto generated acl schema files for docs
* update CI
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-05-29 09:32:58 -03:00
github-actions[bot]
594e3e2939
Apply Version Updates From Current Changes ( #9869 )
...
* apply version updates
* fix bundler version
* update lockfile
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-29 00:10:20 -03:00
Lucas Nogueira
94cca92aeb
fix: regression extracting NSIS zip - target folder already exists
2024-05-28 23:37:06 -03:00
Amr Bashir
265c23886e
refactor(cli&bundler): avoid renaming main executable and preserve cargo name ( #9375 )
...
* refactor(cli&bundler): avoid renaming main executable and reserve cargo name
closes #8109
closes #8349
* fix bundler
* fix test
* Discard changes to core/tauri-build/Cargo.toml
* revert Cargo.toml changes
* Discard changes to Cargo.lock
* Discard changes to tooling/cli/Cargo.lock
* lock file
* use product name for installers
* only warn for sign on windows
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-05-28 13:50:41 -03:00
Amr Bashir
ccc3ea729d
fix(codegen): use TAURI_ENV_TARGET_TRIPLE to determine the current platform-specific config ( #9646 )
...
* fix(codegen): use `TAURI_ENV_TARGET_TRIPLE` to determine the current platform-specific config
* set env var
* Update .changes/tauri-codegen-use-correct-env.md
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-28 13:48:24 -03:00
Jason Tsai
8b032c3cf6
fix(ios): add LaunchScreen.storyboard to iOS project template, fix#9853 ( #9896 )
...
* fix(ios): add LaunchScreen storyboard file
* chore: add changelog
2024-05-28 11:46:42 -03:00
Lucas Fernandes Nogueira
3f1c59d684
chore(cli): enhance mobile build by only compiling selected target ( #9894 )
...
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-05-28 07:53:32 -03:00
Jason Tsai
71a5e2ba24
fix(android): allow and escape Kotlin keywords as package identifier, closes #9743 ( #9799 )
...
* fix(android): escape kotlin only keyword in template
* fix: escape keywords in wry templates aswell
* chore: add changelog
* chore: remove unused code
* fix(android): wry template, package name should reverse
* update cargo-mobile2
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-05-28 07:52:48 -03:00
Fabian-Lars
4754786aa2
fix(bundler/macos): Fix incorrect deep link plist property ( #9885 )
2024-05-27 15:59:00 -03:00
Lucas Fernandes Nogueira
9970d88bec
chore(android): update to latest Gradle ( #9892 )
2024-05-27 15:58:00 -03:00
Tony
27fd8cc56c
nsis_tauri_utils::download -> NSISdl::download ( #9887 )
2024-05-26 17:59:13 +03:00
Amr Bashir
9e4b2253f6
feat(cli): add tauri bundle subcommand ( #9734 )
...
* feat(cli): add `tauri bundle` subcommand
closes #8734
* license header
* log application path after building
* fix no-bundle check
* typo
* enhance error with deep causes
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-05-25 11:46:55 -03:00
Amr Bashir
5462e5cadc
feat(nsis): support installer hooks ( #9731 )
...
* feat(nsis): support installer hooks
closes #9668
* update change files
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-05-25 10:23:08 -03:00
Amr Bashir
418d72d72d
feat(bundler/nsis): add /UPDATE flag ( #9559 )
...
* feat(bundler/nsis): add `/UPDATE` flag
* typo
* typo
* skip webview2 installation on updating
2024-05-25 09:41:09 -03:00
Lucas Fernandes Nogueira
80aa504987
chore(cli): update Android target SDK to 34 ( #9870 )
2024-05-25 07:46:34 -03:00
Amr Bashir
c4410daa85
feat(tray): add enter, move and leave events ( #9777 )
...
* feat(tray): add `enter`, `move` and `leave` events
closes #8584
* update api example
* check button state [skip ci]
* fix enum [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-24 14:56:32 -03:00
Mariotaku
fd2d7cf8b3
feat(android): aware of version info from tauri config ( #9856 )
...
* feat(android): versionName and versionCode support
* formatted code and updated schema
* fix config, cleanup generation
* update docs
* mention default version for android
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-05-24 10:56:21 -03:00