Commit Graph

35 Commits

Author SHA1 Message Date
202966fd08 Drafted async-http downloader, fixed not correctly fetching icons at startup 2022-02-10 22:40:51 -06:00
d709e86e14 Updated gemfile.lock, fixed crash on windows when trying to repair data/ -> Data/ when windows thinks they're the same. 2022-02-05 08:09:02 -06:00
e3cb9805fe Fixed token refresh happening to often at startup, replace missing game icon image with question mark, add support for more wwconfig.exe naming funkiness... 2022-02-04 18:36:20 -06:00
7da254fd61 Changed how account data is stored, authorization header is now sent when logged in, adjusted spacing game filters for server list, fixed crashing when trying to load icon for game whos icon is not present, a bit of code cleanup to Api to use Async::HTTP::Client over Async::Internet directly (for everything except get requests), probably a few misc. changes 2022-02-04 08:59:15 -06:00
1214c35fb5 Fixed application taskbar not hiding after task completion, implemented basic uninstaller task, server browser is only told to update from updater if server data has actually changed, added Interface.instance method- fixes assuming window.current_state is a Interface instance. 2021-12-30 15:47:42 -06:00
d880d1525f Put a bandaid on Api.package_details by using Async::HTTP::Client instead of directly using Async::HTTP::Internet- TODO: use :Client instead of ::Internet, enabled verify_files task in installer 2021-12-29 08:37:54 -06:00
82add3cc9d Brought back Excon for package downloading as the method recommended by async-http is unreliable, added support for importing games, repairer and updater tasks are both now simple subclasses of installer, implemented verify_files for checking installed files to prune download package list (currently causes Api.package_details to fail..., so disabled for now), misc. changes. 2021-12-28 17:55:40 -06:00
93cc161f4c Finished removing usage of Excon- package download reimplemented (TODO: see if it's possibly to not need to make n requests to endpoint to emulate excon's chunked downloading), raise Async::Stop when window is closed to shutdown reactor 2021-12-27 09:56:09 -06:00
52e46eced5 Finished evicting Thread- probably more fiber scheduling to do while I figure out how to put Tasks into a Ractor 2021-12-26 13:46:48 -06:00
f1e7d430b6 Initial work on game verification 2021-12-23 18:15:11 -06:00
9707110972 Added parallel downloads setting (not in gui options yet), added a thread pool for downloading multiple packages at once- quite helpful for TSR 😁, fixed download resuming (used wrong file mode...) 2021-12-23 10:56:28 -06:00
4f675644ee Enabled updater, TODO: make updater do less work than installer 2021-12-06 10:34:06 -06:00
e59441cd17 Mixer::Writer now uses the memory buffer, disabled verbose puts from Task verify package 2021-12-02 11:53:37 -06:00
fd90403886 Use new marquee style of progress bar for unpacking/patching since we don't have progress feedback 2021-12-02 08:16:52 -06:00
ade951f87c Fixed Mixer erroring on CRC's shorter than 8 characters long, hardcoded crc string for .w3dhub.patch 2021-12-01 19:49:25 -06:00
74a2ca652b Removed usages of eager_load, probably fixed application launching weirdness 2021-11-30 14:00:51 -06:00
e9aeb4a3e2 Fixed not wrapping tar paths in quotes 2021-11-27 16:33:30 -06:00
7257030e74 Added support for applying patches! added DemoInputDelay state to make recording Boot state easier, misc fixes for tweaks. 2021-11-26 22:36:29 -06:00
2a65761b8d Task now ask Interface to update task status instead of just doing it themselves whenever they want, stubbed apply_patch method, moved unpacking into its own method 2021-11-26 15:21:22 -06:00
6c18e16357 Added ApplicationManager::Status, DownloadManager now displays data from Status, added improved progress information to DownloadManager via Task updating its Status object 2021-11-26 12:17:26 -06:00
935aed1a7a Fixed crash from Cache accessing the global variable $Store instead of the class Store 2021-11-25 19:53:06 -06:00
a4dd375511 Removed window as central storage, added Store class to be central memory store 2021-11-22 20:38:24 -06:00
8c8a051034 Updated gemfile, added comments to repairer, updater, and uninstaller task stubs 2021-11-22 12:36:38 -06:00
5801a88d95 Fixed Windows silliness 2021-11-19 20:46:54 -06:00
19eb1a66e9 Fixes for linux (Interim Apex not installs and RUNS!) 2021-11-19 20:27:36 -06:00
89f7f4ab6a Can now join a server and launch installed games (Play Now does nothing special yet) 2021-11-19 15:48:13 -06:00
ec81959947 Interim Apex can now be installed and launched (on Windows) 2021-11-19 11:09:14 -06:00
2ce616ffbe Moved theme into its own file, added message dialog state to show error messages, game install button is disabled when clicked and if there is an installer task pending or running 2021-11-18 15:51:04 -06:00
662e5c2b0c Redid file checking to use the provided chunked checksums, added (broken) support for partial package downloads (resumed package fails verification), misc. supporting changes. 2021-11-17 22:34:15 -06:00
2ccc09d0b4 Partially working download manager details for packages (more work needed) 2021-11-16 15:29:03 -06:00
b99938ae3c Downloading packages now works most of the time, primary download indictator is now driven by the Task 2021-11-16 14:29:11 -06:00
db97b5a3ab Package downloading now mostly working 2021-11-16 09:34:41 -06:00
d0d8683c4e Stubbed Installer task methods 2021-11-15 23:13:36 -06:00
1ab835ba98 Removed idea to have Tasks have a seperate step class; needless abstraction at this point, added manifest parser 2021-11-15 19:22:09 -06:00
dae620ccbd Stubbed out tasks system for installers 2021-11-15 10:15:04 -06:00