Ability to update the Save Tool from within the app #24

Closed
opened 2022-04-16 01:14:35 +02:00 by williamjcm · 2 comments
Owner

Would be nice to have.

No milestone yet, but I might look into getting it into 1.4.

Would be nice to have. No milestone yet, but I *might* look into getting it into 1.4.
williamjcm added the
enhancement
label 2022-04-16 01:14:35 +02:00
williamjcm self-assigned this 2022-04-16 01:14:35 +02:00
Author
Owner

Yeah, it would be good to have it in 1.4. It'll delay things a bit, but I don't mind.

Also a good opportunity to learn more libcurl usage.

Yeah, it would be good to have it in 1.4. It'll delay things a bit, but I don't mind. Also a good opportunity to learn more libcurl usage.
williamjcm added this to the v1.4.0 milestone 2022-04-23 23:57:19 +02:00
williamjcm added reference the-road-to-1point4 2022-04-23 23:57:31 +02:00
Author
Owner

Available approaches:

Plugin-based

Have a main exe having the bare minimum code possible, with a plugin offering the actual meat of the app.

Pros:

  • Easy to update by downloading the new DLL and replacing the old one.

Cons:

  • ABI compatibility is impossible to guarantee unless I stop updating my toolchain.
  • Same with API compatibility and third-party deps.

Binary replacement with an external extractor

Pretty much self-explanatory. PCSX2 does that.

Pros:

  • Works on Windows. Linux also has exec*() which can replace the process image, so would be irrelevant on that OS.

Cons:

  • Another binary to build, test, and maintain.
Available approaches: #### Plugin-based Have a main exe having the bare minimum code possible, with a plugin offering the actual meat of the app. Pros: - Easy to update by downloading the new DLL and replacing the old one. Cons: - ABI compatibility is impossible to guarantee unless I stop updating my toolchain. - Same with API compatibility and third-party deps. #### Binary replacement with an external extractor Pretty much self-explanatory. PCSX2 does that. Pros: - Works on Windows. Linux also has [`exec*()`](https://linux.die.net/man/3/execvp) which can replace the process image, so would be irrelevant on that OS. Cons: - Another binary to build, test, and maintain.
williamjcm removed this from the v1.4.0 milestone 2022-11-21 08:34:53 +01:00
williamjcm removed reference the-road-to-1point4 2022-11-21 08:36:23 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: williamjcm/MassBuilderSaveTool#24
No description provided.