Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raianand committed Feb 14, 2024
1 parent 6d8d192 commit c22d73a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/index.js

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

2 changes: 2 additions & 0 deletions src/intercept.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,6 @@ addons = [Interceptor()] # pylint: disable=invalid-name
fs.writeFileSync('intercept.py', interceptDotPy)
}

createInterceptDotPy("bolt")

module.exports = { createInterceptDotPy }
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ async function run() {
core.startGroup('run-bolt')
core.info('Starting bolt...')
await exec("sudo cat /etc/systemd/system/bolt.service")
await exec(`/home/${boltUser}/.local/bin/mitmdump --mode transparent --showhost --set block_global=false -s /home/${boltUser}/intercept.py`)
await exec('sudo systemctl start bolt')

core.info('Waiting for bolt to start...')
Expand Down

0 comments on commit c22d73a

Please sign in to comment.