improve update_res_app.py

This commit is contained in:
lixianjing 2023-07-04 18:35:35 +08:00
parent 02f7310b92
commit ad2deb8627
7 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ TK_CONST_DATA_ALIGN(const unsigned char image_ball[]) = {
0xac,0x96,0xaf,0x42,0xdc,0x2c,0xc8,0x42,0xbb,0x00,0xbd,0x42,0x03,0x00,0x00,0x00,0xb1,0xe4,0xe5,0x42,
0x9d,0xf1,0xac,0x42,0xd8,0x99,0x03,0x43,0x2e,0xa0,0xa4,0x42,0x59,0x6d,0x14,0x43,0x5f,0xf1,0xa4,0x42,
0x03,0x00,0x00,0x00,0x61,0xd8,0x22,0x43,0x6b,0x34,0xa5,0x42,0xde,0x18,0x31,0x43,0xe1,0xbf,0xab,0x42,
0x9f,0x1d,0x3e,0x43,0x1a,0xf2,0xb7,0x42,0x03,0x00,0x00,0x00,0xb7,0xff,0x3c,0x43,0xf8,0x90,0x9e,0x42,
0x9f,0x1d,0x3e,0x43,0x1a,0xf2,0xb7,0x42,0x03,0x00,0x00,0x00,0xb7,0xff,0x3c,0x43,0xf7,0x90,0x9e,0x42,
0xec,0x31,0x39,0x43,0xd8,0xf3,0x85,0x42,0xe9,0xf4,0x32,0x43,0x66,0x7a,0x5f,0x42,0x03,0x00,0x00,0x00,
0x7b,0x94,0x10,0x43,0xe5,0x52,0x12,0x42,0xf3,0x81,0xcb,0x42,0x2c,0x6f,0x27,0x42,0x28,0x17,0x92,0x42,
0xf8,0x4f,0x89,0x42,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x48,0x3e,

View File

@ -7,7 +7,7 @@ TK_CONST_DATA_ALIGN(const unsigned char image_china[]) = {
0x37,0x25,0x06,0xb5,0xe1,0xba,0xad,0x41,0x58,0x2c,0x43,0x40,0x7b,0xfc,0xd7,0x41,0xfe,0xff,0xff,0x40,
0xec,0xd9,0xee,0x41,0x03,0x00,0x00,0x00,0xe8,0x34,0x4f,0x41,0xae,0xdb,0x02,0x42,0x8b,0x65,0x98,0x41,
0xae,0xdb,0x02,0x42,0x00,0x00,0xc0,0x41,0xec,0xd9,0xee,0x41,0x03,0x00,0x00,0x00,0x75,0x9a,0xe7,0x41,
0x7c,0xfc,0xd7,0x41,0x00,0x00,0x00,0x42,0xe1,0xba,0xad,0x41,0x00,0x00,0x00,0x42,0x00,0x00,0x80,0x41,
0x7b,0xfc,0xd7,0x41,0x00,0x00,0x00,0x42,0xe1,0xba,0xad,0x41,0x00,0x00,0x00,0x42,0x00,0x00,0x80,0x41,
0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x42,0xf0,0x3a,0xe5,0x40,0x45,0xb1,0xc6,0x41,0x9c,0x15,0x33,0x35,
0x01,0x00,0x80,0x41,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0xf4,0x3a,0xe5,0x40,0x9c,0x15,0x33,0xb5,
0x9c,0x15,0xb3,0x35,0xea,0x3a,0xe5,0x40,0x00,0x00,0x00,0x00,0xfd,0xff,0x7f,0x41,0x04,0x00,0x00,0x00,

View File

@ -29,8 +29,8 @@ TK_CONST_DATA_ALIGN(const unsigned char image_paths_data_02_t[]) = {
0xff,0xcf,0x00,0x00,0xff,0x01,0x00,0x00,0x00,0x00,0x80,0x68,0x43,0x00,0x80,0xa2,0x42,0x03,0x00,0x00,
0x00,0x56,0xd5,0x3e,0x43,0xaa,0xaa,0x3f,0x42,0x00,0x40,0x49,0x43,0x56,0x55,0xb7,0x41,0x00,0xe0,0x83,
0x43,0x00,0x00,0xc8,0x40,0x04,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x20,0x8a,0x43,0x00,0x80,0xa2,
0x42,0x03,0x00,0x00,0x00,0xab,0x8a,0x94,0x43,0x00,0x00,0x96,0x41,0x55,0x35,0x8c,0x43,0x00,0x00,0x00,
0x00,0x00,0x40,0x62,0x43,0x00,0x00,0xc8,0x41,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,
0x42,0x03,0x00,0x00,0x00,0xab,0x8a,0x94,0x43,0x00,0x00,0x96,0x41,0x55,0x35,0x8c,0x43,0x00,0x00,0xa0,
0xa5,0x00,0x40,0x62,0x43,0x00,0x00,0xc8,0x41,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,
0x00,0x00,0x00,0x20,0x3f,0x00,0x00,0x5c,0x43,0x00,0x80,0xbb,0x42,0x00,0x00,0x00,0xff,0x6d,0x2c,0x20,
0x71,0x2c,0x20,0x7a,0x2c,0x20,0x6d,0x2c,0x20,0x71,0x2c,0x20,0x7a,0x00,0x02,0x01,0x00,0x00,0x00,0x00,
0x20,0x3f,0x00,0x00,0xff,0xff,0x01,0x00,0x00,0x00,0x00,0x40,0x67,0x43,0x00,0x00,0xa0,0x42,0x02,0x00,

View File

@ -69,7 +69,7 @@ def use_theme_config_from_res_config(res_config_path, config = None):
imagegen_options = 'rgba'
if IS_GENERATE_INC_BITMAP:
config_dir = common.join_path(ASSETS_ROOT, common.join_path(theme_name, '/fonts/config'))
config_dir = common.join_path(ASSETS_ROOT, common.join_path(theme_name, 'fonts/config'))
common.remove_dir(config_dir)
common.make_dirs(config_dir)
for font_name in content.get_res_fonts_key(theme_name):