You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ If you bundle outdated navigation data in your aircraft and you want this module
36
36
37
37
## Where is the Navigation Data Stored?
38
38
39
-
The default location for navigation data is `work/NavigationData`. If you have bundled navigation data, its located in the `NavigationData` folder in the root of your project.
39
+
The default location for navigation data is `work/NavigationData`. If you have bundled navigation data, its located in the `NavigationData` folder in the root of your project. (although it gets copied into the `work` directory at runtime)
// Determine if we are bundled ONLY and the bundled cycle is newer than the installed (old bundled) cycle
142
144
let bundled_updated = if is_bundled.is_some() && is_bundled.unwrap(){
143
-
// If we are bundled, we need to check if the bundled cycle is newer than the installed cycle
144
145
if installed_cycle.is_some() && bundled_cycle.is_some(){
145
146
bundled_cycle.unwrap() > installed_cycle.unwrap()
146
147
}else{
@@ -150,16 +151,17 @@ impl<'a> Dispatcher<'a> {
150
151
false
151
152
};
152
153
154
+
// If there is no addon config, we can assume that we need to copy the bundled database to the work location
153
155
let need_to_copy = is_bundled.is_none();
154
156
155
157
// If we are bundled and the installed cycle is older than the bundled cycle, we need to copy the bundled database to the work location. Or if we haven't installed anything yet, we need to copy the bundled database to the work location
0 commit comments