Wiener
Install Wine programs on Arch
Install / Use
/learn @kndndrj/WienerREADME
Wiener
The script automatically downloads and installs the programs on your system and it also installs any prerequisites first, so you don't have to worry about them.
To check which programs are available for install, check the packages directory in this repository.
Requirements
Before installing, please make sure to have the appropriate graphics drivers installed. Reffer to Lutris and Arch wikis.
Download
To download the script, open a new terminal window, navigate to a folder in
which you want to save the script (e.g. cd ~/Downloads) and copy the
following code snippet to the terminal:
curl -Lo wiener.sh https://raw.githubusercontent.com/Kndndrj/wiener/master/wiener.sh; \
chmod +x wiener.sh
That should have created a new file called wiener.sh.
Alternatively you can just clone the git repository.
Usage
Simple Install
For a simple installation, just run:
./wiener.sh <package_name> install
Custom Install Directory
If you want to specify your own install directory and a directory to store downloads to, run:
./wiener.sh <package_name> install -p <your/install/directory> -t <your/downloads/directory>
Installation Failed
If the installation process was interrupted or you have any other problems
during install, try using install-clean instead of install. For example:
./wiener.sh <package_name> install-clean -p <your/install/directory> ...
Updating programs
If you need to update any programs, just perform a clean install again:
./wiener.sh <package_name> install-clean
Uninstalling
To uninstall, simply run:
./wiener.sh <package_name> uninstall
And follow the on-screen instructions.
List Available Packages
To list all packages that can be installed, run:
./wiener.sh list-packages
Special Cases
If you have any other needs, read help. You find it by running:
./wiener.sh -h
Problems
Can't find a ".desktop" file
First check in ~/.local/share/applications. Desktop files should be somewhere close.
Contributing
If you happen to have a script for your wine application, it shouldn't be too
hard to adapt it for wiener. put the script with the name of the program into
packages directory and implement two functions. The first one is
download_packages(), in it you download any packages to the $TEMPDIR
directory. The second function is install_packages(), use it to make a prefix
in the $INSTALLDIR directory, install the program itself and if needed,
create a .destop file.
I'll be happy to see your pull request!
Other
If you have any other questions or comments, feel free to post them into the Issues section.
