Skip to content

Commit 4929636

Browse files
author
LocalIdentity
committed
Change xml format + references to old PoB 1 repo
1 parent 6edfe72 commit 4929636

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ The easiest way to make and test changes is by setting up a development installa
6060

6161
1. Clone the repository using this command:
6262

63-
git clone -b dev https://github.com/PathOfBuildingCommunity/PathOfBuilding.git
63+
git clone -b dev https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2.git
6464

65-
2. Go to the actual folder on your computer where you cloned Path of Building. (e.g. C:/XX/GitHub/PathOfBuilding/runtime/)
65+
2. Go to the actual folder on your computer where you cloned Path of Building. (e.g. C:/XX/GitHub/PathOfBuilding-PoE2/runtime/)
6666

67-
cd PathOfBuilding
67+
cd PathOfBuilding-PoE2
6868

6969
3. Start Path of Building from the repository by running `./runtime/Path{space}of{space}Building.exe`.
7070

@@ -107,7 +107,7 @@ Note: If you've configured a remote already, you can skip ahead to step 3.
107107

108108
1. Add a new remote repository and name it `upstream`.
109109

110-
git remote add upstream https://github.com/PathOfBuildingCommunity/PathOfBuilding.git
110+
git remote add upstream https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2.git
111111
2. Verify that adding the remote worked.
112112

113113
git remote -v

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ RUN luarocks install busted 2.2.0-1;\
3636
RUN --mount=type=cache,from=emmyluadebugger,source=/opt,target=/opt make -C /opt/EmmyLuaDebugger/build/ install
3737
RUN --mount=type=cache,from=luajit,source=/opt,target=/opt make -C /opt/LuaJIT/ install
3838

39-
CMD [ "echo", "This container is meant to be ran with docker compose. See: https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/dev/CONTRIBUTING.md" ]
39+
CMD [ "echo", "This container is meant to be ran with docker compose. See: https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/blob/dev/CONTRIBUTING.md" ]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This is a fork of Openarl's Path Of Building that includes many extra features n
2929
* Support for Ryslatha's Coil, Vaal Arc Lucky Buff, Perquil's Toe and more
3030

