New and improved and automated updates!

This commit is contained in:
alterNERDtive 2020-07-31 07:03:31 +02:00
parent 4d58bba1f4
commit de21754069
4 changed files with 32 additions and 22 deletions

View file

@ -32,9 +32,9 @@ steps _once_ when updating to this version:
you have changed either through voice commands or fiddling with commands you have changed either through voice commands or fiddling with commands
manually (dont do the latter, please). manually (dont do the latter, please).
In the future you will be able to update to new version of my profiles by simply You will only have to do this once. In the future you will also be able to make
dropping the profile package into your VoiceAttacks `\Apps\Import` subfolder, use of the new, improved and basically automated update process described in the
as described in the README. README. Yay!
## EliteDangerous 7.0 ## EliteDangerous 7.0

View file

@ -129,28 +129,30 @@ likely just ignore them.
## Updating ## ## Updating ##
To make sure that a new version of the profiles actually replaces the old one, ### The Best™ Way ###
you cant simply import them again. That would import them as additional copies
(“\<profile\>-1”).
Instead youll have to drop the profile package into the `\Apps\Import` Say “check for profiles update”. If it finds one, say “download profiles
subfolder of your VoiceAttack installation directory and re-start VoiceAttack. update”. Restart VoiceAttack.
It will prompt you to import the profile package. I have added an “open
voiceattack import folder” command to all profiles for your convenience!
**Note**: This will make VoiceAttack run with admin privileges. If you do not There will also be an update check every time `EliteDangerous.startup` is run.
### The Manual Way ###
If you dont like automation or do not use all provided profiles, youll have to
update semi-manually.
Say “open VoiceAttack import folder”. Download the current release profile
package, drop it in there. Restart VoiceAttack.
### Note about Admin Privileges ###
The update process will run VoiceAttack with admin privileges. If you do not
usually run VoiceAttack with admin privileges, do _not_ have it start usually run VoiceAttack with admin privileges, do _not_ have it start
VoiceAttack for you after importing the profiles. It will keep running with VoiceAttack for you after importing the profiles update. It will keep running
elevated privileges. Instead re-start it manually. If you are not sure if you with elevated privileges. Instead restart it manually. If you are not sure if
are running with elevated privileges check the “VoiceAttack Information” thing you are running with elevated privileges check the “VoiceAttack Information”
mentioned above. It will include a line about it if it does. dialog in VoiceAttack General settings → “System Info >”. It will include a line
about running with admin prvileges if it does.
If you delete anything by accident or something didnt work out quite like you
intended, you can find backups of VoiceAttacks data file in
`%AppData%\VoiceAttack\Backup`. They get saved every time you change settings or
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
old “VoiceAttack.dat” file and rename the backup to that.
### Major Version Changes ### ### Major Version Changes ###

View file

@ -408,6 +408,14 @@ manipulating some UI element(s).
Probably needs to be adjusted if you are not playing with Neo2 keyboard layout Probably needs to be adjusted if you are not playing with Neo2 keyboard layout
:) :)
### Update Commands ###
* `check for profiles update`: Does just that. Is also automatically run each
time the profile is started.
* `download profiles update`: Downloads a profiles update if applicable. Will
prompt you to restart VoiceAttack when the download has finished to import the
updated profiles.
### Configuration Variables ### ### Configuration Variables ###
There are a bunch of configuration variables. You should not overwrite those There are a bunch of configuration variables. You should not overwrite those

Binary file not shown.