minor update

This commit is contained in:
h z
2024-06-23 03:03:26 +08:00
parent ffa03575b2
commit 7615f8939a

View File

@@ -9,6 +9,8 @@ for x in d['data']:
w = open('SkeletonTest.csproj', 'r').read() w = open('SkeletonTest.csproj', 'r').read()
s = w.split('<ItemGroup>') s = w.split('<ItemGroup>')
w = s[0] + '<ItemGroup>\n<PackageReference Include="Skeleton" Version="'+version+'"/>' + s[1] s[1] = '\n<PackageReference Include="Skeleton" Version="'+version+'"/>\n' + s[1]
w = '<ItemGroup>'.join(w)
print(w)
with open('SkeletonTest.csproj', 'w') as f: with open('SkeletonTest.csproj', 'w') as f:
f.write(w) f.write(w)