Closed TrickShotMLG02 closed 2 years ago
Your remote web directory has the wrong content. I can see you have a zip into the Updater folder, that's wrong: you need to copy the Updater folder in the same way PATCH generates it, with all the files. Refer to this section in the wiki: https://github.com/emanzione/PATCH/wiki/The-Launcher#uploading-the-first-update
My updater folder only contains a jsonfile called updater_index.json There is nothing else. Is that correct?
No, it's not correct. You need to process the Launcher update like explained here: https://github.com/emanzione/PATCH/wiki/The-Launcher#first-launcher-update
Well, i am sorry if i messed some things up, but i created a release of the launcher using the wpf. In the build directory i now have some files. Do i need to copy them to the Updater directory and run the admin tool in unity?
Now i have the files from the launcher including the updater_index.json
If i upload these files to my server and open the launcher, every file gets downloaded and renamed like xxx.temp.delete_me and nothing changes
This is how the remote Updater folder should look like:
The updater_index.json
file keeps track of the metadata for those specific files, so it's important you run the processing from the PATCH Admin tool (through Unity or through the CLI, it's the same).
The Launcher renames files to .delete_me
when the files are locked and cannot be replaced. Instead they are renamed and new files with the updated content get created. They will be deleted the next time you open the Launcher.
So i dont't need to upload the json file but all the other files in the updater directory. Right?
You need to upload all the files, even the updater_index.json
file.
As I said, please refer to this section in the wiki: https://github.com/emanzione/PATCH/wiki/The-Launcher#first-launcher-update
Nvm i didn't notice the json file at the bottom.
I will try it this afternoon Thanks
I have done everything as you described and the update of the launcher works for now. But the .delete_me files wont get deleted after the update
They normally get deleted on the next restart of the Launcher. Unless they get re-created for some reason.
``before:![image](https://user-images.githubusercontent.com/43967908/161442675-4978b04a-481e-49e1-8067-a281d8da6188.png)
while running the update:![Inked161442695-32909434-88d5-4a58-b588-a8c5e037254b_LI](https://user-images.githubusercontent.com/43967908/161442844-4e606688-9015-4fc5-a307-e82f1b83fc91.jpg)
After the launcher closes itself
(these files are not getting replaced and the launcher wont start until i manually remove the original file and rename the new one
Log:
Question: I dont event have the file mentioned in my log. How do i get that? https://XXX.net/XXX/patch/Updater/ForgottenBarrageLauncher.pdb
My Web directory:![image](https://user-images.githubusercontent.com/43967908/161443139-bf47a5bf-522f-4e8f-ae77-e2e340a37b1b.png)
Contents of the zip file:![image](https://user-images.githubusercontent.com/43967908/161443163-0df7e86f-75bd-4a61-b577-44d3abf38967.png)