fix: Corrected the icon specifying an invalid color parameter (#3657)

This commit is contained in:
诺墨
2025-12-17 22:11:47 +08:00
committed by GitHub
parent 7009605141
commit 30591e4c0d

View File

@@ -24,12 +24,12 @@ Additionally, you must setup code signing for [macOS][macOS code signing] and [i
After running `tauri ios init` to setup the Xcode project, you can use the `tauri icon` command to update the app icons.
<CommandTabs
npm="npm run tauri icon /path/to/app-icon.png -- --ios-color #fff"
yarn="yarn tauri icon /path/to/app-icon.png --ios-color #fff"
pnpm="pnpm tauri icon /path/to/app-icon.png --ios-color #fff"
deno="deno task tauri icon /path/to/app-icon.png --ios-color #fff"
bun="bun tauri icon /path/to/app-icon.png --ios-color #fff"
cargo="cargo tauri icon /path/to/app-icon.png --ios-color #fff"
npm="npm run tauri icon /path/to/app-icon.png -- --ios-color '#fff'"
yarn="yarn tauri icon /path/to/app-icon.png --ios-color '#fff'"
pnpm="pnpm tauri icon /path/to/app-icon.png --ios-color '#fff'"
deno="deno task tauri icon /path/to/app-icon.png --ios-color '#fff'"
bun="bun tauri icon /path/to/app-icon.png --ios-color '#fff'"
cargo="cargo tauri icon /path/to/app-icon.png --ios-color '#fff'"
/>
The `--ios-color` argument defines the background color for the iOS icons.