mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
Services/systemd: small update
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
[Unit]
|
||||
Description=Noctalia Shell Service
|
||||
Requisite=graphical-session.target
|
||||
PartOf=graphical-session.target
|
||||
BindsTo=graphical-session.target
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
@@ -10,4 +9,4 @@ Restart=on-failure
|
||||
RestartSec=1
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
WantedBy=graphical-session.target
|
||||
@@ -256,7 +256,7 @@ Singleton {
|
||||
return `${changelogBaseUrl}/CHANGELOG-${tag}.txt`;
|
||||
}
|
||||
|
||||
function parseReleaseNotes(body) {
|
||||
function parseReleaseNotes(body) {
|
||||
if (!body)
|
||||
return [];
|
||||
|
||||
@@ -563,11 +563,11 @@ function parseReleaseNotes(body) {
|
||||
}
|
||||
|
||||
entries.push({
|
||||
"version": version,
|
||||
"fileName": fileName,
|
||||
"url": `${changelogBaseUrl}/${fileName}`,
|
||||
"createdAt": modified
|
||||
});
|
||||
"version": version,
|
||||
"fileName": fileName,
|
||||
"url": `${changelogBaseUrl}/${fileName}`,
|
||||
"createdAt": modified
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -599,10 +599,10 @@ function parseReleaseNotes(body) {
|
||||
if (request.readyState === XMLHttpRequest.DONE) {
|
||||
if (request.status >= 200 && request.status < 300) {
|
||||
accumulator.push({
|
||||
"version": entry.version,
|
||||
"createdAt": entry.createdAt || "",
|
||||
"body": request.responseText || ""
|
||||
});
|
||||
"version": entry.version,
|
||||
"createdAt": entry.createdAt || "",
|
||||
"body": request.responseText || ""
|
||||
});
|
||||
} else {
|
||||
Logger.e("UpdateService", "Failed to fetch changelog file:", entry.url, "status:", request.status);
|
||||
if (!fetchError) {
|
||||
|
||||
Reference in New Issue
Block a user