Commit Graph

43 Commits

Author SHA1 Message Date
Paul Chote
bf6be0424f Remove file prompting and drop all the remaining utility communication plumbing. 2011-07-25 22:23:18 +12:00
Paul Chote
9ec229bef7 Fix utility to use Platform.SupportDir (#1067); drop the --SupportDir arg and the path passed to --settings-value; Update OSX launcher to match. 2011-07-25 22:23:18 +12:00
Paul Chote
22cd7ae1ad Fix osx launcher. TODO: needs testing on 10.5 2011-05-04 20:24:04 +12:00
Paul Chote
c746a3e81a Upgrade osx launcher project to xcode 4, remove unnecessary webkit reference, fix bogus arg passing to OpenRA.Utility (now passes everything) 2011-03-30 21:07:49 +13:00
Paul Chote
094907c1a9 Update copyright header. Normalize line endings to LF. 2011-02-13 10:38:57 +13:00
Paul Chote
0c954367a0 Fix installing ra from disk 2011-02-05 12:44:33 +13:00
Paul Chote
8470399a0c [osx] Load packages from the support dir. 2011-01-27 20:50:04 +13:00
Paul Chote
492c025844 Load last mod on startup. 2011-01-27 20:50:04 +13:00
Paul Chote
38b98bf358 Hide the menubar only when going fullscreen. 2011-01-27 20:50:04 +13:00
Paul Chote
5353ae32a6 Authenticate windows commands. Untested. 2011-01-27 20:50:02 +13:00
Paul Chote
a6900c256d Implement --display-filepicker in OpenRA.Utility. Remove all the functionality that windows doesn't support. 2011-01-27 20:50:02 +13:00
Paul Chote
44d8e83773 Rework OpenRA.Utility 2011-01-27 20:50:02 +13:00
Paul Chote
c93bdf73aa Have a single utility app per platform. Route zip extraction and ra package install to the .net utility app under osx. 2011-01-27 20:50:02 +13:00
Paul Chote
aa319ee403 Begin refactoring utility process launching. 2011-01-27 20:50:02 +13:00
Paul Chote
b7357b1711 Fix crash when canceling download, fix a runtime warning in osx. 2011-01-27 20:50:01 +13:00
Paul Chote
908a927929 Add "Install from web" "Install from CD" and "Quit" buttons to the install menu. "From CD" prompts a system file picker (osx only). 2011-01-27 20:50:00 +13:00
Paul Chote
8d2a78abc6 Expose a native filepicker dialog. 2011-01-27 20:50:00 +13:00
Paul Chote
cae65ddd05 Gut the osx launcher of everything except for the necessary platform shims (Ensure mono is installed, set DYLD_LIBRARY_PATH, Hide dock/menubar if running in fullscreen).
TODO: Parse the yaml to disable menubar only if running fullscreen, register openra:// urls.
2011-01-27 20:50:00 +13:00
Paul Chote
2e9a0b8162 Fix for nonstandard mono paths. 2011-01-05 15:26:47 +13:00
Paul Chote
39ed6087cb Use utility app for http requests; Make them async. 2010-12-30 15:17:56 +13:00
Paul Chote
7ef884532d Fix osx launcher crash when there is a space in the launcher path. Launching the game still doesn't work in this case. 2010-12-22 20:35:43 +13:00
Paul Chote
520f602f23 Disable some currently unimplemented bits (to be re-enabled later). 2010-11-25 22:51:30 +13:00
Paul Chote
8c5c63a4b5 Use the launcher in osx packaged builds. Leopard support. Fix some wording. Remove old osx launcher project. 2010-11-25 22:51:29 +13:00
Paul Chote
a0741ba26b Set the game path to the launcher resource dir. Can be overwritten using the system defaults mechanism. 2010-11-25 22:51:29 +13:00
Paul Chote
10f9e3e787 Zip extraction support. 2010-11-25 22:51:28 +13:00
Paul Chote
dcf3912d24 Add mono version check 2010-11-25 22:51:28 +13:00
Paul Chote
efad699d4b Prompt user when quitting with active downloads. Remove js debug logging. 2010-11-25 22:51:28 +13:00
Paul Chote
77a35fd132 Close the app when the main window is closed. Terminate all in progress downloads when the app is closed. 2010-11-25 22:51:28 +13:00
Paul Chote
6f66a19b18 Clean up file downloading. 2010-11-25 22:51:27 +13:00
Paul Chote
b4b05c3f4e Notify javascript when download status changes. Allow js to query information about a download. 2010-11-25 22:51:27 +13:00
Paul Chote
0ee1d39bac Refactor download mechanism to allow multiple concurrent downloads. Allow downloads to be cancelled. Allow js to query if files exist in the cache. Fix some compiler warnings. 2010-11-25 22:51:27 +13:00
Paul Chote
c3521a2490 Expose the package downloading to js. Todo: cancel support, status callbacks. 2010-11-25 22:51:27 +13:00
Paul Chote
3dc16bdbb4 Support launching an arbitrary mod. Hook up package detection for cnc. 2010-11-25 22:51:26 +13:00
Paul Chote
f42f39f9c9 Refactor JSBridge to simplify adding new methods. Add log(message) and a stub for fileExistsInMod(file,mod). 2010-11-25 22:51:26 +13:00
Paul Chote
40235db52e Bind the js bridge properly. Display the selected mod page on load. 2010-11-25 22:51:25 +13:00
Paul Chote
810b73e1f0 Fix encoding issue with OpenRA.Utility. Refactor SidebarEntry. Add launcher pages to all mods. 2010-11-25 22:51:25 +13:00
Paul Chote
82850cf4fb Use window.external instead of Launcher in js for windows support. Tweak the OpenRA.Utility calls - still doesn't work 100%. 2010-11-25 22:51:25 +13:00
Paul Chote
21e597ca2d Hook up the "Play" button to launch the game. 2010-11-25 22:51:25 +13:00
Paul Chote
ed8203c896 Load mod.html into the right pane when clicked. Refactoring. 2010-11-25 22:51:25 +13:00
Paul Chote
de7668e8ff Add a WebView in preparation for the page info. Refactor SidebarEntry out of Mod. Add an "Other" category with links for support/credits+legal. 2010-11-25 22:51:25 +13:00
Paul Chote
7271dd5248 List installed mods in the sidebar. Changes utility mod info syntax. 2010-11-25 22:51:24 +13:00
Paul Chote
16dd07bab3 Add support for launching the game. 2010-11-25 22:51:24 +13:00
Paul Chote
5cbfc45819 Beginnings of the new mac launcher. 2010-11-25 22:51:24 +13:00