Proper profile updating! Yay!!!!

fixes #48
This commit is contained in:
alterNERDtive 2020-07-31 05:57:34 +02:00
parent e22656da1e
commit 833f6bcd0f
6 changed files with 69 additions and 25 deletions

View file

@ -1,25 +1,52 @@
# devel # devel
A bug fix release turned major version update. Thats something new.
**Note**: Since 2.0.1 you are probably seeing a warning about the profiles **Note**: Since 2.0.1 you are probably seeing a warning about the profiles
having been created with a newer VoiceAttack version. I am currently alpha having been created with a newer VoiceAttack version. I am currently alpha
testing a VoiceAttack build containing a bug fix. You should be able to safely testing a VoiceAttack build containing a bug fix. You should be able to safely
ignore that message :) ignore that message :)
Updated the “Updating” instructions in the README. Sadly its a bit more **BREAKING CHANGE IN ALL PROFILES**:
convoluted in practice than just “import the new profile package”.
I have submitted a feature request on the VA formus to make it less of a hassle The profiles now contain flags that will make them overwrite the current version
in the future. Until theres a better way I will include all profiles that have if you import them, streamlining the update process and making it work like
been updated on the release pages in addition to the profile package. That way I expected it to work in the first place.
you only have to go through the process of deleting the old profile, importing
the new one and fixing the includes for profiles that have actually changed.
## EliteDangerous 6.0.2 In order for this to work properly in the future, you need to do the following
steps _once_ when updating to this version:
1. Keep track of which of your profiles import any of my profiles and which
ones.
1. Delete all of my profiles from VoiceAttack (`EliteDangerous`, `RatAttack`,
`SpanshAttack`, `StreamAttack`). Technically also `SealAttack`, but since
I am not currently including this you might want to keep it around if you are
actually using it.
1. Import the updated profiles, either manually or in the way described under
“Updating” in the README.
1. Fix all profiles that include the updated profiles. You are going to have to
re-add the includes (“Edit Profile” → “Options” → “Include commands from
other profiles”).
1. If you havent yet created your own custom profile and imported mine there,
a) do that now for the future and b) youll have to re-configure any settings
you have changed either through voice commands or fiddling with commands
manually (dont do the latter, please).
In the future you will be able to update to new version of my profiles by simply
dropping the profile package into your VoiceAttacks `\Apps\Import` subfolder,
as described in the README.
## EliteDangerous 7.0
### Added ### Added
* Parameterized `EliteDangerous.openSystemOnEdsm` command * Parameterized `EliteDangerous.openSystemOnEdsm` command
### Changed
* Is now set up to overwrite an old version on import. See “Updating”
instructions in the README.
### Fixed ### Fixed
* `Route details event` now only firing when it should, not on automated * `Route details event` now only firing when it should, not on automated
@ -35,7 +62,12 @@ the new one and fixing the includes for profiles that have actually changed.
* `EliteDangerous.openCurrentSystemOnEdsm`, * `EliteDangerous.openCurrentSystemOnEdsm`,
`EliteDangerous.openCopiedSystemOnEdsm` `EliteDangerous.openCopiedSystemOnEdsm`
## RatAttack 4.0.2 ## RatAttack 5.0
### Changed
* Is now set up to overwrite an old version on import. See “Updating”
instructions in the README.
### Fixed ### Fixed
@ -53,6 +85,20 @@ When the Seals IRC becomes a thing, Ill reintroduce this profile, based on th
then-current version of RatAttack. Thats less work than trying to get current then-current version of RatAttack. Thats less work than trying to get current
SealAttack up to date SealAttack up to date
## SpanshAttack 6.0
### Changed
* Is now set up to overwrite an old version on import. See “Updating”
instructions in the README.
## StreamAttack 1.0
### Changed
* Is now set up to overwrite an old version on import. See “Updating”
instructions in the README.
----- -----
# 2.0.1 (2020-07-21) # 2.0.1 (2020-07-21)

View file

@ -129,26 +129,24 @@ likely just ignore them.
## Updating ## ## Updating ##
Sadly VoiceAttack doesnt let you overwrite an existing profile when you import To make sure that a new version of the profiles actually replaces the old one,
a different (newer) version of it. So youll have to follow these steps: you cant simply import them again. That would import them as additional copies
(“\<profile\>-1”).
1. Look at the release page and see which profiles have been updated (theyll Instead youll have to drop the profile package into the `\Apps\Import`
also be attached as single `.vap` files to the release) subfolder of your VoiceAttack installation directory and re-start VoiceAttack.
1. Delete these profiles from your VoiceAttack. It will prompt you to import the profile package. I have added an “open
1. Import the updated profiles. voiceattack import folder” command to all profiles for your convenience!
1. Fix all profiles that include the updated profiles. You are going to have to
re-add the includes (“Edit Profile” → “Options” → “Include commands from
other profiles”).
You could also delete _all_ the profiles, then re-import the entire release **Note**: This will make VoiceAttack run with admin privileges. If you do not
package (the `.vax` file). You will still have to fix the includes. usually run VoiceAttack with admin privileges, do _not_ have it start
VoiceAttack for you after importing the profiles. It will keep running with
If you have followed the installation instructions above, you will not lose any elevated privileges. Instead re-start it manually. If you are not sure if you
of the changes you have made since they will be in a separate profile. **Do not are running with elevated privileges check the “VoiceAttack Information” thing
delete** that profile! mentioned above. It will include a line about it if it does.
If you delete anything by accident or something didnt work out quite like you If you delete anything by accident or something didnt work out quite like you
intended, you can find backups of VoiceAttacks data file in intended, you can find backups of VoiceAttacks data file in
`%AppData%\VoiceAttack\Backup`. They get saved every time you change settings or `%AppData%\VoiceAttack\Backup`. They get saved every time you change settings or
profiles. To restore, close VoiceAttack, find the file with the right timestamp profiles. To restore, close VoiceAttack, find the file with the right timestamp
just before you made the changes, copy it to the parent directory, remove the just before you made the changes, copy it to the parent directory, remove the

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.