Skip to content

Commit d477131

Browse files
committed
依存パッケージの更新: UniVRMExtensions-10.2.0 / UniVRM-0.125.0
UniVRM-0.125.0で、VRMShardersパッケージがUniGLTFパッケージへ統合された。
1 parent e09f5d4 commit d477131

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.vpm/build.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ for (const { name, version, internal } of dependencies) {
135135
]));
136136
}
137137
Object.assign(manifest, namePartialManifestPairs[name]);
138+
if (manifest.name === 'com.vrmc.gltf' && semver.gte(manifest.version, '0.125.0')) {
139+
// UniGLTF-0.125.0かそれ以上のバージョンなら
140+
// VRMShardersが統合されているため
141+
manifest.legacyPackages = (manifest.legacyPackages ?? [ ]).concat([ 'com.vrmc.vrmshaders' ]);
142+
Object.assign(manifest.legacyFolders, namePartialManifestPairs['com.vrmc.vrmshaders'].legacyFolders);
143+
}
138144
manifest.url = packageURLPrefix + packageFileName;
139145
await fs.writeFile(manifestPath, JSON.stringify(manifest, null, '\t'));
140146

Editor/Esperecyan.Unity.VRMConverterForVRChat.Editor.asmdef

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "Esperecyan.Unity.VRMConverterForVRChat.Editor",
3+
"rootNamespace": "",
34
"references": [
45
"GUID:05dd262a0c0a2f841b8252c8c3815582",
56
"GUID:8d76e605759c3f64a957d63ef96ada7c",
67
"GUID:5f875fdc81c40184c8333b9d63c6ddd5",
78
"GUID:b7aa47b240b57de44a4b2021c143c9bf",
89
"GUID:f7b2dd4e5e1e7264089dc065c45db910",
9-
"GUID:ab550019837c3d44fb7a418b8b18e24a",
10-
"GUID:7ca0cd6f6537b414dabc7f1fa4740ea4"
10+
"GUID:ab550019837c3d44fb7a418b8b18e24a"
1111
],
1212
"includePlatforms": [
1313
"Editor"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"licensesUrl": "https://pokemori.booth.pm/items/1025226",
1111
"dependencies": {
1212
"com.vrchat.avatars": "3.5.0",
13-
"com.vrmc.univrm": "0.121.0",
14-
"jp.pokemori.univrm-extensions": "10.1.0"
13+
"com.vrmc.univrm": "0.125.0",
14+
"jp.pokemori.univrm-extensions": "10.2.0"
1515
},
1616
"author": {
1717
"name": "100の人",

0 commit comments

Comments
 (0)