Use correct path in update script and perform update

This commit is contained in:
meehl committed 2025-10-16 19:43:29 +02:00
1 parent 954dd576b7
commit a2142c759b
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<PoBVersion>
<Version number="2.56.0" branch="master" platform="any" />
<Source part="default" url="https://raw.githubusercontent.com/meehl/RustyPathOfBuilding/main/manifest/poe1/" />
<Source part="default" url="https://raw.githubusercontent.com/meehl/RustyPathOfBuilding/main/lua/poe1/" />
<Source part="origin" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding/{branch}/" />
<Source part="runtime" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding/{branch}/runtime/" />
<Source part="program" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding/{branch}/src/" />
+1 -1
View File
@@ -1,6 +1,6 @@
<PoBVersion>
<Version number="0.12.2" branch="master" platform="any" />
<Source part="default" url="https://raw.githubusercontent.com/meehl/RustyPathOfBuilding/main/manifest/poe2/" />
<Source part="default" url="https://raw.githubusercontent.com/meehl/RustyPathOfBuilding/main/lua/poe2/" />
<Source part="origin" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/{branch}/" />
<Source part="runtime" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/{branch}/runtime/" />
<Source part="program" url="https://raw.githubusercontent.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/{branch}/src/" />
+1 -1
View File
@@ -60,7 +60,7 @@ def main():
if child.get("name") == "UpdateCheck.lua":
child.set("part", "default")
path = Path(f"../manifest/{args.game}/UpdateCheck.lua")
path = Path(f"./{args.game}/UpdateCheck.lua")
data = path.read_bytes()
sha1 = hashlib.sha1(data).hexdigest()
child.set("sha1", sha1)