Commit Graph

23 Commits

Author SHA1 Message Date
Lauri Kenttä
e092c4768c Add throwable for graceful exiting 2017-09-30 16:41:25 +03:00
Lauri Kenttä
7ad4762a3d Improve ESP detection and move to another file 2017-09-30 16:40:17 +03:00
Lauri Kenttä
cea656631a Reorder some BootLoaderInfo code 2017-09-30 15:40:28 +03:00
Lauri Kenttä
1b6b17ec9a Move some helpers to SetupHelper class 2017-09-30 15:39:52 +03:00
Lauri Kenttä
f255b13027 Hard-code a fallback boot loader path
If the config is invalid, try to load the default boot loader backup.
2017-08-29 01:56:58 +03:00
Lauri Kenttä
24c4a8aa0c Support UTF-8 in config.txt 2017-08-29 01:56:58 +03:00
Lauri Kenttä
b3cc80b37b Fix possible buffer overflow 2017-08-29 01:56:58 +03:00
Lauri Kenttä
8921bafa90 Check Secure Boot status before installing 2016-12-22 21:43:50 +02:00
Lauri Kenttä
3da9e1818a Add git version to setup.exe 2016-06-05 12:42:37 +03:00
Lauri Kenttä
b7fd08c978 Add git version to the EFI application 2016-06-05 12:42:37 +03:00
Lauri Kenttä
ff838ec0f6 Automatically relaunch the installer as admin 2016-06-05 12:42:37 +03:00
Lauri Kenttä
a627895bfb Reimplement the installer with C#
The new installer includes better error handling and automatic
architecture detection to support both x86-64 and IA-32.
2016-06-05 12:42:37 +03:00
Lauri Kenttä
efdd91a6d8 Add support for changing screen resolution 2016-06-02 22:52:05 +03:00
Lauri Kenttä
dae1a9abce Fix ACPI table handling and update the main logic
Apparently the BGRT must be stored in every XSDT on the system.
Also some table checksums were not updated correctly.
This patch cleans up the whole process of updating the ACPI tables.
2016-05-14 20:39:39 +03:00
Lauri Kenttä
e9ccec0d76 Add min helper 2016-05-14 20:11:55 +03:00
Lauri Kenttä
51ccb0255e Improve SDT checksum functions 2016-05-14 20:11:54 +03:00
Lauri Kenttä
a633eeb781 Use REPLACE and empty path instead of BLACK action 2016-05-14 20:11:17 +03:00
Lauri Kenttä
b5006f7771 In debug mode, confirm before booting 2016-05-14 11:49:10 +03:00
Lauri Kenttä
c49f0f6cbc Use ReadKey in the confirmation before exiting 2016-05-14 11:46:23 +03:00
Lauri Kenttä
8ed61047dd Add ReadKey to wait and actually read a key 2016-05-14 11:40:49 +03:00
Lauri Kenttä
31323a5111 For ACPI checksum, use header.length, not sizeof
There should be no difference between header.length and sizeof, but if
there is, the correct checksum should be based on header.length.
2016-05-14 10:57:56 +03:00
Lauri Kenttä
9891039b06 Fix a potentian null pointer reference
If GOP is not available and there's no old_bmp, the coordinates can't
be automatically calculated.
2016-05-14 10:51:29 +03:00
Lauri Kenttä
cc44e6eb9b Initial release to GitHub 2016-05-11 23:01:22 +03:00