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 2 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
16 changes: 16 additions & 0 deletions osu-winello.sh
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ Icon=$HOME/.local/share/icons/osu-wine.png" | tee "$HOME/.local/share/applicatio

Check32

Info "Reloading the Shell File"
Terminal
Info "Installation is completed! Run 'osu-wine' to play osu!"
Warning "If 'osu-wine' doesn't work, just close and relaunch your terminal."
kreciorek marked this conversation as resolved.
Show resolved Hide resolved
exit 0
Expand All @@ -442,6 +444,20 @@ Icon=$HOME/.local/share/icons/osu-wine.png" | tee "$HOME/.local/share/applicatio
# =====================================
# =====================================

# just a function to not restart the game after installing
function Terminal(){
kreciorek marked this conversation as resolved.
Show resolved Hide resolved
read -r -p "$(Info "Do you use Bash or ZSH? (b/z) ")" shell
kreciorek marked this conversation as resolved.
Show resolved Hide resolved
if ["$shell" = 'b']; then
source $HOME/.bashrc

elif [ "$shell" = 'z' ]; then
source $HOME/.zshrc

else
echo "Wrong Input! (dont use capslock)"
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