Skip to content

feat(app): register skin:// custom URI protocol#45

Merged
hash-panda merged 1 commit into
mainfrom
feat/skin-protocol
May 17, 2026
Merged

feat(app): register skin:// custom URI protocol#45
hash-panda merged 1 commit into
mainfrom
feat/skin-protocol

Conversation

@hash-panda
Copy link
Copy Markdown
Contributor

Summary

  • Register a skin:// custom URI scheme protocol in Tauri to resolve skin assets from dev, bundled, or user-imported locations
  • Replace all hardcoded /skins/ relative paths with SKIN_BASE (skin://localhost) across Vue components and Pinia store
  • Update CSP policy in tauri.conf.json to allow skin: source

Test plan

  • pnpm tauri dev — verify skins load correctly in dev mode
  • Verify skin switching works in the SkinMarket panel
  • Verify peer avatars display correctly in Social/Leaderboard panels
  • pnpm test — all skin store tests pass

Made with Cursor

Replace relative /skins/ paths with a skin:// custom URI scheme so Tauri
can resolve skin assets from dev, bundled, or user-imported locations.
Update CSP policy and all Vue components that reference skin paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-bubu-site Ready Ready Preview, Comment May 17, 2026 1:20pm

@hash-panda hash-panda merged commit ae22984 into main May 17, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant