Skip to content

winny-/wine-prefix

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wine-prefix – simple command line wine prefix manager

Usage

Install a configuration file to ~/.config/wine-prefix.rktd.

wine-prefix kill bnet                 # Kill the wineserver for profile bnet.
wine-prefix list                      # List the configuration.
wine-prefix run bnet                  # Run the default command for profile bnet.
wine-prefix run bnet some-other-task  # Run some-other-task for profile bnet.
wine-prefix help                      # Get help info.
wine-prefix shell bnet                # Open a shell in the profile's prefix directory.
wine-prefix exec bnet wineboot        # Run wineboot in profile's prefix.
wine-prefix winecfg bnet              # Open winecfg in profile's prefix.
wine-prefix add profile podracers /podracers-prefix
wine-prefix add task podracers default program podracers.exe
wine-prefix remove task podracers default
wine-prefix remove profile podracers

See wine-prefix help for more information.

Also, consider making an alias.

alias wp='wine-prefix'

Installation

From Git

git clone git@github.com:winny-/wine-prefix.git
cd wine-prefix
raco pkg install --auto --link

Example wine-prefix.rktd

#s{wine-prefix-settings
   (#s{wine-prefix-profile
       "mania"
       "/mnt/games/wine-prefixes/wow"
       (#s{wine-prefix-task
           "default"
           program
           ("/mnt/games/WoW-WotLK-mania/World of Warcraft/WoW.exe")})}
    #s{wine-prefix-profile
      "bnet"
      "/mnt/games/wine-prefixes/bnet2"
      (#s{wine-prefix-task
         "default"
         program
         ("/mnt/games/wine-prefixes/bnet2/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe")})}
    #s{wine-prefix-profile
      "podracers"
      "/mnt/games/wine-prefixes/podracers"
      (#s{wine-prefix-task
         "default"
         program
         ("start" "/Unix" "/mnt/games/wine-prefixes/podracers/dosdevices/c:/users/Public/Desktop/Star Wars™ Episode I - Racer™.lnk")})})}

License

MIT. See LICENSE.

WIP

  • Better commmand line syntax & semantics
  • Better error messages
  • Shortcut commands (similar in spirit to git checkout -B some-remote-branch)
  • Report errors when deleting non-existant objects

About

simple command line wine prefix manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published