DNSTechpack / DNS12-MC1.12.2

DNS Techpack version 12.x.x for Minecraft 1.12.2
8 stars 5 forks source link

ATLauncher outdated referrences #70

Closed leagris closed 5 years ago

leagris commented 5 years ago

Madcock83 commented 5 years ago

Website links are changed. Will change discord invite when I'm back at my pc. Thank you

leagris commented 5 years ago

15 links persists in the ATLauncher Config.xml

wget \
--quiet \
--output-document=- \
https://download.nodecdn.net/containers/atl/packs/DNSTechpack/versions/12.0.12.0/Configs.xml \
| grep \
--ignore-case \
dnstechpack.com \
| wc --lines
15

You can fix all referrences in the Config.xml with:

wget \
--quiet \
--output-document=- \
https://download.nodecdn.net/containers/atl/packs/DNSTechpack/versions/12.0.12.0/Configs.xml \
| sed \
--regexp-extended 's/dnstechpack\.com/dnspack.weebly.com/gi;s/(discord\.gg\/)0abLGwcRy9amWzRa/\1hYxTS4g/g' \
> Config.xml

Then uploads the fixed Config.xml back to ATLauncher

Madcock83 commented 5 years ago

As far as I know that .xml is on the ATlauncher side. We cant change that

robaimes commented 5 years ago

@Madcock83 It's on things such as the title screen zip.

<mod name="DNS Title Logo" version="2.0.0" ... website="http://dnstechpack.com" hidden="yes" description="Just our logo for the title screen"/>
Madcock83 commented 5 years ago

ahh. then its not that big of a deal

Madcock83 commented 5 years ago

Alright, should all be fixed

leagris commented 5 years ago

As far as I know that .xml is on the ATlauncher side. We cant change that

https://admin.atlauncher.com/pack/DNSTechpack/versions/12.0.12.0

There you have the xml editor where you can make the needed changes or paste a replacement xml

Madcock83 commented 5 years ago

its been done. i didnt see anymore references to the old domain

leagris commented 5 years ago
wget --quiet --output-document=- https://download.nodecdn.net/containers/atl/packs/DNSTechpack/versions/dev-1.12.2/Configs.xml | grep --ignore-case dnstechpack.com | wc --lines
4

→ Still 4 in your dev version of the pack

wget --quiet --output-document=- https://download.nodecdn.net/containers/atl/packs/DNSTechpack/versions/12.0.12.0/Configs.xml | grep --ignore-case dnstechpack.com | wc --lines
15

→ Still 15 references in the published version 12.0.12.0

ATLauncher allow you to update the XML of published versions, so you can fix that last one in-place without publishing a new revision of your development version.