This commit is contained in:
jakani24
2024-05-10 11:43:06 +02:00
parent 9af6b5e06a
commit 6443e78c0c
20 changed files with 90 additions and 26 deletions

View File

@@ -78,8 +78,7 @@
"RelativeToolTip": "create_folder.cpp",
"ViewState": "AQIAAGEAAAAAAAAAAAAAANQAAAAtAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2024-04-04T15:28:38.27Z",
"EditorCaption": ""
"WhenOpened": "2024-04-04T15:28:38.27Z"
},
{
"$type": "Document",
@@ -149,7 +148,7 @@
"RelativeDocumentMoniker": "update.cpp",
"ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\ma_installer\\update.cpp",
"RelativeToolTip": "update.cpp",
"ViewState": "AQIAADEAAAAAAAAAAAAvwEoAAAA8AAAA",
"ViewState": "AQIAAEAAAAAAAAAAAAAvwGMAAAAcAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2024-04-04T15:21:28.758Z",
"EditorCaption": ""
@@ -188,8 +187,7 @@
"RelativeToolTip": "well_known.h",
"ViewState": "AQIAABAAAAAAAAAAAAAqwCwAAAAgAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|",
"WhenOpened": "2024-02-17T10:06:35.859Z",
"EditorCaption": ""
"WhenOpened": "2024-02-17T10:06:35.859Z"
},
{
"$type": "Document",
@@ -225,8 +223,7 @@
"RelativeToolTip": "ma_installer.cpp",
"ViewState": "AQIAAJMAAAAAAAAAAAAAALEAAAAqAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2023-12-22T18:52:51.74Z",
"EditorCaption": ""
"WhenOpened": "2023-12-22T18:52:51.74Z"
},
{
"$type": "Document",

View File

@@ -72,7 +72,7 @@ int update_settings(const char* settings_type) {
res = download_file_from_srv(url, EXCLUDED_FOLDERS);
else if (strcmp(settings_type, "sched") == 0)
res = download_file_from_srv(url, SCHED_PATH);
else if (strcmp(settings_type, "dissalowed_start") == 0)
else if (strcmp(settings_type, "disallowed_start") == 0)
res = download_file_from_srv(url, DISALLOWED_START_FOLDERS);
//int res = 0;
if (res != 0) {
@@ -97,7 +97,7 @@ int action_update_settings() {
err = 9;
}
//update the disallowed start folders
if (update_settings("dissalowed_start") != 0) {
if (update_settings("disallowed_start") != 0) {
err = 9;
}
//update the schedule