Commit Graph

52 Commits

Author SHA1 Message Date
2031f589b7 Moved processed app icons to cache directory, removed app logos (banners) from media since we now download them and app backgrounds from the api 2025-08-04 22:09:00 -05:00
6d651c7ad6 Download game logos and backgrounds from backend 2025-08-04 12:25:13 -05:00
09082c0c5d Whitespace 2025-08-03 17:09:10 -05:00
0bb8ef5f19 Initial work launcher (self) updater 2025-06-25 19:45:23 -05:00
49d501a8b0 Refactored API to support both backends and to re-enable logging in (on the primary backend) 2025-06-24 10:38:41 -05:00
c344e6a522 Fixed crash at startup when there is no data cached for applications. Fixes #10 2025-04-26 07:16:22 -05:00
696c30aa63 Don't attempt to generate app icon if the package's details has an error 2025-04-23 23:34:39 -05:00
1818d8bec9 Fixed error preventing GSH client from working, moved server list starting task ahead of other tasks to ensure server list _can_ populate if other parts of the backend are dead 2025-04-23 22:03:16 -05:00
a1810e3f2c Cache application data for offline use 2024-03-12 11:24:44 -05:00
7fdb406588 Fix handling of extended-data in offline mode 2024-03-12 10:42:10 -05:00
5c806852a5 Store game colour and uses_engine_cfg to settings config, use wwconfig when game doesn't use engine.cfg 2024-03-04 18:17:32 -06:00
924f4c2b75 More UI tweaks, prettied up Boot state, Updated Welcome state (may be I'll use it someday? 😁) 2024-02-28 19:23:01 -06:00
0b9b519848 More styling changes 2024-02-28 18:14:41 -06:00
47a93bfb60 Handle inaccessible GSH differently 2023-11-25 12:05:38 -06:00
d83a439ad1 Updated gems, implemented game settings (works best with scripts 5.1 games) 2023-11-19 12:42:54 -06:00
9b8d13929d Fixed always repainting due to Boot state not popping 2023-05-27 09:34:25 -05:00
19abe06f89 If server list fails put in offline mode 2023-03-21 16:49:25 -05:00
ff8387be6d Update to use needs_repaint? to reduce cpu/gpu load of launcher 2023-02-05 16:43:24 -06:00
340c083a43 Removed Async[websocket/http] due to excessive require times and reliablity issues on Windows 2022-10-30 18:10:47 -05:00
ae3720d119 'finished' implementing ping support for server browser, not tested on windows 2022-09-11 15:55:57 -05:00
8d0c27d6fc Initial support for offline mode 2022-06-19 18:23:45 -05:00
a90bb30fc0 Unify border color 2022-05-03 19:06:13 -05:00
26a3d98d67 Tweaked layout for Interface and Games page, initial work on offline mode (will crash atm if offline mode is triggered) 2022-04-25 16:24:22 -05:00
b73826ed1f Progress towards a resizable launcher window 2022-04-03 13:08:28 -05:00
b5fc3e9239 Use proper logging, more errors from tasks should now trigger showing the error dialog instead of siliently failing 2022-03-23 15:09:51 -05:00
8766ed7d86 Fixed race condition where images for user avatar or news icons were not blocking execution until after they were downloaded causing a possible crash due to trying to save and load at the same time (sometimes also causing images to be only partly saved making them corrupt causing another crash) 2022-03-20 13:51:52 -05:00
8ba577d5fd Fixed boot saving in a thread causing png based icons to be blank, improvements to server browser to show same team and score data as android app, fixed settings page not using a find height for containers causing them to not position properly on initial gui regeneration, task fail fast now checks for write access to target path, fail fast now raises an exception to prevent incorrect fail fast check from being reported. 2022-02-21 09:29:40 -06:00
f2edc30bbb Fixed crashes, added W3DHUB_DEBUG constant, reduced size of Excon download buffer from 4 MB to ~50KB to make ui able to more accurately show download activity 2022-02-12 12:40:08 -06:00
232ed2032f Window is no longer a fiber, should prevent window from locking up due to a fiber not yielding, replaced ui's direct async calls with BackgroundWorker.foreground_job, show pulsing circle behind app logo on boot 2022-02-12 09:03:46 -06:00
202966fd08 Drafted async-http downloader, fixed not correctly fetching icons at startup 2022-02-10 22:40:51 -06:00
a9f5c29a18 Fixed ICO implementation having a top and left offset for bitmap images, icons are now fetched at start up instead of statically being included (More work needed to fetch them after logging), fixed importer incorrectly storing executable basename instead of dirname 2022-02-07 10:18:40 -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
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
92f6a76381 Almost functional websocket based server list updater 2021-12-27 18:37:02 -06:00
55191f143a Added option to force fetch to Cache.fetch, force user profile picture to be fetched on start up or on login 2021-12-26 21:32:54 -06:00
2bbb2acc6e Replaced most Excon + Thread calls with Async 2021-12-26 09:20:25 -06:00
13103a7380 Added app icon, removed W3DHub::NAME constant, replaced stub content in community updates section with actual W3D Hub news 2021-11-29 18:39:15 -06:00
e0e649c922 Changes, made server browser refresh button have a hard 30 second minimum refresh interval, settings are now saved! 2021-11-24 21:50:56 -06:00
66e8c04fc7 Server list is now pre-fetched during 'bootup' 2021-11-22 20:48:46 -06:00
a4dd375511 Removed window as central storage, added Store class to be central memory store 2021-11-22 20:38:24 -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
ea1a7e8b13 Added .rubocop.yml config, filters for Server Browser now functional, game select button on Games page now overrides the hover color if its selected 2021-11-18 14:25:37 -06:00
dae620ccbd Stubbed out tasks system for installers 2021-11-15 10:15:04 -06:00
7fd38cd92d Fixed game ordering, added ApplicationManager class that'll manage installing/repairing/removing games 2021-11-14 19:52:27 -06:00
b7ccdb2ad3 Refresh token at start up now works, added a bit of a hack to populate account info by opening the login page first and having it populate the data then load the games page, added Cache, and Settings 2021-11-14 18:54:09 -06:00
077f74cd2b Games page back to semi-functional; games are out of order however 2021-11-14 13:23:57 -06:00
b2a2a961b3 Access W3D Hub API 2021-11-14 12:07:09 -06:00
88208a70e2 Added community, server browser, login, and settings pages 2021-11-08 23:05:31 -06:00
57655e3a3a Added icons 2021-11-08 18:38:28 -06:00