Kegworks
A user-friendly tool used to make wine wrapped ports of Windows software for macOS.
Quick Overview
Kegworks is a mobile application designed for managing and monitoring beer kegs in bars, restaurants, and breweries. It provides real-time tracking of keg levels, temperature, and other vital statistics, helping businesses optimize their beer inventory and reduce waste.
Pros
- Real-time monitoring of keg levels and temperature
- Inventory management and automatic reordering features
- Integration with point-of-sale systems for accurate sales tracking
- User-friendly interface for both staff and managers
Cons
- Requires specialized hardware for keg monitoring
- Initial setup cost may be high for small businesses
- Limited compatibility with some older keg systems
- Requires consistent internet connectivity for real-time updates
Code Examples
// Initialize KegManager
let kegManager = KegManager.shared
// Register a new keg
let newKeg = Keg(id: "IPA001", beerType: "IPA", capacity: 50.0)
kegManager.registerKeg(newKeg)
// Update keg level
kegManager.updateKegLevel(kegId: "IPA001", newLevel: 45.5)
// Get current temperature
let currentTemp = kegManager.getKegTemperature(kegId: "IPA001")
print("Current temperature: \(currentTemp)°C")
// Set up low level alert
kegManager.setLowLevelAlert(kegId: "IPA001", threshold: 10.0) { keg in
NotificationCenter.default.post(name: .lowKegLevel, object: keg)
}
Getting Started
To get started with Kegworks in your iOS project:
-
Install the Kegworks SDK using CocoaPods:
pod 'Kegworks'
-
Import Kegworks in your Swift file:
import Kegworks
-
Initialize the KegManager in your AppDelegate:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { KegManager.configure(apiKey: "YOUR_API_KEY") return true }
-
Start using Kegworks features in your app!
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Kegworks
A wrapper project that's the successor to Wineskin
This project supports macOS 10.15.4 or later.
[!NOTE] How to install using homebrew
brew upgrade brew install --cask --no-quarantine Kegworks-App/kegworks/kegworks
How to install using MacPorts
port selfupdate port install kegworks
[!IMPORTANT] DirectX support
- WineD3D (default) Supports DirectX 11 and below.
- VKD3D (default) Limited DirectX 12 support.
- D3DMetal (toggle) 64Bit Direct3D 11 & 12 via Metal (Apple Silicon Macs).
- DXMT (toggle) DirectX 11 via Metal (Apple Silicon Macs).
- DXVK (toggle) DirectX 10 & 11 via Vulkan.
- D9VK (winetricks) DirectX 9 via Vulkan (experimental and no longer being developed).
Apples D3DMetal commonly refered to as GPTK is closed source and has a restrictive license
it can not be used for commerial ports, that's not the case for all over renders.
You can review the license for D3DMetal-v1.1, D3DMetal-v2.0 and D3DMetal-v2.1
[!CAUTION] My Antivirus says it's a VIRUS!!!
You need to contact your Antivirus/Anti-malware vendor to report these as false positives.
This started once wine moved to using Mingw-gcc to compile PE binaries.See the following examples:
Components that fall under LGPL-2.1 license
Kegworks Winery.app
(renamed/tweaked Wineskin Winery)Wineskin.app
(tweaked for Kegworks)
sources can be found https://github.com/Gcenx/wineskin-source/tree/Kegworks
Components that don't fall under LGPL-2.1 license
Kegworks Winery-2.0.3/Wineskin-3.0.6-1 or greater
Kegworks
(Running in wineskin compatibility mode)KegworksConfig
(replacedWineskin.app
)
Credits
- VitorMM for modernizing the Wineskin Codebase & ObjectiveC_Extension & writting Kegworks-App from the ground up.
- PaulTheTall for constant test data and finding bugs.
- doh123 for creating Wineskin.
- Gcenx for maintaining the Wine Engines & upstream Winehq packages.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot