Commit Graph

57 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
e0401f61de Rebuild osx launcher with xcode 3 2011-05-11 22:01:03 +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
abcc43222a Add missing files. 2011-01-27 20:50:00 +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
8dcba13491 Fix osx launcher. 2011-01-06 18:51:40 +13:00
Paul Chote
2e9a0b8162 Fix for nonstandard mono paths. 2011-01-05 15:26:47 +13:00
Paul Chote
fd49ca75d7 Forgot launcher files. 2010-12-30 17:51:23 +13:00
Paul Chote
39ed6087cb Use utility app for http requests; Make them async. 2010-12-30 15:17:56 +13:00
Paul Chote
fcdb3b536d Latest version and MOTD in osx launcher. 2010-12-24 11:41:35 +13:00
Paul Chote
14ad5099a0 Show the mod version in the launcher 2010-12-24 11:41:35 +13:00
Paul Chote
275dfc43be New launch mechanism: removes wrapper app bundle, and supports paths with spaces. 2010-12-24 11:41:34 +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
54c49dfa15 OS X launcher: Create download directory if it doesn't exist. 2010-12-21 21:29:50 +13:00
Paul Chote
4ea04f461a Fix license info. 2010-11-27 11:19:39 +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
9f21d944d1 Gl renderer is now default, don't need to override it. 2010-11-25 22:51:28 +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
2fe7e10750 Handle download errors 2010-11-25 22:51:27 +13:00
Paul Chote
6f66a19b18 Clean up file downloading. 2010-11-25 22:51:27 +13:00
Paul Chote
2fc88e439d Progress towards in-launcher download ui. Works, but is very fragile. 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
085685a769 Use ~/Library/Application Support/OpenRA/ as the support dir. 2010-11-25 22:51:26 +13:00
Paul Chote
034196ddd6 Build a list of parent mods before launching. 2010-11-25 22:51:26 +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