fix: self start setting failed
incorrect information was set for key: 'X-Deepin-GenerateSource' Issue: https://github.com/linuxdeepin/developer-center/issues/7637
This commit is contained in:
parent
8851263925
commit
064a8dda75
@ -669,7 +669,7 @@ void ApplicationService::setAutoStart(bool autostart) noexcept
|
||||
newEntry = *m_entry;
|
||||
}
|
||||
|
||||
newEntry.insert(DesktopFileEntryKey, X_Deepin_GenerateSource, m_autostartSource.m_filePath);
|
||||
newEntry.insert(DesktopFileEntryKey, X_Deepin_GenerateSource, m_desktopSource.sourcePath());
|
||||
newEntry.insert(DesktopFileEntryKey, DesktopEntryHidden, !autostart);
|
||||
|
||||
setAutostartSource({fileName, newEntry});
|
||||
|
Loading…
Reference in New Issue
Block a user