Skip to content

Commit

Permalink
Remove console.log with env
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Oct 3, 2023
1 parent 1d56aba commit cc75b6d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/desktop/scripts/setEnvs.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ exports.default = async function (context) {
childProcess.execSync(`${context.artifactPaths[0]} --appimage-extract`)
childProcess.execSync(`mv ./squashfs-root ${context.outDir}/squashfs-root`)
const data = fs.readFileSync(`${context.outDir}/squashfs-root/AppRun`, 'utf8').split('\n')
console.log('APPDIR', $APPDIR)
const index = data.findIndex(text => text === 'BIN="$APPDIR/@quiet/desktop"')
if (index !== -1) {
data[index - 1] = 'export LD_PRELOAD="${APPDIR}/usr/lib/libssl.so"'
Expand Down

0 comments on commit cc75b6d

Please sign in to comment.