Skip to content

Commit

Permalink
Merge pull request #52 from jvanstraten/issue-39
Browse files Browse the repository at this point in the history
Fix issue #39
  • Loading branch information
cstayyab committed Jul 11, 2020
2 parents f91f910 + afe94c1 commit 696b23c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let preventTitleChange = true;

lsbRelease(function (_, data) {
aboutWALC = `Installation Type: ${process.env.APPIMAGE ? "AppImage" : ((isSNAP) ? "Snap" : "Manual")}
${isSNAP ? `Snap Version:${process.env.SNAP_VERSION}(${process.env.SNAP_REVISION})` : ""}OS: ${data.description}
${isSNAP ? `Snap Version:${process.env.SNAP_VERSION}(${process.env.SNAP_REVISION})` : ""}OS: ${data ? data.description : "Unknown (probably missing lsb_release)"}
`;
});

Expand Down Expand Up @@ -656,4 +656,4 @@ async function markAllChatsAsRead() {
chats.forEach(async (chat) => {
await chat.sendSeen();
});
}
}

0 comments on commit 696b23c

Please sign in to comment.