File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -869,7 +869,7 @@ fn main() {
869
869
//use the latest version of OpenCore as a guess if there have been no changes to the
870
870
//config.plist, this makes the assumption that the user wants to keep the OpenCore
871
871
//version current, they can always use a Manifest or manually use an older version
872
- if first_diff {
872
+ if first_diff && resources . octool_config [ "use_latest_oc_on_guess" ] . as_bool ( ) . unwrap_or ( true ) {
873
873
setup. oc_build_version = resources. dortania [ "OpenCorePkg" ] [ "versions" ] [ 0 ]
874
874
[ "version" ]
875
875
. as_str ( )
Original file line number Diff line number Diff line change 34
34
"//comm_clob_local" : " replace local res list with updated list when octool is run" ,
35
35
"clobber_local_dyn_res_list" : true ,
36
36
37
+ "//comm_use_latest" : " use latest version of OpenCore that fits the format of the config.plist being used" ,
38
+ "use_latest_oc_on_guess" : true ,
39
+
37
40
"//comm_build" : " set use of either 'X64' or 'IA32' build architecture" ,
38
41
"build_architecture" : " X64" ,
39
42
You can’t perform that action at this time.
0 commit comments