Skip to content

Commit 7830137

Browse files
committed
chore: base64 encode signature
1 parent 8096be5 commit 7830137

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/updateNotification.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,10 @@ export default async function printStuff({github, context, githubWorkspaceRoot})
174174
let linuxSignature = "";
175175
try {
176176
const sigFileURL = _getDownloadURLByNameSuffix(releaseAssets, LINUX_APPIMAGE_SIG_SUFFIX);
177-
linuxSignature = await _getTextHTTPS(sigFileURL);
178-
console.log("Linux AppImage signature: ", linuxSignature);
177+
const sigContent = await _getTextHTTPS(sigFileURL);
178+
// Base64-encode the signature to match the format of other platforms
179+
linuxSignature = Buffer.from(sigContent).toString('base64');
180+
console.log("Linux AppImage signature (base64): ", linuxSignature);
179181
} catch (sigErr) {
180182
console.warn("Linux AppImage signature file not found, using empty signature");
181183
}

0 commit comments

Comments
 (0)