3131
## Download
32-
Head over to the [Releases](https://github.com/PathOfBuildingCommunity/PathOfBuilding/releases) page to download the install wizard or portable zip.
32+
Head over to the [Releases](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/releases) page to download the install wizard or portable zip.
3333

3434
## Contribute
3535
You can find instructions on how to contribute code and bug reports [here](CONTRIBUTING.md).

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Releases are done via GitHub actions in order to simplify release note generatio
1212

1313
Steps:
1414
1. First, update any GGPK files and tree files needed in the dev branch. This will minimize what you have to update later.
15-
2. [Navigate to the "Release new version" action](https://github.com/PathOfBuildingCommunity/PathOfBuilding/actions/workflows/release.yml)
15+
2. [Navigate to the "Release new version" action](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/actions/workflows/release.yml)
1616
3. Click "Run workflow" on the right, and fill in the values
1717
- Run the workflow from the 'dev' branch
18-
- Fill in the [most recent tag](https://github.com/PathOfBuildingCommunity/PathOfBuilding/tags)
18+
- Fill in the [most recent tag](https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/tags)
1919
- Choose a new version number (see above)
2020
4. This will run and create a new branch and PR so you can review the changes, making tweaks to any of the release notes that don't make sense
2121
5. If you changed any files after the PR was created, you'll have to update [the manifest file](manifest.xml)
@@ -76,7 +76,7 @@ Steps to Generate Timeless Jewel LuTs for PoB:
7676
E:\PoB Dev Work\TimelessJewelData\AlternatePassiveAdditions.json
7777
E:\PoB Dev Work\TimelessJewelData\AlternatePassiveSkills.json
7878
E:\PoB Dev Work\GGG Skill Tree\data.json
79-
E:\PoB Dev Work\PathOfBuildingCommunity\src\Data\TimelessJewelData
79+
E:\PoB Dev Work\PathOfBuilding-PoE2\src\Data\TimelessJewelData
8080
6. Choose Compressed
8181
7. Replace updated Files in \src\Data\TimelessJewelData
8282

src/Classes/PartyTab.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ local PartyTabClass = newClass("PartyTab", "ControlHost", "Control", function(se
193193
if not dbXML then
194194
launch:ShowErrMsg("^1Error loading '%s': %s", fileName, errMsg)
195195
return
196-
elseif dbXML[1].elem ~= "PathOfBuilding" then
197-
launch:ShowErrMsg("^1Error parsing '%s': 'PathOfBuilding' root element missing", fileName)
196+
elseif dbXML[1].elem ~= "PathOfBuilding2" then
197+
launch:ShowErrMsg("^1Error parsing '%s': 'PathOfBuilding2' root element missing", fileName)
198198
return
199199
end
200200

src/Modules/Build.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,8 +1795,8 @@ function buildMode:LoadDB(xmlText, fileName)
17951795
elseif #dbXML == 0 then
17961796
main:OpenMessagePopup("Error", "Build file is empty, or error parsing xml.\n\n"..fileName)
17971797
return true
1798-
elseif dbXML[1].elem ~= "PathOfBuilding" then
1799-
launch:ShowErrMsg("^1Error parsing '%s': 'PathOfBuilding' root element missing", fileName)
1798+
elseif dbXML[1].elem ~= "PathOfBuilding2" then
1799+
launch:ShowErrMsg("^1Error parsing '%s': 'PathOfBuilding2' root element missing", fileName)
18001800
return true
18011801
end
18021802

@@ -1842,7 +1842,7 @@ function buildMode:LoadDBFile()
18421842
end
18431843

18441844
function buildMode:SaveDB(fileName)
1845-
local dbXML = { elem = "PathOfBuilding" }
1845+
local dbXML = { elem = "PathOfBuilding2" }
18461846

18471847
-- Save Build section first
18481848
do

src/Modules/Main.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,8 @@ function main:LoadSettings(ignoreBuild)
500500
local setXML, errMsg = common.xml.LoadXMLFile(self.userPath.."Settings.xml")
501501
if not setXML then
502502
return true
503-
elseif setXML[1].elem ~= "PathOfBuilding" then
504-
launch:ShowErrMsg("^1Error parsing 'Settings.xml': 'PathOfBuilding' root element missing")
503+
elseif setXML[1].elem ~= "PathOfBuilding2" then
504+
launch:ShowErrMsg("^1Error parsing 'Settings.xml': 'PathOfBuilding2' root element missing")
505505
return true
506506
end
507507
for _, node in ipairs(setXML[1]) do
@@ -625,8 +625,8 @@ function main:LoadSharedItems()
625625
local setXML, errMsg = common.xml.LoadXMLFile(self.userPath.."Settings.xml")
626626
if not setXML then
627627
return true
628-
elseif setXML[1].elem ~= "PathOfBuilding" then
629-
launch:ShowErrMsg("^1Error parsing 'Settings.xml': 'PathOfBuilding' root element missing")
628+
elseif setXML[1].elem ~= "PathOfBuilding2" then
629+
launch:ShowErrMsg("^1Error parsing 'Settings.xml': 'PathOfBuilding2' root element missing")
630630
return true
631631
end
632632
for _, node in ipairs(setXML[1]) do
@@ -665,7 +665,7 @@ function main:LoadSharedItems()
665665
end
666666

667667
function main:SaveSettings()
668-
local setXML = { elem = "PathOfBuilding" }
668+
local setXML = { elem = "PathOfBuilding2" }
669669
local mode = { elem = "Mode", attrib = { mode = self.mode } }
670670
for _, val in ipairs({ self:CallMode("GetArgs") }) do
671671
local child = { elem = "Arg", attrib = { } }
@@ -745,7 +745,7 @@ function main:OpenPathPopup(invalidPath, ignoreBuild)
745745
"\nSpecify a new location for your Settings.xml:"
746746
end)
747747
controls.explainButton = new("ButtonControl", { "LEFT", controls.label, "RIGHT" }, { 4, 0, 20, 20 }, "?", function()
748-
OpenURL("https://github.com/PathOfBuildingCommunity/PathOfBuilding/wiki/Why-do-I-have-to-change-my-Settings-path%3F")
748+
OpenURL("https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/wiki/Why-do-I-have-to-change-my-Settings-path%3F")
749749
end)
750750
controls.userPath = new("EditControl", { "TOPLEFT", controls.label, "TOPLEFT" }, { 0, 60, 206, 20 }, invalidPath, nil, nil, nil, function(buf)
751751
invalidPath = sanitiseText(buf)
@@ -1210,8 +1210,8 @@ function main:OpenAboutPopup(helpSectionIndex)
12101210
end)
12111211
controls.version = new("LabelControl", nil, {0, 18, 0, 18}, "^7Path of Building Community Fork v"..launch.versionNumber)
12121212
controls.forum = new("LabelControl", nil, {0, 36, 0, 18}, "^7Based on Openarl's Path of Building")
1213-
controls.github = new("ButtonControl", nil, {0, 62, 438, 18}, "^7GitHub page: ^x4040FFhttps://github.com/PathOfBuildingCommunity/PathOfBuilding", function(control)
1214-
OpenURL("https://github.com/PathOfBuildingCommunity/PathOfBuilding")
1213+
controls.github = new("ButtonControl", nil, {0, 62, 438, 18}, "^7GitHub page: ^x4040FFhttps://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2", function(control)
1214+
OpenURL("https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2")
12151215
end)
12161216
controls.verLabel = new("ButtonControl", {"TOPLEFT", nil, "TOPLEFT"}, {10, 85, 100, 18}, "^7Version history:", function()
12171217
controls.changelog.list = changeList

0 commit comments

Comments
 (0)