mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-04 06:07:19 +02:00
Updated for configuration
This commit is contained in:
parent
4c91257152
commit
84c97a5541
21
README.md
21
README.md
@ -54,7 +54,7 @@ virsh define kvm/RDPWindows.xml
|
|||||||
virsh autostart RDPWindows
|
virsh autostart RDPWindows
|
||||||
```
|
```
|
||||||
|
|
||||||
You will now want to change any settings on the VM and install Windows. You can access the VM with:
|
You will now want to change any settings on the VM and install Windows and whatever programs you would like, such as Microsoft Office. You can access the VM with:
|
||||||
``` bash
|
``` bash
|
||||||
virt-manager
|
virt-manager
|
||||||
```
|
```
|
||||||
@ -74,10 +74,11 @@ $ ./install.sh
|
|||||||
[sudo] password for fmstrat:
|
[sudo] password for fmstrat:
|
||||||
Installing...
|
Installing...
|
||||||
Checking for installed apps in RDP machine...
|
Checking for installed apps in RDP machine...
|
||||||
Installing Excel...
|
Checking for installed apps in RDP machine...
|
||||||
Installing PowerPoint...
|
Configuring Excel... Finished.
|
||||||
Installing Word...
|
Configuring PowerPoint... Finished.
|
||||||
Installing Windows...
|
Configuring Word... Finished.
|
||||||
|
Configuring Windows... Finished.
|
||||||
Installation complete.
|
Installation complete.
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -91,10 +92,10 @@ $ ./install.sh
|
|||||||
[sudo] password for fmstrat:
|
[sudo] password for fmstrat:
|
||||||
Installing...
|
Installing...
|
||||||
Checking for installed apps in RDP machine...
|
Checking for installed apps in RDP machine...
|
||||||
Installing Excel...
|
Configuring Excel... Finished.
|
||||||
Installing PowerPoint...
|
Configuring PowerPoint... Finished.
|
||||||
Installing Word...
|
Configuring Word... Finished.
|
||||||
Installing Windows...
|
Configuring Windows... Finished.
|
||||||
Installation complete.
|
Installation complete.
|
||||||
```
|
```
|
||||||
You will need to make sure RDP Applications are enabled, which can be set by merging in `kvm/RDPApps.reg` into the registry.
|
You will need to make sure RDP Applications are enabled, which can be set by merging in `kvm/RDPApps.reg` into the registry.
|
||||||
@ -105,3 +106,5 @@ Adding applications to the installer is easy. Simply copy one of the application
|
|||||||
- Replace the `icon.svg` with an SVG for the application
|
- Replace the `icon.svg` with an SVG for the application
|
||||||
- Re-run the installer
|
- Re-run the installer
|
||||||
- Submit a Pull Request to add it to WinApps officially
|
- Submit a Pull Request to add it to WinApps officially
|
||||||
|
|
||||||
|
When running the installer, it will check for if any configured apps are installed, and if they are it will create the appropriate shortcuts on the host OS.
|
@ -30,7 +30,7 @@ echo ""
|
|||||||
# Install apps
|
# Install apps
|
||||||
for F in $(cat "${HOME}/.winapps.installed" |sed 's/\r/\n/g'); do
|
for F in $(cat "${HOME}/.winapps.installed" |sed 's/\r/\n/g'); do
|
||||||
. "${DIR}/apps/${F}/info"
|
. "${DIR}/apps/${F}/info"
|
||||||
echo -n " Installing ${NAME}..."
|
echo -n " Configuring ${NAME}..."
|
||||||
sudo rm -f "/usr/share/applications/${F}.desktop"
|
sudo rm -f "/usr/share/applications/${F}.desktop"
|
||||||
echo "[Desktop Entry]
|
echo "[Desktop Entry]
|
||||||
Name=${NAME}
|
Name=${NAME}
|
||||||
@ -48,13 +48,13 @@ MimeType=${MIME_TYPES}
|
|||||||
${DIR}/bin/winapps ${F} $@
|
${DIR}/bin/winapps ${F} $@
|
||||||
" |sudo tee "/usr/local/bin/${F}" > /dev/null
|
" |sudo tee "/usr/local/bin/${F}" > /dev/null
|
||||||
sudo chmod a+x "/usr/local/bin/${F}"
|
sudo chmod a+x "/usr/local/bin/${F}"
|
||||||
echo ""
|
echo " Finished."
|
||||||
done
|
done
|
||||||
rm -f "${HOME}/.winapps.installed"
|
rm -f "${HOME}/.winapps.installed"
|
||||||
rm -f "${HOME}/.winapps.installed.bat"
|
rm -f "${HOME}/.winapps.installed.bat"
|
||||||
|
|
||||||
# Install windows
|
# Install windows
|
||||||
echo -n " Installing Windows..."
|
echo -n " Configuring Windows..."
|
||||||
sudo rm -f "/usr/share/applications/windows.desktop"
|
sudo rm -f "/usr/share/applications/windows.desktop"
|
||||||
echo "[Desktop Entry]
|
echo "[Desktop Entry]
|
||||||
Name=Windows
|
Name=Windows
|
||||||
@ -71,6 +71,6 @@ echo "#!/usr/bin/env bash
|
|||||||
${DIR}/bin/winapps windows
|
${DIR}/bin/winapps windows
|
||||||
" |sudo tee "/usr/local/bin/windows" > /dev/null
|
" |sudo tee "/usr/local/bin/windows" > /dev/null
|
||||||
sudo chmod a+x "/usr/local/bin/windows"
|
sudo chmod a+x "/usr/local/bin/windows"
|
||||||
echo ""
|
echo " Finished."
|
||||||
|
|
||||||
echo "Installation complete."
|
echo "Installation complete."
|
Loading…
x
Reference in New Issue
Block a user