Skip to content

Commit

Permalink
fix: remove error env
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Nov 20, 2024
1 parent 833fe36 commit 908880e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/client/sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,7 @@ async function signAllFiles(srcPath) {
console.log('overwrite zip: ', file)
fs.rmSync(file);
if (file.endsWith('.jar')) {
execSync(`jar -cMf0 ${file} -C ${tempDir} .`, {
env: {
...process.env,
JAVA_HOME: "`/usr/libexec/java_home -v 1.8.0_202`"
}
})
execSync(`jar -cMf0 ${file} -C ${tempDir} .`)
} else {

const zip2 = new AdmZip();
Expand Down

0 comments on commit 908880e

Please sign in to comment.