mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Add physics lessons across four secondary-school years.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
bd7ab09b1d
commit
524269edd7
32 changed files with 4152 additions and 13 deletions
12
src/util.c
12
src/util.c
|
|
@ -32,6 +32,10 @@ char *app_progress_lit3;
|
|||
char *app_progress_lit4;
|
||||
char *app_progress_chem;
|
||||
char *app_progress_bio;
|
||||
char *app_progress_fyz;
|
||||
char *app_progress_fyz2;
|
||||
char *app_progress_fyz3;
|
||||
char *app_progress_fyz4;
|
||||
|
||||
static char *dup_dirname(const char *path) {
|
||||
char *tmp = g_strdup(path);
|
||||
|
|
@ -180,6 +184,10 @@ static void set_progress_paths(const char *write_root) {
|
|||
g_free(app_progress_lit4);
|
||||
g_free(app_progress_chem);
|
||||
g_free(app_progress_bio);
|
||||
g_free(app_progress_fyz);
|
||||
g_free(app_progress_fyz2);
|
||||
g_free(app_progress_fyz3);
|
||||
g_free(app_progress_fyz4);
|
||||
|
||||
app_progress_dir = g_build_filename(write_root, PROGRESS_DIR_NAME, NULL);
|
||||
app_progress_u1 = g_build_filename(app_progress_dir, "unit1.conf", NULL);
|
||||
|
|
@ -200,6 +208,10 @@ static void set_progress_paths(const char *write_root) {
|
|||
app_progress_lit4 = g_build_filename(app_progress_dir, "lit4.conf", NULL);
|
||||
app_progress_chem = g_build_filename(app_progress_dir, "chem.conf", NULL);
|
||||
app_progress_bio = g_build_filename(app_progress_dir, "bio.conf", NULL);
|
||||
app_progress_fyz = g_build_filename(app_progress_dir, "fyz.conf", NULL);
|
||||
app_progress_fyz2 = g_build_filename(app_progress_dir, "fyz2.conf", NULL);
|
||||
app_progress_fyz3 = g_build_filename(app_progress_dir, "fyz3.conf", NULL);
|
||||
app_progress_fyz4 = g_build_filename(app_progress_dir, "fyz4.conf", NULL);
|
||||
}
|
||||
|
||||
/* Resolve read-only asset root, chdir there, and point progress at a writable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue