forked from thisiszeev/wine-installer
Save #1
This commit is contained in:
parent
e39db135ad
commit
9ad74bd826
|
@ -1,11 +1,9 @@
|
|||
Hi! Thank you for choosing winehq-installer as a way to automate many wine-related processes.
|
||||
This is all the information You need to know about this application. Not to be confused with "README.md" as that file is for display in github.
|
||||
|
||||
wine-installer-ubuntu.sh -> This script can be used for installing wine on ubuntu & and ubuntu based distributions.
|
||||
|
||||
wine-installer-debian -> This script can be used for installing wine on debian & debian based distributions (With a few exceptions like ubuntu).
|
||||
|
||||
wine-installer-fedora.sh -> This script can be used for installing wine on fedora & and fedora based distributions
|
||||
winehq-installer.sh -> The main app. This detects your distro and installs,updates, upgrades accordingly.
|
||||
|
||||
Common Errors:
|
||||
"ERROR: Unable to enable 32-bit support." -> dpkg has failed to enable 32 bit support for installing packages,
|
||||
Any bugs found in the script report to "https://github.com/RishonDev/winehq-installer/issues" immediately(This requires a github account) Under Issues > New issue.
|
||||
Any questions can be asked in the same way.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
while getopts ":v:" opt; do
|
||||
case $opt in
|
||||
v)
|
||||
echo "3.0.0"
|
||||
echo "4.0.1"
|
||||
;;
|
||||
\?)
|
||||
echo "Invalid option: -$OPTARG" >&2
|
||||
|
@ -36,7 +36,7 @@ echo "Enabling 32-bit support... "
|
|||
spin &
|
||||
SPIN_PID=$!
|
||||
trap "kill -9 $SPIN_PID" `seq 0 15`
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo dpkg --add-architecture i386 || { echo 'ERROR: Unable to enable 32-bit support.' ; exit 1; }
|
||||
kill -9 $SPIN_PID
|
||||
|
||||
|
||||
|
|
|
@ -17,13 +17,13 @@ fedora(){
|
|||
print_usage() {
|
||||
echo "Options:"
|
||||
echo "-ubuntu Enters the Ubuntu installer of wine"
|
||||
echo "-fedora Installs ubuntu version of wine"
|
||||
echo "-debian Installs debian version of wine"
|
||||
echo "-fedora Enters the Fedora installer of wine"
|
||||
echo "-debian Enters the Debian installer of wine"
|
||||
echo "-version Prints app information"
|
||||
|
||||
echo "-verbose"
|
||||
echo "-silent"
|
||||
echo "-log"
|
||||
echo "-upgrade Upgrades your Wine. Ubuntu updates may be applied for the smooth experience for wine."
|
||||
echo "-verbose Displays all the logs on screen."
|
||||
echo "-silent Finishes All the processes with no output. Useful for using it in the background.."
|
||||
echo "-log Adds debug logs to process any errors."
|
||||
|
||||
}
|
||||
while getopts 'abf:v' flag; do
|
||||
|
|
Loading…
Reference in New Issue