mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
android binary
This commit is contained in:
parent
cf7aed60fa
commit
be7d6a661d
BIN
frp/mstream-rpn-android64
Executable file
BIN
frp/mstream-rpn-android64
Executable file
Binary file not shown.
@ -12,7 +12,8 @@ const platform = os.platform();
|
||||
const osMap = {
|
||||
"win32": "mstream-ddns-win.exe",
|
||||
"darwin": "mstream-ddns-osx",
|
||||
"linux": "mstream-ddns-linux"
|
||||
"linux": "mstream-ddns-linux",
|
||||
"android": "mstream-rpn-android64"
|
||||
};
|
||||
|
||||
exports.setup = function (program) {
|
||||
@ -65,7 +66,8 @@ async function login(program) {
|
||||
|
||||
function bootReverseProxy(program, info) {
|
||||
if(spawnedTunnel) {
|
||||
winston.warn('Auto DNS: Tunnel already setup');
|
||||
winston.warn('Auto DNS: Tunnel already setup');
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
@ -84,7 +86,7 @@ function bootReverseProxy(program, info) {
|
||||
|
||||
spawnedTunnel.on('close', (code) => {
|
||||
winston.info('Auto DNS: Tunnel Closed. Attempting to reboot');
|
||||
setTimeout(() => {
|
||||
setTimeout(() => {
|
||||
winston.info('Auto DNS: Rebooting Tunnel');
|
||||
delete spawnedTunnel;
|
||||
bootReverseProxy(program, info);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user