pinokiod 8.2.4 → 8.2.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/kernel/bin/tailscaled.js
CHANGED
|
@@ -3,8 +3,8 @@ const semver = require('semver')
|
|
|
3
3
|
|
|
4
4
|
// conda-forge ships only the daemon binary (no `tailscale` CLI); Pinokio
|
|
5
5
|
// drives it over its LocalAPI (see kernel/anywhere).
|
|
6
|
-
const TAILSCALED_SPEC = "tailscaled=1.104.
|
|
7
|
-
const TAILSCALED_REQUIREMENT = ">=1.104.
|
|
6
|
+
const TAILSCALED_SPEC = "tailscaled=1.104.1"
|
|
7
|
+
const TAILSCALED_REQUIREMENT = ">=1.104.0" // 1.104 added --windows-mode=dev
|
|
8
8
|
|
|
9
9
|
class Tailscaled {
|
|
10
10
|
description = "Installs the Tailscale daemon for Pinokio Anywhere: reach this Pinokio and its apps from your phone or another computer over a private network."
|
package/package.json
CHANGED
package/test/anywhere.test.js
CHANGED
|
@@ -59,20 +59,17 @@ test('anywhere preset requires tailscaled but not caddy', () => {
|
|
|
59
59
|
assert.ok(!preset.conda_requirements.includes('caddy'))
|
|
60
60
|
})
|
|
61
61
|
|
|
62
|
-
test('tailscaled bin module pins 1.104.
|
|
62
|
+
test('tailscaled bin module pins 1.104.1 and checks the installed version', async () => {
|
|
63
63
|
const mod = new Tailscaled()
|
|
64
|
-
assert.equal(mod.cmd(), 'tailscaled=1.104.
|
|
64
|
+
assert.equal(mod.cmd(), 'tailscaled=1.104.1')
|
|
65
65
|
mod.kernel = {
|
|
66
66
|
platform: 'darwin',
|
|
67
67
|
bin: {
|
|
68
|
-
installed: { conda: new Set(['tailscaled']), conda_versions: { tailscaled: '1.104.
|
|
68
|
+
installed: { conda: new Set(['tailscaled']), conda_versions: { tailscaled: '1.104.1' } },
|
|
69
69
|
path: (...segments) => segments.join('/'),
|
|
70
70
|
},
|
|
71
71
|
}
|
|
72
72
|
assert.equal(await mod.installed(), true)
|
|
73
|
-
mod.kernel.bin.installed.conda_versions.tailscaled = '1.104.1'
|
|
74
|
-
assert.equal(await mod.installed(), false)
|
|
75
|
-
mod.kernel.bin.installed.conda_versions.tailscaled = '1.104.2'
|
|
76
73
|
assert.equal(mod.binPath(), 'miniforge/bin/tailscaled')
|
|
77
74
|
mod.kernel.bin.installed.conda_versions.tailscaled = '1.98.5'
|
|
78
75
|
assert.equal(await mod.installed(), false, 'older than 1.104 (no --windows-mode=dev) is not accepted')
|