Skip to content

Commit

Permalink
依存パッケージの更新: UniVRMExtensions-10.2.0 / UniVRM-0.125.0
Browse files Browse the repository at this point in the history
UniVRM-0.125.0で、VRMShardersパッケージがUniGLTFパッケージへ統合された。
  • Loading branch information
esperecyan committed Aug 12, 2024
1 parent e09f5d4 commit d477131
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .vpm/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ for (const { name, version, internal } of dependencies) {
]));
}
Object.assign(manifest, namePartialManifestPairs[name]);
if (manifest.name === 'com.vrmc.gltf' && semver.gte(manifest.version, '0.125.0')) {
// UniGLTF-0.125.0かそれ以上のバージョンなら
// VRMShardersが統合されているため
manifest.legacyPackages = (manifest.legacyPackages ?? [ ]).concat([ 'com.vrmc.vrmshaders' ]);
Object.assign(manifest.legacyFolders, namePartialManifestPairs['com.vrmc.vrmshaders'].legacyFolders);
}
manifest.url = packageURLPrefix + packageFileName;
await fs.writeFile(manifestPath, JSON.stringify(manifest, null, '\t'));

Expand Down
4 changes: 2 additions & 2 deletions Editor/Esperecyan.Unity.VRMConverterForVRChat.Editor.asmdef
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "Esperecyan.Unity.VRMConverterForVRChat.Editor",
"rootNamespace": "",
"references": [
"GUID:05dd262a0c0a2f841b8252c8c3815582",
"GUID:8d76e605759c3f64a957d63ef96ada7c",
"GUID:5f875fdc81c40184c8333b9d63c6ddd5",
"GUID:b7aa47b240b57de44a4b2021c143c9bf",
"GUID:f7b2dd4e5e1e7264089dc065c45db910",
"GUID:ab550019837c3d44fb7a418b8b18e24a",
"GUID:7ca0cd6f6537b414dabc7f1fa4740ea4"
"GUID:ab550019837c3d44fb7a418b8b18e24a"
],
"includePlatforms": [
"Editor"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"licensesUrl": "https://pokemori.booth.pm/items/1025226",
"dependencies": {
"com.vrchat.avatars": "3.5.0",
"com.vrmc.univrm": "0.121.0",
"jp.pokemori.univrm-extensions": "10.1.0"
"com.vrmc.univrm": "0.125.0",
"jp.pokemori.univrm-extensions": "10.2.0"
},
"author": {
"name": "100の人",
Expand Down

0 comments on commit d477131

Please sign in to comment.