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
// 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