Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not overwrite the version.txt file #4

Open
QuebradaZN opened this issue Dec 14, 2022 · 2 comments · Fixed by opentibiabr/canary-launcher#1 · May be fixed by #5
Open

do not overwrite the version.txt file #4

QuebradaZN opened this issue Dec 14, 2022 · 2 comments · Fixed by opentibiabr/canary-launcher#1 · May be fixed by #5

Comments

@QuebradaZN
Copy link

QuebradaZN commented Dec 14, 2022

does not replace the version.txt file
in version.txt you add the version you want to load, for example 0.5, you update with the launcher, to do another update, you need to delete the entire client folder to do a new update

@lucasgiovannibr
Copy link
Owner

Make sure the txt download and verification location is set correctly in the code itself.

@QuebradaZN
Copy link
Author

In MainWindows.xaml.cs file
string urlVersion = "****/main/version.txt";

In SplashScreen.xaml.cs
string urlVersion = "****/main/version.txt"

image

@dudantas dudantas linked a pull request Feb 2, 2023 that will close this issue
dudantas added a commit to opentibiabr/canary-launcher that referenced this issue Jul 26, 2023
Resolves lucasgiovannibr#4

New features:
• Customizable executable name ( CanaryLauncher ), in the CanaryLauncher.csproj file
• Customizable executable icon
• Adds a shortcut to the launcher on the desktop
• The images in the "assets" folder are now linked to the executable
• Restructuring of the csproj file
• The launcher settings have been added to a "launcher_config.json" json file, which will be hosted on a URL. After downloading the new client, it will be copied from the URL to the launcher folder and will be used to compare the current client version with the new one on the URL, being used for download.
• The "maximize" button from the launcher has been removed, as it served no purpose.
• Adds the "onlinenumbers/eventschedule/boostedcreature.json" cache files as read-only.
• Some improvements and optimizations in the behavior of the launcher, it will no longer freeze the program when extracting and copying files, and a message "Wait... Finishing." will also appear, so there is no impression that the program is stopped.
• When the launcher opens, if there are no updates, it will automatically redirect to the client, without even showing any message from the launcher, optimizing the user experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants