Skip to content

Commit

Permalink
Removed proxy command, it depended on old adbkit.
Browse files Browse the repository at this point in the history
  • Loading branch information
j005u committed Sep 10, 2022
1 parent 3ace40f commit 8b68ea9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 128 deletions.
13 changes: 0 additions & 13 deletions margerine.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ const { SerialPort } = require('serialport')
const yargs = require('yargs')
const chalk = require('chalk')

const proxyListen = require("./src/proxy").listen


/* we use Sentry to help debug in case of errors in the obfuscated build and basic analytics */
const Sentry = require("@sentry/node");
const Tracing = require("@sentry/tracing");
Expand Down Expand Up @@ -78,16 +75,6 @@ const argv = yargs
})
})

})
.command('proxy [port]', 'start the built in http -> https proxy', (yargs) => {
return yargs
.positional('port', {
describe: 'port to start on'
})
}, (argv) => {
const port = argv.port ? argv.port : constants.defaultProxyPort
return proxyListen(port)

})
.command('shell <command> [port]', 'execute a command on rooted device, once per reboot', (yargs) => {
return yargs
Expand Down
115 changes: 0 additions & 115 deletions src/proxy.js

This file was deleted.

0 comments on commit 8b68ea9

Please sign in to comment.