-
Notifications
You must be signed in to change notification settings - Fork 13
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
Pre-4.0.0 Config Files Cannot Be Used and Need Migrated #6
Comments
This issue appears to be related to having an old config file in the config dir. The workaround is to move it or delete it. We may want to add some migration code. Or even a "test if json" check. |
-h|--help
optarg does not work until the config has been generated
I think you're right. The ultimate error you're seeing is because
So then the question becomes what to do about it? I like the config migration idea. Can you send me a valid config file from the bash script? I can see what it might take to convert it. |
Here is a config I backed up before running the Python app.
One of these appears to be broken: I would think the main thing we could migrate would be the An issue we will bump into though is if a user tries to install an AppImage install and but the previous install is using a system binary. In general, our check for a previous install should solve that, but if we ever want to be able to update an install in place, I would think we would need to do something more. The issues I'm thinking of that could be of some conflict are: ferion11/LogosLinuxInstaller#130 That being said, we don't need to solve those in this issue, as they will require a fair amount of work. Once we release, I would see ferion11/LogosLinuxInstaller/issues/130 as being our next big target for improvement. |
One last thought: another config var available only post-login that is useful for backups is the random Logos user ID. This should be visible in the backup/restore code in Bash. We might want to add this to the config. This is how Logos would recognize different logins on the same device. This was obtained in the launcher. |
If |
Another possibility to consider is to call the v4+ config file |
This would certainly be the easiest solution and follows naming scheme better. |
Attempting to run the binary with
-h|--help
reports the following error when the program hasn't been run at least once:./dist/LogosLinuxInstaller -h
This also applies to running the main script:
./LogosLinuxInstaller.py -h
The text was updated successfully, but these errors were encountered: