tauri-cli@2.0.0-alpha.3
此内容尚不支持你的语言。
- Added
plugin android add
andplugin ios add
commands to add mobile plugin functionality to existing projects. - Add
--port
to specify the port used for static files dev server. It can also be specified throughTAURI_DEV_SERVER_PORT
env var. - Auto select an external IP for mobile development and fallback to prompting the user. Use
--force-ip-prompt
to force prompting. - Add commands to add native Android and iOS functionality to plugins.
- In mobile commands, correctly detect when nodejs binary has the version in its name, for example
node-18
- Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE.
- Change the Android template to enable minification on release and pull ProGuard rules from proguard-tauri.pro.
- Print an error if the Android project was generated with an older bundle identifier or package name.
- Fixes the generated mobile build script when using an NPM runner.
- Resolve Android package name from single word bundle identifiers.
- Update Android project template with fix to crash on orientation change.
- Added
--ios-color
option to thetauri icon
command. - Fixes HMR on mobile when devPath is configured to load a filesystem path.
- Ignore the
gen
folder on the dev watcher. - Correctly pass arguments from
npm run
totauri
. - Changed the
--api
flag onplugin init
to--no-api
.
© 2024 Tauri Contributors. CC-BY / MIT