Skip to content

Commit

Permalink
Fix Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Heath123 committed Dec 31, 2020
1 parent d4101d3 commit 15233eb
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 284 deletions.
7 changes: 2 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ pipeline {
steps {
sh 'npm install'
sh 'npx electron-forge package --platform win32'
sh 'cd out/pakkit-win32-x64/resources/app/; node-prune; npx electron-rebuild -v 8.5.2; cd node_modules/java/build; rm -rf Release'
sh 'cp -r javaCompiledReleaseWindows/Release out/pakkit-win32-x64/resources/app/node_modules/java/build/Release'
sh 'cd out/pakkit-win32-x64/resources/app/; node-prune; npx electron-rebuild -v 8.5.2'
sh 'npx electron-forge package --platform linux'
sh 'cd out/pakkit-linux-x64/resources/app/; node-prune; npx electron-rebuild -v 8.5.2;'
sh 'mv out/pakkit-linux-x64/pakkit out/pakkit-linux-x64/dont_run_directly'
sh 'mv launch_linux_ci_builds.sh out/pakkit-linux-x64/pakkit'
sh 'chmod +x out/pakkit-linux-x64/pakkit'
sh 'npx electron-forge package --platform darwin'
sh 'cd out/pakkit-darwin-x64/pakkit.app/Contents/Resources/app/; npx electron-rebuild -v 8.5.2;'
sh 'cd out/pakkit-darwin-x64/pakkit.app/Contents/Resources/app/; node-prune; npx electron-rebuild -v 8.5.2'
sh 'mv out/pakkit-win32-x64 pakkit-windows-x64'
sh 'mv out/pakkit-linux-x64 pakkit-linux-x64'
sh 'mv out/pakkit-darwin-x64 pakkit-macos-x64'
Expand Down
91 changes: 14 additions & 77 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"electron-unhandled": "^3.0.2",
"electron-window-state": "^5.0.3",
"escape-html": "^1.0.3",
"java": "^0.12.1",
"md5-file": "^5.0.0",
"minecraft-data": "^2.70.2",
"minecraft-folder-path": "^1.1.0",
Expand Down
Loading

0 comments on commit 15233eb

Please sign in to comment.