ItsSim / fsolauncher

Official FreeSO Launcher made with Electron
https://beta.freeso.org
Mozilla Public License 2.0
14 stars 9 forks source link

[Windows] Improved installer flow #15

Closed ItsSim closed 1 year ago

ItsSim commented 2 years ago

Currently, the launcher displays a folder picker popup for each component that is going to be installed, even during a Complete Installation (via the Complete Installation button).

This means that the current Complete Installation flow is:

  1. Click the Complete Installation button
  2. Confirmation dialog
  3. Folder picker dialog for The Sims Online files
  4. The Sims Online installation
  5. Folder picker dialog for FreeSO
  6. FreeSO installation
  7. Success notification

A better way to handle this would be to only ask the user for a base path, and then install every component in a subfolder of that folder. For more specific paths for each component, the user could still install components separately - the launcher has always allowed this.

The complete installation flow would be:

  1. Click the Complete Installation button
  2. Folder picker dialog
  3. The Sims Online installation
  4. FreeSO installation
  5. Success notification

This would only affect Windows, as the installer for Mac currently expects the game to be in ~/Documents (no folder picker is shown to the user). This might be changed in a future issue.

Example design of the new feature: New installer flow

ItsSim commented 2 years ago

It is required to create a new HTML element to handle this, as the current modal UI is not that flexible.

+CSS styles for this element must be adapted to every theme.

ItsSim commented 1 year ago

Final look, planned for next stable release

image image

ItsSim commented 1 year ago

Tested on both platforms, will be coming out next stable release. macOS keeps the regular complete installation flow since we're not letting users choose a directory (it just installs in ~/Documents). On Windows, OpenAL and .NET installers have been made silent when using the OCI (one-click install) flow. The whole process is truly 1-click.