Skip to content

Commit

Permalink
Updated installer to autodetect applications
Browse files Browse the repository at this point in the history
  • Loading branch information
Fmstrat committed Nov 20, 2020
1 parent f38d7cb commit 803a82f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 47 deletions.
55 changes: 8 additions & 47 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,25 +169,12 @@ If this step fails, try restarting the VM, or your problem could be related to:

Then the final step is to run the installer which will prompt you for a system or user install:
``` bash
$ ./installer.sh
? Would you like to install for the current user or the whole system? User
Removing any old configurations...
Installing...
Checking for installed apps in RDP machine (this may take a while)... Finished.
? How would you like to handle WinApps pre-configured applications? Set up all detected pre-configured applications
Configuring Acrobat X Pro... Finished.
Configuring Bridge CS6... Finished.
Configuring Cmd... Finished.
Configuring Excel... Finished.
Configuring Explorer... Finished.
Configuring Internet Explorer... Finished.
Configuring Photoshop CS6... Finished.
Configuring PowerPoint... Finished.
Configuring Powershell... Finished.
Configuring Word... Finished.
Configuring Windows... Finished.
Installation complete.
./installer.sh
```
This will take you through the following process:

<img src="demo/installer.gif" width=1000>


## Adding applications
Adding applications to the installer is easy. Simply copy one of the application configurations in the `apps` folder, and:
Expand All @@ -206,38 +193,12 @@ WinApps offers a manual mode for running applications that are not configured. T
```

## Checking for new application support
The installer can be run multiple times, so simply run:
The installer can be run multiple times, so simply run the below again and it will remove any current installations and update for the latest applications.
``` bash
$ git pull
$ ./installer.sh
? Would you like to install for the current user or the whole system? User
Removing any old configurations...
Removing /home/fmstrat/.local/share/applications/excel.desktop... Finished.
Removing /home/fmstrat/.local/share/applications/powerpoint.desktop... Finished.
Removing /home/fmstrat/.local/share/applications/windows.desktop... Finished.
Removing /home/fmstrat/.local/share/applications/word.desktop... Finished.
Removing /home/fmstrat/.local/bin/excel... Finished.
Removing /home/fmstrat/.local/bin/powerpoint... Finished.
Removing /home/fmstrat/.local/bin/windows... Finished.
Removing /home/fmstrat/.local/bin/word... Finished.
Installing...
Checking for installed apps in RDP machine (this may take a while)... Finished.
? How would you like to handle WinApps pre-configured applications? Set up all detected pre-configured applications
Configuring Acrobat X Pro... Finished.
Configuring Bridge CS6... Finished.
Configuring Cmd... Finished.
Configuring Excel... Finished.
Configuring Explorer... Finished.
Configuring Internet Explorer... Finished.
Configuring Photoshop CS6... Finished.
Configuring PowerPoint... Finished.
Configuring Powershell... Finished.
Configuring Word... Finished.
Configuring Windows... Finished.
Installation complete.
./installer.sh
```

## Installer usage
## Optional installer command line arguments
The following optional commands can be used to manage your application configurations without prompts:
``` bash
./installer.sh --user # Configure applications for the current user
Expand Down
Binary file added demo/installer.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 803a82f

Please sign in to comment.