Skip to content

Commit

Permalink
fix: sign fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lyy committed Oct 21, 2024
1 parent 05d4946 commit bc98266
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion android/app/release-keystore.base64

This file was deleted.

10 changes: 10 additions & 0 deletions android/app/tobase.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const fs = require('fs');

const binaryFileToBase64 = (filePath) => {
const binaryData = fs.readFileSync(filePath);
return Buffer.from(binaryData).toString('base64');
};

const filePath = './bbmusic-keystore.jks';
const base64String = binaryFileToBase64(filePath);
console.log(base64String);

0 comments on commit bc98266

Please sign in to comment.