Commit graph

7 commits

Author SHA1 Message Date
Zaprit
c45b9ec37e
Remove macOS staging directory requirement, and update to .NET 8.0 (#41)
* Code cleanup and update to .NET 8

* Fix macOS requiring staging directory to be selected.
Also places eboots on Desktop on macos, to avoid them being inside the app bundle.

* Fix keys discovery on mac

* Removed debug logging, made GetExecutablePath more robust.

* Created a script for building on mac, as creating a universal binary is somewhat involved

* Update UnionPatcher.Gui/Forms/ModeSelectionForm.cs

Co-authored-by: sudokoko <koko@sudokoko.xyz>

* Apply suggestions from code review

Co-authored-by: Josh <josh@slendy.pw>

---------

Co-authored-by: sudokoko <koko@sudokoko.xyz>
Co-authored-by: Josh <josh@slendy.pw>
2024-01-19 00:05:42 +00:00
Dagg
7b88e27843
Require staging directory as fallback (#34)
* Test requiring staging directory on Windows

* Special workaround v1

* Remove variable since its only used once
2023-03-18 23:38:21 -05:00
Dagg
47af7d6929
macOS Hotfix: Require staging directory (#31)
* macOS: Require staging directory

* Grammar
2022-11-09 16:36:26 -06:00
Josh
58d9dd3a67
Make the file picker only show valid files (#28)
* Make the file picker only show valid files

* Fix file wildcard patterns
2022-11-02 13:26:30 -06:00
Dagg
7d77decf17
Swap out the custom message boxes with the stock Eto MessageBox (#29)
* Use regex to discover existing server urls

- Supports LBP PSP and PS3
- Hardcoded length limit, will fix soonTM

* Get maximum length for server URL from EBOOT

* Potential fix for LBP3
- Matches all but NULL instead of just all

* Potentially extend maximum length
Thanks slendy

* Leave a NULL character of padding

* Use stock eto message boxes instead of custom.

* Use Information message box type
Ding may be strange but this process takes a while sometimes
2022-11-02 13:26:15 -06:00
Logan Lowe
b872ebaee6 Fix application closing when choosing mode on Windows
When a new sub form is opened, the main form's ``Close()`` method is called, which halts the entire application on Windows. Instead, we create an instance of the sub form, and bind its ``Closed`` event to an event handler that will halt the entire application.

We can then hide the main form, rather than closing it completely, which resolves the issue and allows the app to run as intended.
2022-06-15 14:55:59 -06:00
jvyden
447ca7b4a5
Merge UnionRemotePatcher into UnionPatcher
Squashed commit of the following:

commit db54f752b1a7d876c8e8ac23f64fac0e133c6c42
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:50:24 2022 -0400

    Fix warnings in Program.cs, remove version

commit abab75e00a9fa5c762669365a130025b7fa28522
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:45:08 2022 -0400

    Enforce file-scoped namespaces

commit d004b8dd77546b0dedc572bc3e7849677a707697
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:43:53 2022 -0400

    Cleanup remote patching

commit d611df7e2e5ad86466acb3fe95b835e5df3efa38
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:25:57 2022 -0400

    Theoretically working state

commit 18b362e268d800bac3c6fa5c3ae0c0b896627648
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:10:58 2022 -0400

    Import code from UnionRemotePatcher

Co-authored-by: Logan Lowe <loganr.lowe@gmail.com>
2022-06-14 21:55:07 -04:00