Skip to content

fix: remove hardcoded Live2D model path - #131

Open
lonelyhty wants to merge 1 commit into
thu-HZML:masterfrom
lonelyhty:fix/live2d-test-model-path
Open

lonelyhty wants to merge 1 commit into
thu-HZML:masterfrom
lonelyhty:fix/live2d-test-model-path

Conversation

@lonelyhty

Copy link
Copy Markdown

Summary

  • Remove the developer-specific absolute Live2D model path from live2dtest.vue.
  • Resolve the model directory from the project resources path, matching the approach used by the desktop pet code.

Why

  • The previous C:/Users/.../public/resources/live2d path only worked on one local machine and would fail for other contributors or packaged layouts.

Validation

  • Confirmed the hardcoded local path is no longer present.
  • Ran npm.cmd run build successfully.
  • Ran git diff --check.

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