Add system modification tracking for reversible installs
This commit is contained in:
@@ -183,7 +183,7 @@ pub fn run_background_analysis(id: i64, path: PathBuf, appimage_type: AppImageTy
|
||||
|
||||
// Integrate if requested
|
||||
if integrate {
|
||||
match integrator::integrate(&rec) {
|
||||
match integrator::integrate_tracked(&rec, &db) {
|
||||
Ok(result) => {
|
||||
let desktop_path = result.desktop_file_path.to_string_lossy().to_string();
|
||||
if let Err(e) = db.set_integrated(id, true, Some(&desktop_path)) {
|
||||
|
||||
Reference in New Issue
Block a user