fix(ci): center-crop non-square logos before tauri icon generation
tauri icon requires a square source image. Uploaded logos like 727x721 caused Prepare template to fail. Use sharp to center-crop to square before generating platform icons. Co-authored-by: ShuMengya <shumengya666@outlook.com>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"devDependencies": {
|
||||
"adm-zip": "^0.5.17",
|
||||
"concurrently": "^9.1.2",
|
||||
"sharp": "^0.34.2",
|
||||
"typescript": "~5.6.2",
|
||||
"wrangler": "^3.99.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user