fix: autostart desktop content error
always update autostart application entry Issue: https://github.com/linuxdeepin/developer-center/issues/8261
This commit is contained in:
		@ -392,6 +392,7 @@ QHash<QSharedPointer<ApplicationService>, QString> ApplicationManager1Service::s
 | 
			
		||||
 | 
			
		||||
        auto shouldLaunch = tmp.value(DesktopFileEntryKey, DesktopEntryHidden).value_or(DesktopEntry::Value{});
 | 
			
		||||
        if (!shouldLaunch.isNull() and (shouldLaunch.toString().compare("true", Qt::CaseInsensitive) == 0)) {
 | 
			
		||||
            app->setAutostartSource({desktopFile.sourcePath(), std::move(tmp)});
 | 
			
		||||
            qInfo() << "shouldn't launch this autoStart item.";
 | 
			
		||||
            continue;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user