Fast winetricks parsing / updating
Posted 22 July 2013 - 01:43 AM
as you (might) know I'm currently developing Barrel, so I was looking at your code at fetching and parsing the latest winetricks items. I did find it really slow doing a winetricks list and waiting for wine to fire up to get the items, so I started writing a parser to get the items from the script itself. It's working fine and takes < 1 second to fetch and parse everything, so, since I've taken so many ideas from wineskin, I though I should give something back
Here it is. It currently gets the items in a .plist file, just the verb and the category, but you can easily parse the title and everything else as well by expanding the method. You can freely use it in Wineskin if you want, all my Barrel code is MIT licensed.
Here's the code:
Edit: I've updated the Gist to also parse the title
If I helped in any way, you can always click the Like button! | All my Ports | Download Barrel: The Wine Port Manager for Mac OS X
Posted 22 July 2013 - 10:23 PM
I saw the posts about Barrel, but I haven't looked much into what it actually is... I was kind of guessing by reading over it, its kind of like Crossover in a way, but more options instead of being stuck with what Codeweavers gives you.
Posted 24 July 2013 - 07:43 PM
What happened to the site?
Looks like i've slept for a hundred years, hahaha.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users