Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose HXE CLI functionality to SPV3 Loader users #46

Open
BinToss opened this issue Oct 15, 2021 · 0 comments
Open

Expose HXE CLI functionality to SPV3 Loader users #46

BinToss opened this issue Oct 15, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@BinToss
Copy link
Member

BinToss commented Oct 15, 2021

Formerly "Self-extract HXE.exe to parent directory when 'Loader' state is inferred"

Expose HXE CLI functionality and features via either/both an embedded Terminal host and/or wrapped command-line command/arguments.

Terminal Host Embedded in GUI

The host would be embedded within an SPV3-themed GUI, similarly to our SPV3.Error UserControl.

PowerShell 7.2+ would be our preferred CLI host for its suggestions and completions, but most users will have PS 5.1 at best.

  • Embedding PowerShell 7.2 would bloat our application by at least 70MiB, so that's out of the question.
  • Check if PowerShell 7.2 is already installed on the client machine.
    • If not installed, prompt user with options: [ 'ignore once', 'ignore always', 'install for current user', 'install for all users' ]
      • A portable install is not presented because PowerShell itself is not portable. Also, that would be PITA to maintain without a package manager.

Wrapped CLI Commands and Arguments

Invoking SPV3 with HXE arguments will cause cause SPV3 Loader to pass unsupported arguments to the embedded HXE assembly which will then react appropriately, whether that be by throwing NotSupportException or acting upon the recognized argument(s).

@BinToss BinToss added the enhancement New feature or request label Oct 15, 2021
@BinToss BinToss self-assigned this Oct 15, 2021
@BinToss BinToss changed the title [Feature] Expose HXE CLI functionality to SPV3 Loader users Expose HXE CLI functionality to SPV3 Loader users Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant