Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gentoo to prerequisites, + auto source .bash/zshrc files #150

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ You can easily install them like this:

**openSUSE:** `sudo zypper install -y git wget zenity xdg-desktop-portal`

**Gentoo:** `sudo emerge -navq git wget zenity xdg/xdg-desktop-portal`

## Drivers:

As obvious as this might sound, installing drivers the **right** way is needed to have a great experience overall
Expand Down
11 changes: 10 additions & 1 deletion osu-winello.sh
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ Icon=$HOME/.local/share/icons/osu-wine.png" | tee "$HOME/.local/share/applicatio
Check32

Info "Installation is completed! Run 'osu-wine' to play osu!"
Warning "If 'osu-wine' doesn't work, just close and relaunch your terminal."
Terminal
exit 0
}

Expand All @@ -442,6 +442,15 @@ Icon=$HOME/.local/share/icons/osu-wine.png" | tee "$HOME/.local/share/applicatio
# =====================================
# =====================================

# function that reloads the shell file
function Terminal(){
kreciorek marked this conversation as resolved.
Show resolved Hide resolved
if [[ "$SHELL" == *"zsh"* ]]; then
zsh || source $HOME/.zshrc
elif [[ "$SHELL" == *"bash"* ]]; then
bash || source $HOME/.zshrc
fi
}

# Sanity check to make sure we can run 32-bit GLX apps inside the steam runtime
function Check32(){
Info "Checking to make sure we can run 32-bit OpenGL apps..."
Expand Down