aboutsummaryrefslogtreecommitdiff
path: root/launcher/updater
diff options
context:
space:
mode:
authorswirl <swurl@swurl.xyz>2022-01-10 12:46:43 -0500
committerswirl <swurl@swurl.xyz>2022-01-10 12:47:35 -0500
commit1d8196e11a3ff901d5e65d9f6dc4d2ea98df3cc8 (patch)
tree0004d3815aabd9198b0d9f87349a202243ce85bf /launcher/updater
parentc7f6f94930bb3bd13a2e77a959291a4d755a793f (diff)
downloadPrismLauncher-1d8196e11a3ff901d5e65d9f6dc4d2ea98df3cc8.tar.gz
PrismLauncher-1d8196e11a3ff901d5e65d9f6dc4d2ea98df3cc8.tar.bz2
PrismLauncher-1d8196e11a3ff901d5e65d9f6dc4d2ea98df3cc8.zip
More rebranding
Closes: #39 Mostly done with rebranding now. We just need to translate some services to PolyMC.
Diffstat (limited to 'launcher/updater')
-rw-r--r--launcher/updater/DownloadTask.h3
-rw-r--r--launcher/updater/GoUpdate.cpp2
-rw-r--r--launcher/updater/testdata/tst_DownloadTask-test_writeInstallScript.xml4
3 files changed, 5 insertions, 4 deletions
diff --git a/launcher/updater/DownloadTask.h b/launcher/updater/DownloadTask.h
index eac26238..f47a3048 100644
--- a/launcher/updater/DownloadTask.h
+++ b/launcher/updater/DownloadTask.h
@@ -54,7 +54,7 @@ protected:
/*!
* Downloads the version info files from the repository.
* The files for both the current build, and the build that we're updating to need to be downloaded.
- * If the current version's info file can't be found, MultiMC will not delete files that
+ * If the current version's info file can't be found, PolyMC will not delete files that
* were removed between versions. It will still replace files that have changed, however.
* Note that although the repository URL for the current version is not given to the update task,
* the task will attempt to look it up in the UpdateChecker's channel list.
@@ -97,3 +97,4 @@ private:
};
}
+
diff --git a/launcher/updater/GoUpdate.cpp b/launcher/updater/GoUpdate.cpp
index 76f68b55..91f30b5d 100644
--- a/launcher/updater/GoUpdate.cpp
+++ b/launcher/updater/GoUpdate.cpp
@@ -104,7 +104,7 @@ bool processFileLists
}
}
- // Next, check each file in MultiMC's folder and see if we need to update them.
+ // Next, check each file in PolyMC's folder and see if we need to update them.
for (VersionFileEntry entry : newVersion)
{
// TODO: Let's not MD5sum a ton of files on the GUI thread. We should probably find a
diff --git a/launcher/updater/testdata/tst_DownloadTask-test_writeInstallScript.xml b/launcher/updater/testdata/tst_DownloadTask-test_writeInstallScript.xml
index 09c162ca..38ecc809 100644
--- a/launcher/updater/testdata/tst_DownloadTask-test_writeInstallScript.xml
+++ b/launcher/updater/testdata/tst_DownloadTask-test_writeInstallScript.xml
@@ -6,8 +6,8 @@
<mode>0777</mode>
</file>
<file>
- <source>MultiMC.exe</source>
- <dest>M/u/l/t/i/M/C/e/x/e</dest>
+ <source>PolyMC.exe</source>
+ <dest>P/o/l/y/M/C/e/x/e</dest>
<mode>0644</mode>
</file>
</install>