{"action":"created","issue":{"url":"https://api.github.com/repos/alfonsojon/roblox-linux-wrapper/issues/26","labels_url":"https://api.github.com/repos/alfonsojon/roblox-linux-wrapper/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/alfonsojon/roblox-linux-wrapper/issues/26/comments","events_url":"https://api.github.com/repos/alfonsojon/roblox-linux-wrapper/issues/26/events","html_url":"https://github.com/alfonsojon/roblox-linux-wrapper/issues/26","id":56091680,"number":26,"title":"Starting Up","user":{"login":"masterdome","id":8690047,"avatar_url":"https://avatars.githubusercontent.com/u/8690047?v=3","gravatar_id":"","url":"https://api.github.com/users/masterdome","html_url":"https://github.com/masterdome","followers_url":"https://api.github.com/users/masterdome/followers","following_url":"https://api.github.com/users/masterdome/following{/other_user}","gists_url":"https://api.github.com/users/masterdome/gists{/gist_id}","starred_url":"https://api.github.com/users/masterdome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterdome/subscriptions","organizations_url":"https://api.github.com/users/masterdome/orgs","repos_url":"https://api.github.com/users/masterdome/repos","events_url":"https://api.github.com/users/masterdome/events{/privacy}","received_events_url":"https://api.github.com/users/masterdome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-30T22:13:20Z","updated_at":"2015-02-01T01:43:36Z","closed_at":null,"body":"It Wont Start Up I Just Got Done Updating It.\r\nWhen I Press \"Play Roblox\"."},"comment":{"url":"https://api.github.com/repos/alfonsojon/roblox-linux-wrapper/issues/comments/72346713","html_url":"https://github.com/alfonsojon/roblox-linux-wrapper/issues/26#issuecomment-72346713","issue_url":"https://api.github.com/repos/alfonsojon/roblox-linux-wrapper/issues/26","id":72346713,"user":{"login":"alfonsojon","id":1163298,"avatar_url":"https://avatars.githubusercontent.com/u/1163298?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsojon","html_url":"https://github.com/alfonsojon","followers_url":"https://api.github.com/users/alfonsojon/followers","following_url":"https://api.github.com/users/alfonsojon/following{/other_user}","gists_url":"https://api.github.com/users/alfonsojon/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsojon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsojon/subscriptions","organizations_url":"https://api.github.com/users/alfonsojon/orgs","repos_url":"https://api.github.com/users/alfonsojon/repos","events_url":"https://api.github.com/users/alfonsojon/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsojon/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T01:43:36Z","updated_at":"2015-02-01T01:43:36Z","body":"Here's a little snippet to demonstrate what I'm up to:\r\n`# Some internal functions to make wine more useful to the wrapper.\r\n# This allows the wrapper to know what went wrong and where, without excessive code.\r\n# Note: the \"r\" prefix indicates a function that extends system functionality.\r\n\r\nrwine () {\r\n\t$WINE \"$@\"; [[ $? = \"0\" ]] || { spawndialog error \"wine closed unsuccessfully.\\nSee terminal for details. (exit code $?)\"; exit $?; }\r\n}\r\nrwineboot () {\r\n\t$WINEBOOTBIN \"$@\"; [[ $? = \"0\" ]] || { spawndialog error \"wineboot closed unsuccessfully.\\nSee terminal for details. (exit code $?)\"; exit $?; }\r\n}\r\nrwineserver () {\r\n\t$WINESERVERBIN \"$@\"; [[ $? = \"0\" ]] || { spawndialog error \"wineserver closed unsuccessfully.\\nSee terminal for details. (exit code $?)\"; exit $?; }\r\n}\r\nrwget () {\r\n\twget \"$1\" -O \"$2\" 2>&1 | sed -u 's/.* \\([0-9]\\+%\\)\\ \\+\\([0-9.]\\+.\\) \\(.*\\)/\\1\\n# Downloading at \\2\\/s, ETA \\3/' | zenity --progress --window-icon=\"$RBXICON\" --title='Downloading' --auto-close --no-cancel --width=450 --height=120; [[ $? = \"0\" ]] || { spawndialog error \"wget download failed. \\nSee terminal for details. (exit code $?)\"; exit $?; }\r\n}\r\n`\r\n"}}