Add preamble to generated file and fix gen-config.py filename
This commit is contained in:
parent
90b54c5f7f
commit
80a62c8d71
@ -292,6 +292,8 @@ const char* load_glfw(const char* path);
|
|||||||
f.write(header)
|
f.write(header)
|
||||||
|
|
||||||
code = '''
|
code = '''
|
||||||
|
// generated by glfw.py DO NOT edit
|
||||||
|
|
||||||
#define GFW_EXTERN
|
#define GFW_EXTERN
|
||||||
#include "data-types.h"
|
#include "data-types.h"
|
||||||
#include "glfw-wrapper.h"
|
#include "glfw-wrapper.h"
|
||||||
|
|||||||
@ -36,7 +36,7 @@ def patch_conf(raw: str, theme_name: str) -> str:
|
|||||||
nraw = raw + addition
|
nraw = raw + addition
|
||||||
# comment out all existing color definitions
|
# comment out all existing color definitions
|
||||||
color_conf_items = ( # {{{
|
color_conf_items = ( # {{{
|
||||||
# generated by gen_config.py do not EDIT
|
# generated by gen-config.py DO NOT edit
|
||||||
# ALL_COLORS_START
|
# ALL_COLORS_START
|
||||||
'active_border_color',
|
'active_border_color',
|
||||||
'active_tab_background',
|
'active_tab_background',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user