fix: パッケージ版でのVRM表示とパス解決の修正#20
Open
naolab wants to merge 2 commits into
Open
Conversation
- AIアシスタント機能セクションを削除(ターミナルから直接起動する仕様に変更) - キャラクター設定セクションを追加(表示キャラ/読み上げキャラの設定方法) - VS Code Dark の名称を削除し「ダークテーマ」に統一 - アイコンモードの説明を「負荷軽減」目的に修正 - キャラ選択がアイコンから行える旨を追記 - CURRENT_FEATURES.md を新規作成(機能一覧の参照用) Co-authored-by: Gemini <gemini@google.com>
- fix-paths.js: RSCペイロード内の絶対パスを相対パスに修正 - config-manager.js: モネのVRMパスを public から out に変更 - main.js: app.asar.unpacked パスの解決と out へのフォールバックロジック追加 - package.json: out 内のVRMファイルを asarUnpack に追加 - character-display-manager.js: iframe取得のフォールバック追加 Co-authored-by: Gemini <gemini@google.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容
fix-paths.js: Next.jsビルド後のRSCペイロード(JSコード内)に含まれる絶対パスを相対パスに変換する処理を強化。src/modules/config-manager.js: デフォルトキャラクター「モネ」のVRMパスをpublicからoutディレクトリに変更。main.js:load-vrm-fileIPCハンドラにai-kawaii-nextjs/public/からout/への自動フォールバックロジックを追加。app.asar.unpackedディレクトリからファイルを読み込むロジックを強化。package.json:ai-kawaii-nextjs/out/内のVRM/VRMAファイルをasarUnpack対象に追加。src/modules/character-display-manager.js: iframeがマップから見つからない場合にDOMから直接再取得するフォールバック処理を追加。変更理由
ERR_FILE_NOT_FOUNDエラーと、ASARアーカイブ内からのバイナリファイル読み込み失敗(VRMが表示されない)問題を解決するため。outディレクトリに集約されるため、参照パスを実態に合わせて修正。動作確認
レビュー観点
fix-paths.js) が他のリソースに悪影響を与えていないか。package.json) が適切か。