HiveMinds / tw-install

Automatically installs Taskwarrior, Taskserver (TODO: and Timewarrior). This project aims to support automated installation of all Taskwarrior hook scripts, configuration flavours etc. with a single command.
GNU Affero General Public License v3.0
17 stars 7 forks source link

Ask the user for input of the cert and backup files in Taskwarrior `ImportFiles.java` #62

Closed a-t-0 closed 3 years ago

a-t-0 commented 3 years ago
      <p>Currently the prompt for the user to input (missing) backup restoration- and certificate- files, is commented out twice in:<br>

https://github.com/a-t-0/Taskwarrior-installation/blob/master/AutoInstallTaskwarrior/src/main/java/autoinstalltaskwarrior/ImportFiles.java.

This is because the powershell already checks if the files are present to prevent the javascript from waiting forever for the user to confirm the user has put the desired files in the directory, when the user does not know the javascript waits on the user because powershell only displays the output of the .jar file after it is completely completed.

However in case a user wants to use the taskwarrior installation .jar manually, without the powershell checks, the .jar should ask the user for those input files.

a-t-0 commented 3 years ago

The Java installer is abandoned in favour for a bash installer.