Updated installer for user vs system mode

This commit is contained in:
Fmstrat
2020-11-13 13:13:32 -05:00
committed by Oskar Manhart
parent 0ac0a448af
commit 8f0021d016
2 changed files with 92 additions and 14 deletions

View File

@@ -157,10 +157,10 @@ You will see output from FreeRDP, as well as potentially have to accept the init
Then the final step is to run the installer:
``` bash
$ ./install.sh
[sudo] password for fmstrat:
$ ./installer.sh --user
Removing any old configurations...
Installing...
Checking for installed apps in RDP machine...
Checking for installed apps in RDP machine (this may take a while)... Finished.
Configuring Excel... Finished.
Configuring PowerPoint... Finished.
Configuring Word... Finished.
@@ -209,10 +209,18 @@ WinApps offers a manual mode for running applications that are not configured. T
The installer can be run multiple times, so simply run:
``` bash
$ git pull
$ ./install.sh
[sudo] password for fmstrat:
$ ./installer.sh --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...
Checking for installed apps in RDP machine (this may take a while)... Finished.
Configuring Excel... Finished.
Configuring PowerPoint... Finished.
Configuring Word... Finished.
@@ -220,6 +228,15 @@ Installing...
Installation complete.
```
## Installer usage
The following commands can be used to manage your application configurations:
``` bash
./installer.sh --user # Configure applications for the current user
./installer.sh --system # Configure applications for the entire system
./installer.sh --user --uninstall # Remove all configured applications for the current user
./installer.sh --system --uninstall # Remove all configured applications for the entire system
```
## Shout outs
- Some icons pulled from
- Fluent UI React - Icons under [MIT License](https://github.com/Fmstrat/fluent-ui-react/blob/master/LICENSE.md)