debug.cfg 2.78 KB
Newer Older
longpanda's avatar
longpanda committed
1
submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
longpanda's avatar
update  
longpanda committed
2
    menuentry 'Check global control plugin configuration' --class=debug_control {
longpanda's avatar
longpanda committed
3
        set pager=1
longpanda's avatar
longpanda committed
4
        vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
longpanda's avatar
longpanda committed
5
6
7
8
9
10
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
longpanda's avatar
longpanda committed
11
    menuentry 'Check theme plugin configuration' --class=debug_theme {
longpanda's avatar
longpanda committed
12
        set pager=1
longpanda's avatar
longpanda committed
13
        vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
longpanda's avatar
longpanda committed
14
15
16
17
18
19
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
longpanda's avatar
longpanda committed
20
    menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
longpanda's avatar
longpanda committed
21
        set pager=1
longpanda's avatar
longpanda committed
22
        vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
longpanda's avatar
longpanda committed
23
24
25
26
27
28
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
longpanda's avatar
longpanda committed
29
    menuentry 'Check persistence plugin configuration' --class=debug_persistence {
longpanda's avatar
longpanda committed
30
        set pager=1
longpanda's avatar
longpanda committed
31
        vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
longpanda's avatar
longpanda committed
32
33
34
35
36
37
38
39
40
        
        echo -e "\n############### dump persistence ###############"
        vt_dump_persistence
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
longpanda's avatar
longpanda committed
41
    menuentry 'Check menu alias plugin configuration' --class=debug_menualias {
longpanda's avatar
longpanda committed
42
        set pager=1
longpanda's avatar
longpanda committed
43
        vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
longpanda's avatar
longpanda committed
44
45
46
47
48
49
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    
longpanda's avatar
longpanda committed
50
51
    menuentry 'Check menu class plugin configuration' --class=debug_menuclass {
        set pager=1
longpanda's avatar
longpanda committed
52
        vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
longpanda's avatar
longpanda committed
53
54
55
56
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
longpanda's avatar
longpanda committed
57
58
59
60
61
62
63
64
65
66
    }  

    menuentry 'Check injection plugin configuration' --class=debug_injection {
        set pager=1
        vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
        
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }      
longpanda's avatar
longpanda committed
67
68
    
    menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
longpanda's avatar
longpanda committed
69
70
71
72
        echo 'Return ...'
    }
}

longpanda's avatar
update  
longpanda committed
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

if [ "$grub_platform" != "pc" ]; then
    submenu 'Ventoy UEFI Utilities' --class=debug_util {
        menuentry 'Fixup Windows BlinitializeLibrary Failure' {
            chainloader ${vtoy_path}/vtoyutil_x64.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
            boot
            echo -e "\npress ENTER to exit ..."
            read vtInputKey
        }

        menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
            echo 'Return ...'
        }
    }
fi

longpanda's avatar
longpanda committed
89
menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
longpanda's avatar
longpanda committed
90
91
    echo 'Return ...'
}