Raevn/pahub — pull request #1 by JustinLove (2014-09-29 15:13:41+00:00)
Title: OS X paths

Feel free to cherry-pick the info and handle it differently.

Resulting Log file:

10:05:39.953 [info] Detected architecture: x64
10:05:39.953 [info] Detected platform: darwin
10:05:39.953 [verb] PA_DATA_DIR: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation
10:05:39.953 [verb] PAHUB_BASE_DIR: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/PAHUB.app/Contents/Frameworks/Atom Helper.app/Contents
10:05:39.953 [verb] PAHUB_PACKAGE_FILE: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/PAHUB.app/Contents/Resources/app/package.json
10:05:39.953 [verb] PAHUB_CONTENT_DIR: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/content
10:05:39.953 [verb] PAHUB_PLUGIN_DIR: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/content/plugin
10:05:39.953 [verb] PAHUB_DATA_DIR: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/data
10:05:39.953 [verb] PAHUB_CACHE_DIR: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/cache
10:05:39.953 [verb] PAHUB_CONFIG_FILE: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/pahub-config.json
10:05:39.953 [verb] PAHUB_LOG_FILE: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/pahub-log.txt
10:05:39.956 [verb] PAHUB_PACKAGE_URL: https://raw.githubusercontent.com/raevn/pahub/master/app/package.json
10:05:39.956 [verb] PAHUB_UPDATE_URL: https://github.com/raevn/pahub/archive/master.zip
10:05:39.957 [verb] Loading PAHUB package file
10:05:39.957 [debug] Loading file: /pahub/PAHUB.app/Contents/Resources/app/package.json
10:05:39.958 [info] PA Hub version: 0.0.0
10:05:39.958 [verb] Loading PAHUB config file
10:05:39.958 [debug] Loading file: /pahub/pahub-config.json
10:05:39.959 [debug] Queuing resource load: https://raw.githubusercontent.com/raevn/pahub/master/app/package.json
10:05:40.007 [debug] Loading network resource: 'PA Hub update information'
10:05:40.139 [debug] Commencing download
10:05:40.140 [debug] Loading resource completed
10:05:40.141 [debug] Processing Resource Queue
10:05:40.141 [debug] Writing to file: /package.json
10:05:40.142 [debug] Loading file: /package.json
10:05:40.142 [info] Latest PA Hub version: 0.0.0
10:05:40.142 [info] Found Core Plugin: 'com.pahub.content.plugin.contenthub'
10:05:40.142 [info] Found Core Plugin: 'com.pahub.content.plugin.store.plugin'
10:05:40.143 [verb] Loading plugin from folder 'com.pahub.content.plugin.contenthub'
10:05:40.143 [debug] Loading file: /com.pahub.content.plugin.contenthub/content-info.json
10:05:40.144 [debug] Queuing resource load: /com.pahub.content.plugin.contenthub/com.pahub.content.plugin.contenthub.js
10:05:40.144 [debug] Queuing resource load: /com.pahub.content.plugin.contenthub/com.pahub.content.plugin.contenthub.css
10:05:40.145 [verb] Loading plugin from folder 'com.pahub.content.plugin.store.plugin'
10:05:40.145 [debug] Loading file: /com.pahub.content.plugin.store.plugin/content-info.json
10:05:40.149 [debug] Queuing resource load: /com.pahub.content.plugin.store.plugin/com.pahub.content.plugin.store.plugin.js
10:05:40.155 [debug] Loading local resource: 'Plugin resource: com.pahub.content.plugin.contenthub.js'
10:05:40.156 [debug] Loading file: /com.pahub.content.plugin.contenthub/com.pahub.content.plugin.contenthub.js
10:05:40.156 [debug] Loading resource completed
10:05:40.157 [debug] Processing Resource Queue
10:05:40.159 [debug] Loading local resource: 'Plugin resource: com.pahub.content.plugin.contenthub.css'
10:05:40.159 [debug] Loading file: /com.pahub.content.plugin.contenthub/com.pahub.content.plugin.contenthub.css
10:05:40.159 [debug] Loading resource completed
10:05:40.160 [debug] Processing Resource Queue
10:05:40.160 [debug] Calling load function for plugin 'com.pahub.content.plugin.contenthub': load_plugin_content
10:05:40.187 [debug] Queuing resource load: /com.pahub.content.plugin.contenthub/active-downloads.html
10:05:40.188 [debug] Queuing resource load: /com.pahub.content.plugin.contenthub/installed-content.html
10:05:40.188 [debug] Queuing resource load: /com.pahub.content.plugin.contenthub/find-content.html
10:05:40.191 [debug] Loading local resource: 'Plugin resource: com.pahub.content.plugin.store.plugin.js'
10:05:40.191 [debug] Loading file: /com.pahub.content.plugin.store.plugin/com.pahub.content.plugin.store.plugin.js
10:05:40.191 [debug] Loading resource completed
10:05:40.192 [debug] Processing Resource Queue
10:05:40.192 [debug] Calling load function for plugin 'com.pahub.content.store.plugin': load_store_plugin
10:05:40.192 [info] Refreshing local content for store 'com.pahub.content.store.plugin'
10:05:40.193 [verb] Found local Plugin: 'com.pahub.content.plugin.community'
10:05:40.193 [verb] Found local Plugin: 'com.pahub.content.plugin.contenthub'
10:05:40.193 [verb] Found local Plugin: 'com.pahub.content.plugin.log'
10:05:40.193 [verb] Found local Plugin: 'com.pahub.content.plugin.settings'
10:05:40.193 [verb] Found local Plugin: 'com.pahub.content.plugin.store.plugin'
10:05:40.194 [debug] Loading file: /com.pahub.content.plugin.community/content-info.json
10:05:40.194 [info] Plugin 'com.pahub.content.plugin.community': enabled
10:05:40.194 [verb] Loading plugin from folder 'com.pahub.content.plugin.community'
10:05:40.195 [debug] Loading file: /com.pahub.content.plugin.community/content-info.json
10:05:40.195 [debug] Queuing resource load: /com.pahub.content.plugin.community/com.pahub.content.plugin.community.js
10:05:40.195 [debug] Queuing resource load: /com.pahub.content.plugin.community/com.pahub.content.plugin.community.css
10:05:40.196 [debug] Writing to file: /com.pahub.content.plugin.community/content-info.json
10:05:40.197 [debug] Loading file: /com.pahub.content.plugin.contenthub/content-info.json
10:05:40.197 [info] Plugin 'com.pahub.content.plugin.contenthub': enabled
10:05:40.198 [debug] Writing to file: /com.pahub.content.plugin.contenthub/content-info.json
10:05:40.198 [debug] Loading file: /com.pahub.content.plugin.log/content-info.json
10:05:40.199 [info] Plugin 'com.pahub.content.plugin.log': enabled
10:05:40.199 [verb] Loading plugin from folder 'com.pahub.content.plugin.log'
10:05:40.199 [debug] Loading file: /com.pahub.content.plugin.log/content-info.json
10:05:40.199 [debug] Queuing resource load: /com.pahub.content.plugin.log/plugincom.pahub.content.plugin.log.js
10:05:40.199 [debug] Queuing resource load: /com.pahub.content.plugin.log/plugincom.pahub.content.plugin.log.css
10:05:40.200 [debug] Writing to file: /com.pahub.content.plugin.log/content-info.json
10:05:40.200 [debug] Loading file: /com.pahub.content.plugin.settings/content-info.json
10:05:40.200 [info] Plugin 'com.pahub.content.plugin.settings': enabled
10:05:40.200 [verb] Loading plugin from folder 'com.pahub.content.plugin.settings'
10:05:40.201 [debug] Loading file: /com.pahub.content.plugin.settings/content-info.json
10:05:40.201 [debug] Queuing resource load: /com.pahub.content.plugin.settings/com.pahub.content.plugin.settings.js
10:05:40.201 [debug] Writing to file: /com.pahub.content.plugin.settings/content-info.json
10:05:40.201 [debug] Loading file: /com.pahub.content.plugin.store.plugin/content-info.json
10:05:40.202 [info] Plugin 'com.pahub.content.store.plugin': enabled
10:05:40.202 [debug] Writing to file: /com.pahub.content.plugin.store.plugin/content-info.json
10:05:40.208 [debug] Loading local resource: 'HTML: active-downloads'
10:05:40.209 [debug] Loading file: /com.pahub.content.plugin.contenthub/active-downloads.html
10:05:40.209 [debug] Loading resource completed
10:05:40.209 [debug] Processing Resource Queue
10:05:40.229 [debug] Loading local resource: 'HTML: installed-content'
10:05:40.230 [debug] Loading file: /com.pahub.content.plugin.contenthub/installed-content.html
10:05:40.230 [debug] Loading resource completed
10:05:40.230 [debug] Processing Resource Queue
10:05:40.279 [debug] Loading local resource: 'HTML: find-content'
10:05:40.279 [debug] Loading file: /com.pahub.content.plugin.contenthub/find-content.html
10:05:40.280 [debug] Loading resource completed
10:05:40.280 [debug] Processing Resource Queue
10:05:40.301 [debug] Loading local resource: 'Plugin resource: com.pahub.content.plugin.community.js'
10:05:40.301 [debug] Loading file: /com.pahub.content.plugin.community/com.pahub.content.plugin.community.js
10:05:40.301 [debug] Loading resource completed
10:05:40.302 [debug] Processing Resource Queue
10:05:40.303 [debug] Loading local resource: 'Plugin resource: com.pahub.content.plugin.community.css'
10:05:40.303 [debug] Loading file: /com.pahub.content.plugin.community/com.pahub.content.plugin.community.css
10:05:40.303 [debug] Loading resource completed
10:05:40.303 [debug] Processing Resource Queue
10:05:40.305 [debug] Calling load function for plugin 'com.pahub.content.plugin.community': load_plugin_community
10:05:40.305 [verb] NEWS_URL: http://pahub.raevn.com/news.php?action=get
10:05:40.311 [debug] Queuing resource load: http://pahub.raevn.com/news.php?action=get
10:05:40.321 [debug] Queuing resource load: /com.pahub.content.plugin.community/news.html
10:05:40.342 [debug] Loading local resource: 'Plugin resource: plugincom.pahub.content.plugin.log.js'
10:05:40.343 [debug] Loading file: /com.pahub.content.plugin.log/plugincom.pahub.content.plugin.log.js
10:05:40.343 [debug] Loading resource completed
10:05:40.343 [debug] Processing Resource Queue
10:05:40.344 [debug] Loading local resource: 'Plugin resource: plugincom.pahub.content.plugin.log.css'
10:05:40.345 [debug] Loading file: /com.pahub.content.plugin.log/plugincom.pahub.content.plugin.log.css
10:05:40.345 [debug] Loading resource completed
10:05:40.345 [debug] Processing Resource Queue
10:05:40.346 [debug] Calling load function for plugin 'com.pahub.content.plugin.log': load_plugin_log
10:05:40.354 [debug] Queuing resource load: /com.pahub.content.plugin.log/log.html
10:05:40.354 [debug] Loading local resource: 'Plugin resource: com.pahub.content.plugin.settings.js'
10:05:40.354 [debug] Loading file: /com.pahub.content.plugin.settings/com.pahub.content.plugin.settings.js
10:05:40.355 [debug] Loading resource completed
10:05:40.355 [debug] Processing Resource Queue
10:05:40.357 [debug] Calling load function for plugin 'com.pahub.content.plugin.settings': load_plugin_settings
10:05:40.358 [verb] SETTINGS_FILE_PATH: /Users/jlove/Library/Application Support/Uber Entertainment/Planetary Annihilation/pahub/data/pahub-settings.json
10:05:40.358 [debug] Loading file: /pahub-settings.json
10:05:40.369 [debug] Writing to file: /pahub-settings.json
10:05:40.370 [debug] Loading network resource: 'PA Community News'
10:05:40.372 [debug] Loading local resource: 'HTML: news'
10:05:40.372 [debug] Loading file: /com.pahub.content.plugin.community/news.html
10:05:40.372 [debug] Loading resource completed
10:05:40.372 [debug] Processing Resource Queue
10:05:40.393 [debug] Loading local resource: 'HTML: log'
10:05:40.393 [debug] Loading file: /com.pahub.content.plugin.log/log.html
10:05:40.393 [debug] Loading resource completed
10:05:40.393 [debug] Processing Resource Queue
10:05:40.645 [debug] Commencing download
10:05:40.651 [debug] Loading resource completed
10:05:40.654 [debug] Processing Resource Queue
10:05:40.665 [debug] Writing to file: /news.json
10:05:40.672 [debug] Loading file: /news.json