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

Implement a Logos Update Routine #116

Open
thw26 opened this issue Jun 27, 2024 · 1 comment
Open

Implement a Logos Update Routine #116

thw26 opened this issue Jun 27, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request installer This issue is related to the install routine

Comments

@thw26
Copy link
Collaborator

thw26 commented Jun 27, 2024

In order to get one of the most important features working, we need to implement an update-logos(). This function should accomplish the following steps:

  1. Compare the user's installed Logos version to those available in the XML; if a new one is available, offer an update Logos button.
  • Near the top of /home/user/LogosBible10/data/wine64_bottle/drive_c/users/deck/AppData/Local/Logos/System/LogosUpdater.deps.json
  1. Move the currently installed resources out of the way to be restored later using Linux mv, call it move().
  2. Install the newest MSI or a selected MSI, which due to a blank data folder wipes out the user's data folder.
  3. Restore the user's data folder.
  4. Run the update-resources(), in development by @n8marti.
  5. Run the indexer.

This code may need to stop a running Logos client.

@thw26 thw26 added the installer This issue is related to the install routine label Jun 27, 2024
@thw26 thw26 added this to the Release 1.0.0 milestone Jun 27, 2024
@thw26 thw26 added the enhancement New feature or request label Jun 27, 2024
@thw26
Copy link
Collaborator Author

thw26 commented Sep 17, 2024

Using the latest 36+, I was able to update books and my Logos install from within the app. Unfortunately, we are seeing the instant crash issue during this time, which is frustrating, but doesn't appear to be a complete showstopper.

I would think the code you have developed might still be useful, at least for partial updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request installer This issue is related to the install routine
Projects
None yet
Development

No branches or pull requests

2 participants