pinggy 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +76 -47
- package/CLAUDE.md +13 -8
- package/README.md +20 -11
- package/dist/{TunnelManager-NGSUBZYI.js → TunnelManager-DXNXIH5W.js} +3 -3
- package/dist/{TunnelTui-UCG2YSLX.js → TunnelTui-K7KESRTQ.js} +3 -3
- package/dist/{chunk-GESMZQHI.js → chunk-3PTLHLFL.js} +33 -10
- package/dist/{chunk-QNUVQ6KD.js → chunk-EMCDDH3B.js} +2 -2
- package/dist/{chunk-MV56U3E6.js → chunk-IRKMUV37.js} +2 -2
- package/dist/{chunk-TG6LBCPG.js → chunk-K5QHR5KU.js} +1129 -340
- package/dist/{chunk-AFMTIELL.js → chunk-N5WE4DYD.js} +8 -0
- package/dist/{chunk-Y435RMHQ.js → chunk-QZJGTQZC.js} +2 -2
- package/dist/{chunk-PD7HXVQ3.js → chunk-X6TZN5CT.js} +18 -1
- package/dist/{configStore-RR5ZU4E3.js → configStore-DXC6WMYO.js} +3 -3
- package/dist/{daemonChild-E73NFWKE.js → daemonChild-HZ27YJKQ.js} +7 -11
- package/dist/daemonConfig-MCAKZHY2.js +17 -0
- package/dist/index.cjs +1258 -365
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +6 -6
- package/dist/{main-M6MACH7D.js → main-TDQB5ZB4.js} +7 -7
- package/dist/workers/file_serve_worker.js +1 -1
- package/package.json +14 -3
- package/scripts/install/install.ps1 +51 -8
- package/scripts/install/install.sh +67 -7
- package/dist/daemonConfig-QVXQ47XH.js +0 -9
package/dist/index.d.cts
CHANGED
|
@@ -747,7 +747,7 @@ interface DeviceAgentError {
|
|
|
747
747
|
message: string;
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
|
-
* The device agent the daemon runs for `pinggy device connect
|
|
750
|
+
* The device agent the daemon runs for `pinggy device connect`. It never carries the token: any
|
|
751
751
|
* local user can reach the IPC port.
|
|
752
752
|
*/
|
|
753
753
|
interface DeviceAgentStatus {
|
|
@@ -1167,6 +1167,14 @@ declare class TunnelClient {
|
|
|
1167
1167
|
private shimListenerSeq;
|
|
1168
1168
|
constructor(options?: TunnelClientOptions);
|
|
1169
1169
|
ensureDaemon(): Promise<void>;
|
|
1170
|
+
/**
|
|
1171
|
+
* Connects to the daemon that runs now, and never starts one. For commands that only read state.
|
|
1172
|
+
* Throws when that daemon speaks another IPC version, as ensureDaemon() does.
|
|
1173
|
+
*
|
|
1174
|
+
* @returns false when no daemon runs
|
|
1175
|
+
*/
|
|
1176
|
+
connectIfRunning(): boolean;
|
|
1177
|
+
private bindDaemon;
|
|
1170
1178
|
static forRemoteManagement(): Promise<TunnelClient>;
|
|
1171
1179
|
/**
|
|
1172
1180
|
* Close the WebSocket connection and cleanup.
|
package/dist/index.d.ts
CHANGED
|
@@ -747,7 +747,7 @@ interface DeviceAgentError {
|
|
|
747
747
|
message: string;
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
|
-
* The device agent the daemon runs for `pinggy device connect
|
|
750
|
+
* The device agent the daemon runs for `pinggy device connect`. It never carries the token: any
|
|
751
751
|
* local user can reach the IPC port.
|
|
752
752
|
*/
|
|
753
753
|
interface DeviceAgentStatus {
|
|
@@ -1167,6 +1167,14 @@ declare class TunnelClient {
|
|
|
1167
1167
|
private shimListenerSeq;
|
|
1168
1168
|
constructor(options?: TunnelClientOptions);
|
|
1169
1169
|
ensureDaemon(): Promise<void>;
|
|
1170
|
+
/**
|
|
1171
|
+
* Connects to the daemon that runs now, and never starts one. For commands that only read state.
|
|
1172
|
+
* Throws when that daemon speaks another IPC version, as ensureDaemon() does.
|
|
1173
|
+
*
|
|
1174
|
+
* @returns false when no daemon runs
|
|
1175
|
+
*/
|
|
1176
|
+
connectIfRunning(): boolean;
|
|
1177
|
+
private bindDaemon;
|
|
1170
1178
|
static forRemoteManagement(): Promise<TunnelClient>;
|
|
1171
1179
|
/**
|
|
1172
1180
|
* Close the WebSocket connection and cleanup.
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
initiateRemoteManagement,
|
|
12
12
|
isDaemonRunning,
|
|
13
13
|
startRemoteManagement
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3PTLHLFL.js";
|
|
15
15
|
import {
|
|
16
16
|
DeviceAgentState
|
|
17
17
|
} from "./chunk-7EQKHVQX.js";
|
|
@@ -32,24 +32,24 @@ import {
|
|
|
32
32
|
validateName,
|
|
33
33
|
validateNameForStorage,
|
|
34
34
|
validateNameStrict
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QZJGTQZC.js";
|
|
36
36
|
import {
|
|
37
37
|
TunnelErrorCodeType,
|
|
38
38
|
TunnelManager,
|
|
39
39
|
TunnelStateType,
|
|
40
40
|
TunnelWarningCode,
|
|
41
41
|
printer_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EMCDDH3B.js";
|
|
43
43
|
import "./chunk-UB26QJ4T.js";
|
|
44
44
|
import {
|
|
45
45
|
enablePackageLogging
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-IRKMUV37.js";
|
|
47
47
|
import {
|
|
48
48
|
ensureTunnelConfigDir,
|
|
49
49
|
getDaemonInfoPath,
|
|
50
50
|
getPinggyConfigDir,
|
|
51
51
|
getTunnelConfigDir
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-N5WE4DYD.js";
|
|
53
53
|
|
|
54
54
|
// src/utils/detect_vc_redist_on_windows.ts
|
|
55
55
|
import fs from "fs";
|
|
@@ -141,7 +141,7 @@ async function verifyAndLoad() {
|
|
|
141
141
|
process.exit(1);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
await import("./main-
|
|
144
|
+
await import("./main-TDQB5ZB4.js");
|
|
145
145
|
}
|
|
146
146
|
verifyAndLoad().catch((err) => {
|
|
147
147
|
printer_default.fatal(`Failed to start CLI:, ${err}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runDaemonChild
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K5QHR5KU.js";
|
|
5
5
|
import {
|
|
6
6
|
RemoteManagementUnauthorizedError,
|
|
7
7
|
TunnelOperations,
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
getRemoteManagementState,
|
|
14
14
|
initiateRemoteManagement,
|
|
15
15
|
isDaemonRunning
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-3PTLHLFL.js";
|
|
17
|
+
import "./chunk-X6TZN5CT.js";
|
|
18
18
|
import {
|
|
19
19
|
DaemonHost
|
|
20
20
|
} from "./chunk-7EQKHVQX.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-QZJGTQZC.js";
|
|
22
22
|
import "./chunk-XZ64ZAGO.js";
|
|
23
23
|
import {
|
|
24
24
|
TunnelManager
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EMCDDH3B.js";
|
|
26
26
|
import "./chunk-UB26QJ4T.js";
|
|
27
27
|
import {
|
|
28
28
|
enablePackageLogging
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-IRKMUV37.js";
|
|
30
|
+
import "./chunk-N5WE4DYD.js";
|
|
31
31
|
export {
|
|
32
32
|
DaemonHost,
|
|
33
33
|
RemoteManagementUnauthorizedError,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pinggy",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Create secure, shareable tunnels to your localhost and manage them from the command line. ",
|
|
@@ -49,10 +49,21 @@
|
|
|
49
49
|
"node_modules/blessed/lib/**/*",
|
|
50
50
|
"node_modules/blessed/usr/**/*",
|
|
51
51
|
"dist/workers/**/*"
|
|
52
|
-
]
|
|
52
|
+
],
|
|
53
|
+
"ignore": [
|
|
54
|
+
"**/node_modules/node-pty/prebuilds/**/*.pdb",
|
|
55
|
+
"**/node_modules/node-pty/{deps,src,third_party}/**",
|
|
56
|
+
"**/node_modules/@pinggy/pinggy/lib/libcrypto.dylib",
|
|
57
|
+
"**/node_modules/@pinggy/pinggy/lib/libssl.dylib",
|
|
58
|
+
"**/node_modules/node-gyp/**",
|
|
59
|
+
"**/node_modules/@mapbox/node-pre-gyp/**",
|
|
60
|
+
"**/node_modules/zod/src/**",
|
|
61
|
+
"**/node_modules/zod/v3/**"
|
|
62
|
+
],
|
|
63
|
+
"compress": "Brotli"
|
|
53
64
|
},
|
|
54
65
|
"dependencies": {
|
|
55
|
-
"@pinggy/pinggy": "^0.5.
|
|
66
|
+
"@pinggy/pinggy": "^0.5.4",
|
|
56
67
|
"@xterm/addon-serialize": "^0.14.0",
|
|
57
68
|
"@xterm/headless": "^6.0.0",
|
|
58
69
|
"blessed": "^0.1.81",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
# Installs or updates the Pinggy CLI on Windows, then
|
|
1
|
+
# Installs or updates the Pinggy CLI on Windows, then asks whether to sign this machine in as a Pinggy device.
|
|
2
|
+
# Once the device connects, it asks whether to start pinggy at login, unless that task is already registered.
|
|
2
3
|
#
|
|
3
4
|
# irm https://pinggy.io/install.ps1 | iex
|
|
4
5
|
# $env:DEVICE_AGENT_TOKEN='<token>'; irm https://pinggy.io/install.ps1 | iex
|
|
@@ -34,6 +35,8 @@ function Install-Pinggy {
|
|
|
34
35
|
$installDir = Join-Path $env:LOCALAPPDATA 'Pinggy\bin'
|
|
35
36
|
$installPath = Join-Path $installDir 'pinggy.exe'
|
|
36
37
|
$versionPattern = 'Pinggy CLI version:\s*(\S+)'
|
|
38
|
+
# The task `pinggy daemon service-install` registers. Its name lives in src/daemon/lifecycle/serviceInstaller.ts.
|
|
39
|
+
$loginTaskName = 'PinggyDaemon'
|
|
37
40
|
$cpuArchitectureX64 = 9
|
|
38
41
|
$cpuArchitectureArm64 = 12
|
|
39
42
|
|
|
@@ -97,7 +100,7 @@ function Install-Pinggy {
|
|
|
97
100
|
}
|
|
98
101
|
|
|
99
102
|
# Enter, or no terminal, means yes. Only an answer starting with n means no.
|
|
100
|
-
function Confirm-
|
|
103
|
+
function Confirm-Question([string] $question) {
|
|
101
104
|
if (-not (Test-Interactive)) { return $true }
|
|
102
105
|
$answer = Read-Host $question
|
|
103
106
|
return -not ($answer -match '^\s*n')
|
|
@@ -177,7 +180,7 @@ function Install-Pinggy {
|
|
|
177
180
|
# An older CLI ignores DEVICE_AGENT_TOKEN, so keeping it would leave the machine unconnected.
|
|
178
181
|
Write-Host "Updating pinggy $installedVersion to $targetVersion."
|
|
179
182
|
Install-Binary $tag $cpu
|
|
180
|
-
} elseif (Confirm-
|
|
183
|
+
} elseif (Confirm-Question "pinggy $installedVersion is installed. Update to $($targetVersion)? [Y/n]") {
|
|
181
184
|
Install-Binary $tag $cpu
|
|
182
185
|
} else {
|
|
183
186
|
Write-Host "Keeping pinggy $installedVersion."
|
|
@@ -214,7 +217,38 @@ function Install-Pinggy {
|
|
|
214
217
|
}
|
|
215
218
|
}
|
|
216
219
|
|
|
217
|
-
#
|
|
220
|
+
# The task counts only when it runs the binary this script installs. A task left by a pinggy elsewhere gets the
|
|
221
|
+
# question, and service-install replaces it. Get-ScheduledTask, because schtasks prints field names in the
|
|
222
|
+
# language of Windows.
|
|
223
|
+
function Test-LoginTask {
|
|
224
|
+
try {
|
|
225
|
+
$task = Get-ScheduledTask -TaskName $loginTaskName -ErrorAction Stop
|
|
226
|
+
} catch {
|
|
227
|
+
return $false
|
|
228
|
+
}
|
|
229
|
+
return @($task.Actions | Where-Object { $_.Execute -ieq $installPath }).Count -gt 0
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
# Asks once the device connects, so the agent starts again after a restart. Leaves a registered task as it is.
|
|
233
|
+
function Invoke-LoginServiceOffer {
|
|
234
|
+
if (Test-LoginTask) { return }
|
|
235
|
+
if (-not (Test-Interactive)) {
|
|
236
|
+
Write-Host 'To start pinggy when this computer starts, run: pinggy daemon service-install'
|
|
237
|
+
return
|
|
238
|
+
}
|
|
239
|
+
Write-Host ''
|
|
240
|
+
if (-not (Confirm-Question 'Start pinggy automatically when this computer starts? [Y/n]')) {
|
|
241
|
+
Write-Host 'To start pinggy when this computer starts, run: pinggy daemon service-install'
|
|
242
|
+
return
|
|
243
|
+
}
|
|
244
|
+
& $installPath daemon service-install
|
|
245
|
+
if ($LASTEXITCODE -ne 0) {
|
|
246
|
+
Write-Host 'Could not set up the login service. To try again, run: pinggy daemon service-install'
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
# Runs the installed file by its full path, so an npm-installed pinggy earlier on PATH does not answer. -b is the
|
|
251
|
+
# default now. It is passed anyway, so an older pinggy the user kept runs the agent in its daemon too.
|
|
218
252
|
function Invoke-DeviceLogin {
|
|
219
253
|
$loginArguments = @('device', 'login')
|
|
220
254
|
if ($env:PINGGY_MANAGE) { $loginArguments += @('--manage', $env:PINGGY_MANAGE) }
|
|
@@ -226,16 +260,25 @@ function Install-Pinggy {
|
|
|
226
260
|
return
|
|
227
261
|
}
|
|
228
262
|
Write-Host ''
|
|
229
|
-
|
|
263
|
+
if (-not (Confirm-Question 'Connect this device to Pinggy? [Y/n]')) {
|
|
264
|
+
Write-Host "Installed. To connect this device later, run: pinggy $($loginArguments -join ' ')"
|
|
265
|
+
return
|
|
266
|
+
}
|
|
267
|
+
& $installPath @loginArguments -b
|
|
268
|
+
if ($LASTEXITCODE -eq 0) { Invoke-LoginServiceOffer }
|
|
230
269
|
}
|
|
231
270
|
|
|
232
|
-
# Runs the installed file by its full path, as Invoke-DeviceLogin does. connect reads DEVICE_AGENT_TOKEN
|
|
233
|
-
# the environment it inherits, and reads no key, so it runs the same with no console.
|
|
271
|
+
# Runs the installed file by its full path, with -b, as Invoke-DeviceLogin does. connect reads DEVICE_AGENT_TOKEN
|
|
272
|
+
# from the environment it inherits, and reads no key, so it runs the same with no console. The token leaves the
|
|
273
|
+
# environment before the service question, so no later command inherits it.
|
|
234
274
|
function Invoke-DeviceConnect {
|
|
235
|
-
$connectArguments = @('device', 'connect')
|
|
275
|
+
$connectArguments = @('device', 'connect', '-b')
|
|
236
276
|
if ($env:PINGGY_MANAGE) { $connectArguments += @('--manage', $env:PINGGY_MANAGE) }
|
|
237
277
|
Write-Host ''
|
|
238
278
|
& $installPath @connectArguments
|
|
279
|
+
$connectExitCode = $LASTEXITCODE
|
|
280
|
+
Remove-Item -Path Env:\DEVICE_AGENT_TOKEN -ErrorAction SilentlyContinue
|
|
281
|
+
if ($connectExitCode -eq 0) { Invoke-LoginServiceOffer }
|
|
239
282
|
}
|
|
240
283
|
|
|
241
284
|
# Older Windows PowerShell 5.1 setups offer less than TLS 1.2, and GitHub refuses them.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
|
-
# Installs or updates the Pinggy CLI on macOS and Linux, then
|
|
2
|
+
# Installs or updates the Pinggy CLI on macOS and Linux, then asks whether to sign this machine in as a Pinggy device.
|
|
3
|
+
# Once the device connects, it asks whether to start pinggy at login, unless that service is already installed.
|
|
3
4
|
#
|
|
4
5
|
# curl -fsSL https://pinggy.io/install.sh | sh
|
|
5
6
|
# curl -fsSL https://pinggy.io/install.sh | DEVICE_AGENT_TOKEN=<token> sh
|
|
@@ -333,19 +334,67 @@ add_link_dir_to_rc_file() {
|
|
|
333
334
|
say "In this terminal, run: source $(shown "$rc_file")"
|
|
334
335
|
}
|
|
335
336
|
|
|
337
|
+
# The service file `pinggy daemon service-install` writes. Its paths live in src/daemon/lifecycle/serviceInstaller.ts.
|
|
338
|
+
# The service counts only when it runs the binary this script installs. A service left by a pinggy elsewhere gets the
|
|
339
|
+
# question, and service-install replaces it.
|
|
340
|
+
login_service_installed() {
|
|
341
|
+
case "$os" in
|
|
342
|
+
macos) service_file="$HOME/Library/LaunchAgents/io.pinggy.agent.plist" ;;
|
|
343
|
+
linux) service_file="$HOME/.config/systemd/user/pinggy.service" ;;
|
|
344
|
+
esac
|
|
345
|
+
[ -f "$service_file" ] && grep -qF "$INSTALL_PATH" "$service_file"
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
# A container or a session with no systemd user manager cannot run the Linux service.
|
|
349
|
+
login_service_supported() {
|
|
350
|
+
if [ "$os" = macos ]; then
|
|
351
|
+
return 0
|
|
352
|
+
fi
|
|
353
|
+
has_command systemctl && systemctl --user show-environment >/dev/null 2>&1
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
# Asks once the device connects, so the agent starts again after a restart. Leaves an installed service as it is.
|
|
357
|
+
offer_login_service() {
|
|
358
|
+
if login_service_installed || ! login_service_supported; then
|
|
359
|
+
return 0
|
|
360
|
+
fi
|
|
361
|
+
if ! has_terminal; then
|
|
362
|
+
say "To start pinggy when this computer starts, run: pinggy daemon service-install"
|
|
363
|
+
return 0
|
|
364
|
+
fi
|
|
365
|
+
|
|
366
|
+
say ""
|
|
367
|
+
if ! confirm "Start pinggy automatically when this computer starts? [Y/n] "; then
|
|
368
|
+
say "To start pinggy when this computer starts, run: pinggy daemon service-install"
|
|
369
|
+
return 0
|
|
370
|
+
fi
|
|
371
|
+
if ! "$INSTALL_PATH" daemon service-install </dev/null; then
|
|
372
|
+
say "Could not set up the login service. To try again, run: pinggy daemon service-install"
|
|
373
|
+
fi
|
|
374
|
+
}
|
|
375
|
+
|
|
336
376
|
# Runs the installed file by its full path, so an npm-installed pinggy earlier on PATH does not answer. connect reads
|
|
337
377
|
# DEVICE_AGENT_TOKEN from the environment this script passes on, and reads no key, so it runs the same with no
|
|
338
|
-
# terminal.
|
|
378
|
+
# terminal. -b is the default now. It is passed anyway, so an older pinggy the user kept runs the agent in its daemon
|
|
379
|
+
# too. The token leaves the environment before the service question, so no later command inherits it.
|
|
339
380
|
connect_with_device_token() {
|
|
340
381
|
export DEVICE_AGENT_TOKEN
|
|
341
382
|
say ""
|
|
383
|
+
status=0
|
|
342
384
|
if [ -n "${PINGGY_MANAGE:-}" ]; then
|
|
343
|
-
|
|
385
|
+
"$INSTALL_PATH" device connect -b --manage "$PINGGY_MANAGE" </dev/null || status=$?
|
|
386
|
+
else
|
|
387
|
+
"$INSTALL_PATH" device connect -b </dev/null || status=$?
|
|
344
388
|
fi
|
|
345
|
-
|
|
389
|
+
unset DEVICE_AGENT_TOKEN
|
|
390
|
+
if [ "$status" -ne 0 ]; then
|
|
391
|
+
exit "$status"
|
|
392
|
+
fi
|
|
393
|
+
offer_login_service
|
|
394
|
+
exit 0
|
|
346
395
|
}
|
|
347
396
|
|
|
348
|
-
# Runs the installed file by its full path, so an npm-installed pinggy earlier on PATH does not answer.
|
|
397
|
+
# Runs the installed file by its full path, so an npm-installed pinggy earlier on PATH does not answer. -b as above.
|
|
349
398
|
start_sign_in() {
|
|
350
399
|
if [ -n "${PINGGY_MANAGE:-}" ]; then
|
|
351
400
|
login_command="pinggy device login --manage $PINGGY_MANAGE"
|
|
@@ -360,10 +409,21 @@ start_sign_in() {
|
|
|
360
409
|
fi
|
|
361
410
|
|
|
362
411
|
say ""
|
|
412
|
+
if ! confirm "Connect this device to Pinggy? [Y/n] "; then
|
|
413
|
+
say "Installed. To connect this device later, run: $login_command"
|
|
414
|
+
return 0
|
|
415
|
+
fi
|
|
416
|
+
|
|
417
|
+
status=0
|
|
363
418
|
if [ -n "${PINGGY_MANAGE:-}" ]; then
|
|
364
|
-
|
|
419
|
+
"$INSTALL_PATH" device login -b --manage "$PINGGY_MANAGE" </dev/tty || status=$?
|
|
420
|
+
else
|
|
421
|
+
"$INSTALL_PATH" device login -b </dev/tty || status=$?
|
|
422
|
+
fi
|
|
423
|
+
if [ "$status" -ne 0 ]; then
|
|
424
|
+
exit "$status"
|
|
365
425
|
fi
|
|
366
|
-
|
|
426
|
+
offer_login_service
|
|
367
427
|
}
|
|
368
428
|
|
|
369
429
|
main() {
|