Skip to content

Commit

Permalink
Merge pull request #15 from KernelGhost/main
Browse files Browse the repository at this point in the history
Documentation & systemd service file updates
  • Loading branch information
KernelGhost authored Feb 2, 2025
2 parents 3eb63ad + a300229 commit 3ac52cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Feel free to fork, submit pull requests, write issues and promote this project t

## Installation Instructions
### Dependencies
WinApps should have already brought in everything that the script will need, however a package known as yad may be missing, you can use the instructions below to install it:
WinApps should have already brought in everything that the script will need, however a package known as `yad` may be missing. You can use the instructions below to install it:

#### Debian
sudo apt install yad
#### Fedora/RHEL
Expand All @@ -17,26 +18,24 @@ WinApps should have already brought in everything that the script will need, how
sudo zypper install yad

### Installation
1. Open the terminal of your choice.
1. Install [`WinApps`](https://github.com/winapps-org/winapps).

2. Now, download the git repository with git clone (If you don't want to use git, you can also use wget):
```bash
git clone https://github.com/winapps-org/winapps-launcher/
```
2. Navigate to the `WinApps-Launcher` folder.

3. Once the clone has completed, open the `winapps-launcher` folder:
```bash
cd winapps-launcher
cd ~/.local/bin/winapps-src/WinApps-Launcher
```

3. Once there, mark the `WinAppsLauncher.sh` script as executable.
3. Mark the `WinApps-Launcher.sh` script as executable.

```bash
chmod +x WinAppsLauncher.sh
chmod +x WinApps-Launcher.sh
```

4. Finally, Run the `WinAppsLauncher.sh` script.
4. Run `WinApps-Launcher.sh`.

```bash
./WinAppsLauncher.sh
./WinApps-Launcher.sh
```

5. (Optional) You can also open the `winapps-launcher.service` with a text editor and use the instructions within to configure a user service that can automatically start the WinApps Launcher on boot!
5. (Optional) You can also open `winapps-launcher.service` with a text editor and use the instructions within to configure a user service that can automatically start the WinApps Launcher on boot!
4 changes: 2 additions & 2 deletions winapps-launcher.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [INSTALL INSTRUCTIONS]
# 1) Change 'SCRIPT_PATH' below to the correct path to 'WinAppsLauncher.sh'.
# 2) Move this unit file to '~/.config/systemd/user/winapps-launcher.service'.
# 2) Copy this service file (winapps-launcher.service) to '~/.config/systemd/user/winapps-launcher.service'.
# 3) Run the following commands:
# I) systemctl --user enable winapps-launcher --now # Enable & Start Service
# II) systemctl --user status winapps-launcher # Verify Service
Expand All @@ -19,7 +19,7 @@ Wants=graphical-session.target
Type=simple
Environment="PATH=%h/.local/bin:%h/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Environment="LIBVIRT_DEFAULT_URI=qemu:///system"
Environment="SCRIPT_PATH=%h/Programs/WinApps Launcher/WinAppsLauncher.sh"
Environment="SCRIPT_PATH=%h/.local/bin/winapps-src/WinApps-Launcher/WinApps-Launcher.sh"
Environment="LANG=C"
ExecStart=/bin/bash -c '"$SCRIPT_PATH"'
ExecStopPost=/bin/bash -c 'echo "[SYSTEMD] WINAPPS LAUNCHER SERVICE EXITED."'
Expand Down

0 comments on commit 3ac52cc

Please sign in to comment.