mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-27 02:01:47 +01:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bc5e3cab2 | ||
|
|
86541446cf | ||
|
|
af81e46c35 | ||
|
|
f586214cb4 | ||
|
|
d20ff7f9aa |
No files matched your search
@@ -13,6 +13,13 @@ const path = require("path");
|
||||
|
||||
const REQUIRED = [
|
||||
"ui/server.py",
|
||||
"ui/vendor/deckyfileserver-1.2.0/aarch64.gz",
|
||||
"ui/vendor/deckyfileserver-1.2.0/x86_64.gz",
|
||||
"ui/vendor/deckyfileserver-1.2.0/source.tar.gz",
|
||||
"ui/vendor/deckyfileserver-1.2.0/LICENSE.txt",
|
||||
"ui/vendor/deckyfileserver-1.2.0/GO-LICENSE.txt",
|
||||
"ui/vendor/deckyfileserver-1.2.0/README.md",
|
||||
"scripts/build-framey-fileserver.py",
|
||||
"ui/vendor/psutil-7.2.2/aarch64.whl",
|
||||
"ui/vendor/psutil-7.2.2/x86_64.whl",
|
||||
"ui/vendor/psutil-7.2.2/LICENSE.txt",
|
||||
|
||||
+7
-1
@@ -60,6 +60,11 @@
|
||||
"framey-compatibility.json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "../ui/vendor/deckyfileserver-1.2.0",
|
||||
"to": "ui/vendor/deckyfileserver-1.2.0",
|
||||
"filter": ["*.gz", "*.txt", "README.md"]
|
||||
},
|
||||
{
|
||||
"from": "../ui/vendor/psutil-7.2.2",
|
||||
"to": "ui/vendor/psutil-7.2.2",
|
||||
@@ -80,7 +85,8 @@
|
||||
"*.sh",
|
||||
"obs-headset-source.py",
|
||||
"frame_power_sample.py",
|
||||
"frame_power_report.py"
|
||||
"frame_power_report.py",
|
||||
"build-framey-fileserver.py"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"plugin": {
|
||||
"id": 60,
|
||||
"name": "DeckyFileServer",
|
||||
"version": "1.2.0",
|
||||
"sha256": "7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0"
|
||||
},
|
||||
"status": "partial",
|
||||
"runtime": {
|
||||
"decky": "v3.3.0",
|
||||
"amd64LoaderSha256": "e80d03e641d1766a33a817cb27ab8d2e0a4633685e5d27e4de948a6687526181",
|
||||
"amd64Probes": [
|
||||
{
|
||||
"id": 60,
|
||||
"result": "discovery, API1 settings, native HTTPS listing/download, thumbnail policy and stop passed; uploads disabled",
|
||||
"discovered": [
|
||||
{
|
||||
"name": "DeckyFileServer",
|
||||
"version": "1.2.0",
|
||||
"load_type": 1,
|
||||
"disabled": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"result": "original empty argument bug reproduced: thumbnail policy ignored",
|
||||
"discovered": [
|
||||
{
|
||||
"name": "DeckyFileServer",
|
||||
"version": "1.2.0",
|
||||
"load_type": 1,
|
||||
"disabled": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"realFrame": {
|
||||
"timeUtc": "2026-10-27T00:21:17.975213+00:00",
|
||||
"arch": "aarch64",
|
||||
"uid": 1000,
|
||||
"runtime": {
|
||||
"version": "v3.3.0",
|
||||
"sha256": "8ef5dcf36cbbbb6e97201a6baed5d79c4cc44ec27789fc9af1c5b6ae8f0b25b6"
|
||||
},
|
||||
"publicFixtureOnly": true,
|
||||
"uploadsEnabled": false,
|
||||
"actions": {
|
||||
"discoveryAndApi1Rpc": true,
|
||||
"settingsInitialized": true,
|
||||
"nativeHttpsListing": true,
|
||||
"nativeHttpsDownload": true,
|
||||
"uploadsDenied401": true,
|
||||
"disabledThumbnailsRespected": true,
|
||||
"serverStop": true
|
||||
},
|
||||
"normalServicesBefore": {
|
||||
"decky": "failed",
|
||||
"panel": "inactive"
|
||||
},
|
||||
"normalServicesAfter": {
|
||||
"decky": "failed",
|
||||
"panel": "inactive"
|
||||
},
|
||||
"batteryBefore": [
|
||||
99
|
||||
],
|
||||
"batteryAfter": [
|
||||
100
|
||||
],
|
||||
"cleanup": {
|
||||
"baseAbsent": true,
|
||||
"unitAbsent": true,
|
||||
"archiveAbsent": true
|
||||
},
|
||||
"lockReleased": true,
|
||||
"independentAudit": {
|
||||
"baseAbsent": true,
|
||||
"unitAbsent": true,
|
||||
"process": "MainPID=0\nLoadState=not-found\n",
|
||||
"lockAbsent": true
|
||||
}
|
||||
},
|
||||
"localChromium": {
|
||||
"opaqueOrigin": "null",
|
||||
"warningVisible": true,
|
||||
"uiStart": true,
|
||||
"separateLanHostDownload": true,
|
||||
"uiStop": true,
|
||||
"settingsModal": true,
|
||||
"reopenPersistedDirectory": true,
|
||||
"passed": true
|
||||
},
|
||||
"fakeFrame": "Pinned official archive install/remove; native helper hash, manifest flags and shim receipt asserted; plugin code not executed by fake Frame.",
|
||||
"limitations": [
|
||||
"Frontend prints HTTP and steamdeck URLs although helper uses HTTPS.",
|
||||
"Steam directory picker unavailable; a preconfigured directory was used.",
|
||||
"Settings thumbnail toggle visually showed unchecked despite backend true; no settings save asserted.",
|
||||
"Uploads and generated thumbnails unverified; all test requests read-only.",
|
||||
"Timeout expiry, protected-file permissions and worn VR unverified."
|
||||
],
|
||||
"builds": [
|
||||
{
|
||||
"arch": "x86_64",
|
||||
"sha256": "5e90efd1bf5163bef1686045f4714ad0e4fd0f54edb037fce8cdb06c58177bcb",
|
||||
"gzipSha256": "84e49f049bbc475bc553ef52adc05dcd323e36c5f5ec75008558ae87f3a0e6d7",
|
||||
"bytes": 14815380
|
||||
},
|
||||
{
|
||||
"arch": "aarch64",
|
||||
"sha256": "86b80021ebd62ed619eba065757c1122defa5a74b2c045aa44a0c6b4403a508a",
|
||||
"gzipSha256": "7ca1b8aebd4e8d2c8ce382ca561e1413ad8e581f85f419a1da777c87d86c4a19",
|
||||
"bytes": 13893780
|
||||
}
|
||||
],
|
||||
"startupRetries": "Two private test-adapter failures (CEF reload, script syntax) and one overly early LAN readiness assertion preceded the successful run. Each run removed its private service/base/upload and released the lock; battery stayed 100.",
|
||||
"rebuildMatchedBothAssets": true,
|
||||
"automatedChecks": {
|
||||
"pythonTests": 1662,
|
||||
"pythonSkipped": 16,
|
||||
"nodeAppTests": 46,
|
||||
"publishedDecky330NativeAmd64Probes": 9,
|
||||
"fakeFramePinnedInstallRemove": "passed",
|
||||
"combinedDesktopResources": "passed",
|
||||
"combinedHeadsetBundleBytes": 12485251
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
# DeckyFileServer ARM64 backend — 27 October 2026
|
||||
|
||||
DeckyFileServer **1.2.0**, official store ID **60**, moves **broken → partial**
|
||||
only for the exact managed archive
|
||||
`7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0`.
|
||||
[Redacted observations](framey-fileserver-arm64-2026-10-27.json).
|
||||
|
||||
## Confirmed blockers and adaptation
|
||||
|
||||
The published ZIP contains a 19,779,282-byte x86_64 Go helper and requests `_root`.
|
||||
Its actual operations use ordinary file permissions and an unprivileged port.
|
||||
The managed installer replaces only this digest's original helper, checks the
|
||||
replacement hash and ELF machine on the Frame, and removes only this manifest's
|
||||
root request. Unknown versions, other binaries and root plugins remain blocked;
|
||||
the Frame repeats archive/root/binary checks before extraction.
|
||||
|
||||
Pinned upstream commit `dcf3f3ce5104d05811fa8c156c4f58632b84b313` has Python,
|
||||
manifest and package metadata byte-identical to the store archive. The published
|
||||
Go executable lacks a VCS revision, so that binary's source revision cannot be
|
||||
independently established. The rebuilt static Linux amd64/ARM64 helpers use
|
||||
Go 1.25.7 and vendored dependencies. Complete corresponding GPL source, dependency
|
||||
licenses, build recipe and hash pins ship with both desktop and headset bundles:
|
||||
[provenance](../../ui/vendor/deckyfileserver-1.2.0/README.md).
|
||||
The sole Go change sends its log to Decky's per-plugin log directory instead of
|
||||
one global `/tmp` file. No compiler, pip, root service or runtime download is used.
|
||||
|
||||
Actual published Decky 3.3.0 discovery/public API1 RPC reproduced a hostname-DNS
|
||||
failure in `get_status`. A local-address fallback selects the kernel source IP
|
||||
without sending a packet, or returns loopback when no route exists.
|
||||
The original command array includes empty strings for omitted flags; Go stops
|
||||
parsing there and silently ignores the following `-disablethumbnails` flag.
|
||||
The shim filters empty arguments and applies the thumbnail setting before start.
|
||||
A negative runtime case restores the original empty arguments and proves that
|
||||
thumbnails remain enabled despite the setting. **Decky 3.3.0 does expose
|
||||
`decky.HOME`**; an initial assumption that it was removed was disproved by the
|
||||
actual runtime. That API call and the plugin's API1 instance convention stay intact.
|
||||
|
||||
## Verification
|
||||
|
||||
- **Published Decky 3.3.0 amd64:** actual discovery, default settings, public
|
||||
API1 calls, native HTTPS directory listing and marker download, disabled
|
||||
thumbnails, upload endpoint returning 401, history and server stop. Execution
|
||||
used an unprivileged, network-isolated, read-only disposable container.
|
||||
- **Real Frame ARM64, Frame OS 0.5.6:** the same useful backend actions passed
|
||||
through Steam CEF's existing Decky websocket, using a bounded private user
|
||||
service and a directory containing only public test markers. No home directory
|
||||
was shared and uploads stayed off.
|
||||
- **Local Chromium opaque iframe with the actual Frame backend:** official
|
||||
warning, Enable Server, stop, settings modal and panel reopen with persisted
|
||||
private directory passed. A separate LAN host downloaded exactly the public
|
||||
marker over HTTPS after the panel started the server. The relay allowed only
|
||||
safe settings on that private directory; it denied uploads and other methods.
|
||||
- **Fake Frame:** pinned archive install/remove, original frontend bytes,
|
||||
replaced native helper hash, root-free manifest and managed shim receipt
|
||||
passed through HTTP and SSH. Fake Frame does not execute plugin backends.
|
||||
|
||||
The shared `/tmp/frame-test.lock` was acquired normally and released after each
|
||||
run. Two private test-adapter errors and an early LAN-readiness assertion were
|
||||
corrected before the successful run; all attempts cleaned their private services
|
||||
and artifacts. Normal managed Decky remained failed and the panel inactive,
|
||||
matching their original states. Battery stayed **100 → 100** and no power setting
|
||||
was changed. An independent SSH audit confirms base/unit/upload absent,
|
||||
`MainPID=0`, `LoadState=not-found` and lock absent. Chromium and the local relay
|
||||
were closed. No worn-VR claim is made.
|
||||
|
||||
The final branch, including merged DeckySpy and Simple Timer, passes **1,662
|
||||
Python tests (16 skipped)**, all **9** published Decky 3.3.0 amd64 probes, **46**
|
||||
app tests and pinned fake-Frame install/remove. Both helper rebuilds match byte
|
||||
for byte. The combined headset bundle is 12,485,251 bytes, below its existing
|
||||
32 MiB limit, and includes both native dependencies plus GPL source/licenses.
|
||||
|
||||
## Remaining limitations
|
||||
|
||||
The official frontend advertises **HTTP** and a **steamdeck** hostname even
|
||||
though its helper always serves HTTPS. Use `https://<Frame address>:<port>`;
|
||||
the upstream public self-signed certificate produces a browser warning.
|
||||
Its Steam folder picker is unavailable in Framey; tests preconfigured only the
|
||||
private fixture directory. The thumbnail toggle also appeared unchecked in the
|
||||
settings modal while backend state was true; saving that modal was not tested.
|
||||
These are concrete frontend follow-ups, so the plugin remains **partial**.
|
||||
Uploads, thumbnail generation, inactivity shutdown, protected-file permissions
|
||||
and worn VR remain unverified. The server exposes its selected directory on all
|
||||
interfaces without authentication; select only files intended for sharing on a
|
||||
trusted network. Existing unadapted copies require managed update/reinstall.
|
||||
@@ -4,7 +4,7 @@ Snapshot: 2026-10-26T06:10:58.537029+00:00; 116 current visible official plugins
|
||||
|
||||
This table and both store views use [`ui/framey-compatibility.json`](../ui/framey-compatibility.json). Results apply only to the exact store ID, version and SHA-256. A changed digest/version is **unverified**. Regenerate this document with `python3 scripts/framey-compatibility-doc.py`; use `--check` in review.
|
||||
|
||||
**Works: 6 · Partial: 50 · Broken: 49 · N/A: 11.**
|
||||
**Works: 6 · Partial: 51 · Broken: 48 · N/A: 11.**
|
||||
|
||||
- **Works** requires verified useful plugin behavior with its real backend. Read the reason for the verified scope and remaining limits; it does not imply worn-VR verification.
|
||||
- **Partial** means only a subset or a local fixture scope was verified, often just frontend/settings initialization. The remaining backend/device functionality is unverified; read the reason for the exact scope.
|
||||
@@ -72,7 +72,7 @@ The API column shows manifest / actual bundled frontend API. Many manifests say
|
||||
| 56: MangoPeel 0.0.7 | 1 / 2 | partial | Initializer succeeds; gamescope/MangoHud actions and backend are unverified. | static archive, local browser, fake-Frame |
|
||||
| 58: Volume Boost 0.0.7 | legacy / legacy | works | Default-sink controls pass in local Chromium through real Decky 3.3.0 ARM64: linked slider/keyboard and numeric writes, separate channels, re-link and reopen, with independent Pulse readback including 125%/150% while muted. Exact original volume/mute restored. Audible output, Bluetooth sinks and worn VR unverified. | static archive, local browser, fake-Frame, isolated Linux backend, real Frame SSH |
|
||||
| 59: Web Browser 1.4.3 | legacy / legacy | broken | The exact frontend now initializes with a null Steam React-root lookup. The browser itself still requires Steam GamepadUI CDP injection and a backend WebSocket unavailable in Framey; no working browser tab was verified. | static archive, local browser, fake-Frame, focused local browser |
|
||||
| 60: DeckyFileServer 1.2.0 | 1 / 2 | broken | Plugin contains a non-ARM64 Linux binary: DeckyFileServer/bin/backend. | static archive, local browser, fake-Frame |
|
||||
| 60: DeckyFileServer 1.2.0 | 1 / 2 | partial | Managed install supplies a native ARM64 helper and removes the exact archive's unnecessary root request. Real Decky 3.3.0 on Frame passes private read-only HTTPS listing/download and upload denial. Frontend address/picker and thumbnail-toggle display limitations remain; use HTTPS and a preconfigured directory. Uploads, generated thumbnails and worn VR are unverified. | static archive, local browser, fake-Frame, real Decky 3.3.0 amd64, real Frame SSH |
|
||||
| 61: TabMaster 2.15.1 | 1 / 2 | partial | Local Chromium rendered the QAM and navigable Overview/Filters documentation with an actual Decky 3.3.0 amd64 backend. Library-tab editing remains unavailable: Steam login/library patches and MobX reactions have no target. ARM64 and worn VR unverified. | static archive, local browser, fake-Frame |
|
||||
| 62: TS3 QuickAccess 1.2.0 | legacy / legacy | broken | Plugin contains a non-ARM64 Linux binary: ts3-qs4sd/bin/ts3-qs4sd.so. | static archive, local browser, fake-Frame |
|
||||
| 63: Free Loader 1.6.0 | 1 / 2 | partial | The exact archive's duplicate names contain identical bytes and differ only in execute bits; the guarded installer now accepts them, and a private local install/remove transaction passed. The current opaque Chromium host renders Free Games but cannot load deals with backend/network denied. Exact official Python settings and empty local-deals methods passed in a no-network container with a Decky stub. Real Decky, feed refresh, notifications and worn VR remain unverified. | static archive, local browser, fake-Frame pinned install/remove, local exact-archive transaction, isolated Python backend |
|
||||
@@ -279,7 +279,9 @@ DFL includes exports imported through decky-frontend-lib / @decky/ui. Steam stor
|
||||
|
||||
## Native payload portability
|
||||
|
||||
All published Linux native payloads in this snapshot are x86_64; no published aarch64 payload was found. The three Windows DLLs belong to Decky-Framegen. The installer still rejects these archives. Apart from the explicitly described LocalSend experiment, ARM64 builds were not attempted: the constraints below remain unresolved.
|
||||
All published Linux native payloads in this snapshot are x86_64; no published aarch64 payload was found. The three Windows DLLs belong to Decky-Framegen. Except for the exact managed DeckyFileServer adaptation below, the installer still rejects these archives. Apart from LocalSend and DeckyFileServer, ARM64 builds were not attempted: the constraints below remain unresolved.
|
||||
|
||||
A [DeckyFileServer ARM64 follow-up](evidence/framey-fileserver-arm64-2026-10-27.md) ships an offline, digest-checked GPL helper build, corresponding vendored source and a build recipe. Only its exact managed archive can replace the x86 helper and remove its unnecessary root flag. Actual Decky 3.3.0 discovery/RPC and real Frame HTTPS private-fixture listing/download pass; uploads stay disabled. Hostname-DNS failures and empty optional arguments are repaired. Decky 3.3.0 still exposes `decky.HOME`; that call is unchanged. The plugin moves from broken to partial: its frontend advertises HTTP/steamdeck URLs and needs a Steam folder picker. Use HTTPS and a preconfigured directory. Uploads, generated thumbnails and worn VR remain unverified.
|
||||
|
||||
[LocalSend ARM64 build/runtime evidence](evidence/framey-localsend-arm64-2026-10-26.md) covers a reproducible MIT helper build and its isolated real-Frame protocol 2.0 info response. The official x86 archive remains blocked; full plugin integration and file transfers are unverified.
|
||||
|
||||
@@ -293,7 +295,7 @@ All published Linux native payloads in this snapshot are x86_64; no published aa
|
||||
| Controller Tools | bin/backend | Native backend needs an ARM64 build and controller/HID dependencies; its direct websocket also bypasses the Framey bridge. |
|
||||
| DeckMTP | bin/umtprd | umtprd needs ARM64 libusb/MTP dependencies and USB gadget permissions; root user-service blocker remains. |
|
||||
| Decky Cloud Save | bin/rclone | An ARM64 rclone artifact and safe package policy are needed; the official 60,776,600-byte x86_64 member fails archive validation. No cloud writes were run (docs/evidence/framey-native-port-blockers-2026-10-26.md). |
|
||||
| DeckyFileServer | bin/backend | Native file-server backend needs ARM64 dependencies; root requirement also blocks the user service. |
|
||||
| DeckyFileServer | bin/backend | GPL-3.0 helper rebuilt offline for ARM64 with vendored corresponding source. Actual Frame user service passes HTTPS listing/download of a private public fixture; uploads disabled. Exact managed digest only; other native/root archives remain blocked (docs/evidence/framey-fileserver-arm64-2026-10-27.md). |
|
||||
| TS3 QuickAccess | bin/ts3-qs4sd.so | TeamSpeak client plugin must match an ARM64 TeamSpeak client and SDK ABI, not merely rebuild the .so. |
|
||||
| Syncthing | bin/decky-syncthing-watchdog | The watchdog needs an ARM64 build, plus a supported Syncthing runtime/package and safe path validation. |
|
||||
| Wine Cellar | bin/backend | Native backend needs an ARM64 build; direct websocket and Wine runtime assumptions also need integration. |
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Rebuild the pinned GPL DeckyFileServer helper offline (Go 1.25.7 required)."""
|
||||
import argparse
|
||||
import gzip
|
||||
import hashlib
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
import tarfile
|
||||
import tempfile
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
ASSETS = ROOT/'ui/vendor/deckyfileserver-1.2.0'
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--go', default='go')
|
||||
parser.add_argument('--output', type=Path, default=ASSETS)
|
||||
args = parser.parse_args()
|
||||
assert subprocess.check_output([args.go, 'version'], text=True).split()[2] == 'go1.25.7', 'Use Go 1.25.7'
|
||||
assert hashlib.sha256((ASSETS/'source.tar.gz').read_bytes()).hexdigest() == '50d90a7328daa412bf963ec68bb4855a9ec0860a8475cdf7d2019e6c2507112d', 'Source archive digest mismatch'
|
||||
args.output.mkdir(parents=True, exist_ok=True)
|
||||
with tempfile.TemporaryDirectory(prefix='framey-fileserver-build-') as temp:
|
||||
base = Path(temp)
|
||||
with tarfile.open(ASSETS/'source.tar.gz') as archive:
|
||||
assert all(m.isfile() and m.name.startswith('source/') and '..' not in Path(m.name).parts
|
||||
for m in archive.getmembers())
|
||||
archive.extractall(base, filter='data')
|
||||
env = dict(os.environ, CGO_ENABLED='0', GOOS='linux', GOPROXY='off', GOSUMDB='off', GOTOOLCHAIN='local',
|
||||
GOCACHE=str(base/'cache'), GOMODCACHE=str(base/'modules'))
|
||||
for arch, name in [('amd64', 'x86_64'), ('arm64', 'aarch64')]:
|
||||
output = base/'backend'
|
||||
subprocess.run([args.go, 'build', '-mod=vendor', '-trimpath', '-buildvcs=false',
|
||||
'-ldflags=-s -w -buildid=', '-o', str(output), '.'], cwd=base/'source',
|
||||
env=dict(env, GOARCH=arch), check=True)
|
||||
data = output.read_bytes()
|
||||
packed = gzip.compress(data, mtime=0)
|
||||
(args.output/f'{name}.gz').write_bytes(packed)
|
||||
print(json.dumps({'arch': name, 'sha256': hashlib.sha256(data).hexdigest(),
|
||||
'gzipSha256': hashlib.sha256(packed).hexdigest(), 'bytes': len(data)}), flush=True)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -118,8 +118,12 @@ def render(data):
|
||||
p['backend']+('; '+', '.join(native) if native else ''),p['hardware']]))+' |')
|
||||
lines += ['', '## Native payload portability', '',
|
||||
'All published Linux native payloads in this snapshot are x86_64; no published aarch64 payload was found. '
|
||||
'The three Windows DLLs belong to Decky-Framegen. The installer still rejects these archives. '
|
||||
'Apart from the explicitly described LocalSend experiment, ARM64 builds were not attempted: the constraints below remain unresolved.', '',
|
||||
'The three Windows DLLs belong to Decky-Framegen. Except for the exact managed DeckyFileServer adaptation below, the installer still rejects these archives. '
|
||||
'Apart from LocalSend and DeckyFileServer, ARM64 builds were not attempted: the constraints below remain unresolved.', '',
|
||||
'A [DeckyFileServer ARM64 follow-up](evidence/framey-fileserver-arm64-2026-10-27.md) ships an offline, digest-checked GPL helper build, corresponding vendored source and a build recipe. '
|
||||
'Only its exact managed archive can replace the x86 helper and remove its unnecessary root flag. Actual Decky 3.3.0 discovery/RPC and real Frame HTTPS private-fixture listing/download pass; uploads stay disabled. '
|
||||
'Hostname-DNS failures and empty optional arguments are repaired. Decky 3.3.0 still exposes `decky.HOME`; that call is unchanged. '
|
||||
'The plugin moves from broken to partial: its frontend advertises HTTP/steamdeck URLs and needs a Steam folder picker. Use HTTPS and a preconfigured directory. Uploads, generated thumbnails and worn VR remain unverified.', '',
|
||||
'[LocalSend ARM64 build/runtime evidence](evidence/framey-localsend-arm64-2026-10-26.md) '
|
||||
'covers a reproducible MIT helper build and its isolated real-Frame protocol 2.0 info response. '
|
||||
'The official x86 archive remains blocked; full plugin integration and file transfers are unverified.', '',
|
||||
|
||||
@@ -83,7 +83,8 @@ def main():
|
||||
loader.write_bytes(data)
|
||||
loader.chmod(0o644) # Private container user copies/chmods its own executable.
|
||||
probes = [(case['id'], None) for case in cases] + [
|
||||
(111, '--reproduce-bound-method-regression'), (96, '--reproduce-timer-regression')]
|
||||
(111, '--reproduce-bound-method-regression'), (96, '--reproduce-timer-regression'),
|
||||
(60, '--reproduce-fileserver-empty-flag-regression')]
|
||||
for plugin_id, negative in probes:
|
||||
name = 'framey-decky-'+uuid.uuid4().hex[:12]
|
||||
command = ['docker', 'run', '--rm', '--name', name, '--network', 'none', '--read-only',
|
||||
|
||||
@@ -23,5 +23,10 @@
|
||||
"id": 96,
|
||||
"shim": "simple-timer-lifecycle",
|
||||
"probe": "timer-lifecycle"
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"shim": "deckyfileserver-user-native",
|
||||
"probe": "fileserver"
|
||||
}
|
||||
]
|
||||
@@ -7,6 +7,8 @@ import os
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import signal
|
||||
import socket
|
||||
import ssl
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
@@ -59,6 +61,7 @@ def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('id', type=int)
|
||||
parser.add_argument('--reproduce-bound-method-regression', action='store_true')
|
||||
parser.add_argument('--reproduce-fileserver-empty-flag-regression', action='store_true')
|
||||
parser.add_argument('--reproduce-timer-regression', action='store_true')
|
||||
args = parser.parse_args()
|
||||
assert os.getuid() == 1100 and ROOT.is_dir(), 'Run through framey-test-decky-runtime.py'
|
||||
@@ -95,6 +98,11 @@ def main():
|
||||
# Exercise the production manifest's API convention, never import Plugin ourselves.
|
||||
manifest = json.loads((plugin/'plugin.json').read_text())
|
||||
assert manifest.get('api_version', 'legacy') == record['api_version'], manifest
|
||||
assert '_root' not in manifest.get('flags', []), manifest
|
||||
if args.reproduce_fileserver_empty_flag_regression:
|
||||
assert record['id'] == 60
|
||||
source = plugin/'main.py'
|
||||
source.write_text(source.read_text().replace('[arg for arg in [', '[').replace('] if arg],', '],'))
|
||||
if args.reproduce_bound_method_regression:
|
||||
assert record['id'] == 111
|
||||
source = (plugin/'main.py').read_text()
|
||||
@@ -139,7 +147,47 @@ def main():
|
||||
report['calls'].append({'method': method, 'result': response['result']})
|
||||
return response['result']
|
||||
|
||||
if case['probe'] == 'timer-lifecycle':
|
||||
def current(method, *values):
|
||||
response = rpc('loader/call_plugin_method', record['name'], method, *values)
|
||||
report['calls'].append({'method': method, 'result': response})
|
||||
return response
|
||||
|
||||
if case['probe'] == 'fileserver':
|
||||
assert until_ready(lambda: current('get_port') == 8000, 'default port')
|
||||
assert current('get_directory') == str(home)
|
||||
assert current('get_server_running') is False
|
||||
fixture = home/'public-fixture'
|
||||
fixture.mkdir()
|
||||
marker = b'Framey public read-only fixture\n'
|
||||
(fixture/'marker.txt').write_bytes(marker)
|
||||
# A thumbnail-compatible file must remain a normal link when disabled.
|
||||
(fixture/'image.png').write_bytes(b'public placeholder; thumbnails disabled')
|
||||
with socket.socket() as listener:
|
||||
listener.bind(('127.0.0.1', 0))
|
||||
port = listener.getsockname()[1]
|
||||
status = current('set_status', {'directory': str(fixture), 'port': port, 'timeout': 1,
|
||||
'allow_uploads': False, 'disable_thumbnails': True, 'server_running': True})
|
||||
assert status['server_running'] and not status['allow_uploads'] and status['disable_thumbnails'], status
|
||||
context = ssl._create_unverified_context() # Upstream ships its public self-signed test cert.
|
||||
url = f'https://127.0.0.1:{port}'
|
||||
def fetch(path):
|
||||
return urllib.request.urlopen(url+path, context=context, timeout=3).read()
|
||||
listing = until_ready(lambda: fetch('/files/'), 'private file server')
|
||||
assert b'marker.txt' in listing and b'image.png' in listing, listing
|
||||
assert (b'/preview/files/image.png' in listing) == args.reproduce_fileserver_empty_flag_regression, listing
|
||||
assert fetch('/files/marker.txt') == marker
|
||||
try:
|
||||
fetch('/upload')
|
||||
raise AssertionError('uploads must be disabled')
|
||||
except urllib.error.HTTPError as error:
|
||||
assert error.code == 401, error.code
|
||||
assert current('set_server_running', False) is False
|
||||
assert current('get_server_running') is False
|
||||
assert current('get_history') == [str(fixture)]
|
||||
report['result'] = ('original empty argument bug reproduced: thumbnail policy ignored'
|
||||
if args.reproduce_fileserver_empty_flag_regression else
|
||||
'discovery, API1 settings, native HTTPS listing/download, thumbnail policy and stop passed; uploads disabled')
|
||||
elif case['probe'] == 'timer-lifecycle':
|
||||
from timer_lifecycle import probe
|
||||
|
||||
def restart(settings=None):
|
||||
|
||||
@@ -195,6 +195,14 @@ u=h/'.config/systemd/user/frame-control-decky.service'; u.parent.mkdir(parents=T
|
||||
self.assertEqual(
|
||||
ssh(f'sha256sum {installed}/dist/{chunk}').split()[0],
|
||||
hashlib.sha256(expected_chunk).hexdigest())
|
||||
if plugin['id'] == 60:
|
||||
self.assertEqual(json.loads(ssh(f'cat {installed}/plugin.json'))['flags'], [])
|
||||
receipt = json.loads(ssh(f'cat {installed}/.frame-control-store.json'))
|
||||
self.assertEqual(receipt['compatShims'], ['deckyfileserver-user-native'])
|
||||
import frame_decky_store
|
||||
arch = ssh('uname -m').strip()
|
||||
self.assertEqual(ssh(f'sha256sum {installed}/bin/backend').split()[0],
|
||||
frame_decky_store.FILESERVER_BINARIES[arch])
|
||||
if plugin['id'] == 53:
|
||||
self.assertEqual(ssh(f'test -f {installed}/py_modules/click.py && echo yes').strip(), 'yes')
|
||||
receipt = json.loads(ssh(f'cat {installed}/.frame-control-store.json'))
|
||||
|
||||
BIN
Binary file not shown.
+8
-1
@@ -1,13 +1,14 @@
|
||||
# Pinned Decky store test archives
|
||||
|
||||
These are unmodified ZIPs downloaded from the official Decky store CDN on
|
||||
2026-10-25, except `96.zip` and `111.zip` downloaded on 2026-10-26. Each ZIP includes its
|
||||
2026-10-25, except `96.zip` and `111.zip` downloaded on 2026-10-26 and `60.zip` on 2026-10-27. Each ZIP includes its
|
||||
upstream `LICENSE`. They are test data, not plugins shipped or installed by
|
||||
Frame Control. The fake Frame tests serve them
|
||||
from a local fixture so CI does not depend on the store being online.
|
||||
|
||||
| File | Official plugin | Version | Store SHA-256 |
|
||||
| --- | --- | --- | --- |
|
||||
| `60.zip` | DeckyFileServer | 1.2.0 | `7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0` |
|
||||
| `96.zip` | Simple Timer | 1.0.0 | `973d927e9d9a1feec04679c564af7e389a729b6735d2a988ffc2cb46ce4eb312` |
|
||||
| `7.zip` | CSS Loader | 2.1.3 | `99beaf1374af82408e6d056e0b0147e5fca544e1035fa7ab88419231697bc231` |
|
||||
| `12.zip` | MusicControl | 1.1.6 | `246b89fd653c60a735b1cc401d1b0937d5cb969eea9024561661ff741f081d62` |
|
||||
@@ -48,3 +49,9 @@ RPC and events in the native isolated runtime gate. Cancel/replace/completion an
|
||||
active/canceled/expired backend restarts are regression checks; the unmodified
|
||||
archive must reproduce its historical lifecycle errors. Only private silent
|
||||
timers/settings are used. The upstream BSD license stays unchanged.
|
||||
|
||||
DeckyFileServer also runs through actual Decky 3.3.0 discovery/API1 RPC with a
|
||||
native helper replacement. HTTPS listing/download use only public markers in a
|
||||
private directory; uploads remain disabled. The exact source build, GPL licenses
|
||||
and reproducible recipe are in [the native assets](../../../ui/vendor/deckyfileserver-1.2.0/README.md).
|
||||
The original empty optional-argument bug is reproduced by a negative runtime case.
|
||||
@@ -4,6 +4,8 @@ from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).parent / 'fixtures/framey-official'
|
||||
PLUGINS = (
|
||||
{'id': 60, 'name': 'DeckyFileServer', 'version': '1.2.0', 'api_version': 1,
|
||||
'folder': 'DeckyFileServer', 'sha256': '7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0'},
|
||||
{'id': 89, 'name': 'DeckySpy', 'version': '0.6.7', 'api_version': 'legacy',
|
||||
'folder': 'decky-spy', 'sha256': '2d431a89826ed5cf3fd37258373eb3b46c841c39795aa8b25f83e59f4eee87c7'},
|
||||
{'id': 96, 'name': 'Simple Timer', 'version': '1.0.0', 'api_version': 1,
|
||||
|
||||
@@ -65,6 +65,15 @@ class ArchiveTests(unittest.TestCase):
|
||||
return_value=io.BytesIO(json.dumps(records).encode())):
|
||||
self.assertEqual([(p['id'], p['root']) for p in frame_decky_store.catalog()], [(42, True)])
|
||||
|
||||
def test_only_exact_fileserver_adaptation_clears_store_root(self):
|
||||
records = [{'id': 60, 'name': 'DeckyFileServer', 'tags': ['root'],
|
||||
'versions': [{'name': '1.2.0', 'hash': frame_decky_store.FILESERVER_DIGEST}]}]
|
||||
with patch.object(frame_decky_store.urllib.request, 'urlopen', return_value=io.BytesIO(json.dumps(records).encode())):
|
||||
self.assertFalse(frame_decky_store.catalog()[0]['root'])
|
||||
records[0]['versions'][0]['hash'] = 'a'*64
|
||||
with patch.object(frame_decky_store.urllib.request, 'urlopen', return_value=io.BytesIO(json.dumps(records).encode())):
|
||||
self.assertTrue(frame_decky_store.catalog()[0]['root'])
|
||||
|
||||
def test_accepts_hashed_non_root_archive(self):
|
||||
data, digest = archive()
|
||||
self.assertEqual(frame_decky_store.archive_info(data, digest, 'Example'), 'Example')
|
||||
@@ -161,6 +170,48 @@ class StoreTransaction(unittest.TestCase):
|
||||
self.assertNotEqual(result.returncode, 0)
|
||||
self.assertTrue(external.exists())
|
||||
|
||||
def test_modified_fileserver_archive_does_not_inherit_exception(self):
|
||||
from framey_official import PLUGINS, archive as official_archive
|
||||
record = next(p for p in PLUGINS if p['id'] == 60)
|
||||
original = official_archive(record)
|
||||
with zipfile.ZipFile(io.BytesIO(original)) as source:
|
||||
stream = io.BytesIO()
|
||||
with zipfile.ZipFile(stream, 'w', zipfile.ZIP_DEFLATED) as target:
|
||||
for entry in source.infolist():
|
||||
target.writestr(entry, source.read(entry))
|
||||
target.writestr(record['folder']+'/changed.txt', b'new version')
|
||||
data = stream.getvalue()
|
||||
with self.assertRaisesRegex(ValueError, 'non-ARM64'):
|
||||
frame_decky_store.archive_info(data, hashlib.sha256(data).hexdigest(), record['name'])
|
||||
result = self.apply('install', data, plugin_id=60, folder=record['folder'], version=record['version'])
|
||||
# Remote defence rejects root even when the desktop validation is bypassed.
|
||||
self.assertNotEqual(result.returncode, 0)
|
||||
self.assertIn('Root', result.stderr)
|
||||
|
||||
def test_corrupt_fileserver_offline_helper_is_rejected(self):
|
||||
with patch.object(frame_decky_store, 'FILESERVER_BINARIES', {'x86_64': '0'*64}):
|
||||
with self.assertRaisesRegex(ValueError, 'SHA-256 mismatch'):
|
||||
frame_decky_store.apply_script(60, frame_decky_store.FILESERVER_DIGEST)
|
||||
self.assertEqual(frame_decky_store.apply_script(60, '0'*64), frame_decky_store.APPLY)
|
||||
|
||||
def test_exact_fileserver_gets_native_user_helper(self):
|
||||
from framey_official import PLUGINS, archive as official_archive
|
||||
import platform
|
||||
if platform.machine() not in frame_decky_store.FILESERVER_BINARIES:
|
||||
self.skipTest('native Linux helper architecture')
|
||||
record = next(p for p in PLUGINS if p['id'] == 60)
|
||||
data = official_archive(record)
|
||||
self.assertEqual(frame_decky_store.archive_info(data, record['sha256'], record['name']), record['folder'])
|
||||
result = self.apply('install', data, plugin_id=60, folder=record['folder'], version=record['version'])
|
||||
self.assertEqual(result.returncode, 0, result.stderr)
|
||||
plugin = self.folder.parent/record['folder']
|
||||
self.assertEqual(json.loads((plugin/'plugin.json').read_text())['flags'], [])
|
||||
self.assertEqual(json.loads((plugin/'.frame-control-store.json').read_text())['compatShims'], ['deckyfileserver-user-native'])
|
||||
helper = plugin/'bin/backend'
|
||||
self.assertEqual(hashlib.sha256(helper.read_bytes()).hexdigest(), frame_decky_store.FILESERVER_BINARIES[platform.machine()])
|
||||
self.assertEqual(helper.stat().st_mode & 0o777, 0o700)
|
||||
compile((plugin/'main.py').read_text(), str(plugin/'main.py'), 'exec')
|
||||
self.assertIn('if arg]', (plugin/'main.py').read_text())
|
||||
@unittest.skipUnless(__import__('platform').machine() in ('x86_64', 'aarch64'), 'native Linux wheel architecture')
|
||||
def test_exact_deckyspy_gets_native_dependency_and_license_only_in_its_folder(self):
|
||||
from framey_official import PLUGINS, archive as official_archive
|
||||
|
||||
@@ -26,6 +26,9 @@ class HeadsetBundle(unittest.TestCase):
|
||||
self.assertIn('ui/headset.html', names)
|
||||
self.assertIn('ui/frame_headset_runtime.py', names)
|
||||
self.assertIn('ui/server.py', names)
|
||||
for filename in ('aarch64.gz', 'x86_64.gz', 'source.tar.gz', 'LICENSE.txt', 'GO-LICENSE.txt', 'README.md'):
|
||||
self.assertIn('ui/vendor/deckyfileserver-1.2.0/'+filename, names)
|
||||
self.assertIn('scripts/build-framey-fileserver.py', names)
|
||||
for name in ('aarch64.whl', 'x86_64.whl', 'LICENSE.txt'):
|
||||
self.assertIn('ui/vendor/psutil-7.2.2/'+name, names)
|
||||
self.assertFalse(any('\\' in name for name in names))
|
||||
|
||||
@@ -19,7 +19,7 @@ class RuntimeCoverage(unittest.TestCase):
|
||||
self.assertEqual(len(cases), len({case['id'] for case in cases}))
|
||||
for case in cases:
|
||||
self.assertIn(case['id'], official)
|
||||
self.assertIn(case['probe'], ('mpris', 'screenshots', 'system-monitor', 'timer-lifecycle'))
|
||||
self.assertIn(case['probe'], ('mpris', 'screenshots', 'system-monitor', 'timer-lifecycle', 'fileserver'))
|
||||
|
||||
def test_new_shim_without_runtime_case_fails_coverage(self):
|
||||
import frame_decky_store
|
||||
|
||||
@@ -74,6 +74,14 @@ class OfficialBundles(unittest.TestCase):
|
||||
folder = plugins / plugin['folder']
|
||||
(folder / '.frame-control-store.json').write_text(json.dumps({
|
||||
'storeId': plugin['id'], 'sha256': plugin['sha256']}))
|
||||
if plugin['id'] == 60:
|
||||
# This renderer fixture extracts the original ZIP. The
|
||||
# real managed adaptation is covered by transaction and
|
||||
# published Decky tests; an unadapted root copy must fail.
|
||||
with patch.object(framey_panel, 'PLUGINS', plugins), self.assertRaises(FileNotFoundError):
|
||||
framey_panel.panel(plugin['id'])
|
||||
manifest['flags'] = []
|
||||
(folder/'plugin.json').write_text(json.dumps(manifest))
|
||||
with patch.object(framey_panel, 'PLUGINS', plugins):
|
||||
page = framey_panel.panel(plugin['id']).decode()
|
||||
encoded = re.search(r'<script id="framey-bundle" type="application/json"[^>]*>([^<]+)</script>', page)
|
||||
|
||||
+94
-4
@@ -4,6 +4,7 @@ Only Frame Control owned plugin folders can be updated or removed. The store
|
||||
digest validates transport, not plugin trust; store plugins run as the user.
|
||||
"""
|
||||
import base64
|
||||
import gzip
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
@@ -13,6 +14,7 @@ import re
|
||||
import secrets
|
||||
import urllib.request
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
import frame_decky
|
||||
import framey_compatibility
|
||||
@@ -25,6 +27,13 @@ MAX_ZIP = 50 * 1024 * 1024
|
||||
MAX_UNPACKED = 150 * 1024 * 1024
|
||||
SAFE_FOLDER = re.compile(r'[A-Za-z0-9][A-Za-z0-9_.-]{0,99}\Z')
|
||||
SHA = re.compile(r'[0-9a-f]{64}\Z')
|
||||
FILESERVER_DIGEST = '7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0'
|
||||
FILESERVER_BINARIES = {
|
||||
'x86_64': '5e90efd1bf5163bef1686045f4714ad0e4fd0f54edb037fce8cdb06c58177bcb',
|
||||
'aarch64': '86b80021ebd62ed619eba065757c1122defa5a74b2c045aa44a0c6b4403a508a',
|
||||
}
|
||||
FILESERVER_ORIGINAL = 'd9eab8559c87c01736188bc676f3b4b44dee47cf952b6e571c770d1ea61733e9'
|
||||
|
||||
VERSION = re.compile(r'[A-Za-z0-9][A-Za-z0-9._+\-]{0,39}\Z')
|
||||
|
||||
|
||||
@@ -70,6 +79,8 @@ def catalog():
|
||||
counts[item['id']] = counts.get(item['id'], 0) + 1
|
||||
unique = [item for item in result if counts[item['id']] == 1]
|
||||
for item in unique:
|
||||
if item['id'] == 60 and item['name'] == 'DeckyFileServer' and item['sha256'] == FILESERVER_DIGEST:
|
||||
item['root'] = False # Exact managed adaptation runs as the Frame user.
|
||||
item['compatibility'] = framey_compatibility.lookup(item['id'], item['sha256'], item['version'])
|
||||
return unique
|
||||
|
||||
@@ -88,6 +99,8 @@ def archive_info(data, expected_hash, expected_name):
|
||||
folder = manifests[0].split('/')[0]
|
||||
if not SAFE_FOLDER.fullmatch(folder):
|
||||
raise ValueError('Invalid plugin folder')
|
||||
fileserver = (expected_hash == FILESERVER_DIGEST and expected_name == 'DeckyFileServer'
|
||||
and folder == 'DeckyFileServer')
|
||||
seen = {}
|
||||
for entry in files:
|
||||
name = entry.filename
|
||||
@@ -117,7 +130,9 @@ def archive_info(data, expected_hash, expected_name):
|
||||
with archive.open(entry) as source:
|
||||
header = source.read(20)
|
||||
if header[:4] == b'\x7fELF' and int.from_bytes(header[18:20], 'little') != 183:
|
||||
raise ValueError('Plugin contains a non-ARM64 Linux binary: ' + name)
|
||||
if not (fileserver and name == 'DeckyFileServer/bin/backend'
|
||||
and hashlib.sha256(archive.read(entry)).hexdigest() == FILESERVER_ORIGINAL):
|
||||
raise ValueError('Plugin contains a non-ARM64 Linux binary: ' + name)
|
||||
if header[:2] == b'MZ':
|
||||
raise ValueError('Plugin contains a Windows binary: ' + name)
|
||||
manifest = json.loads(archive.read(manifests[0]))
|
||||
@@ -128,7 +143,7 @@ def archive_info(data, expected_hash, expected_name):
|
||||
flags = manifest.get('flags', [])
|
||||
if not isinstance(flags, list) or not all(isinstance(flag, str) for flag in flags):
|
||||
raise ValueError('Invalid plugin flags')
|
||||
if 'root' in flags or '_root' in flags:
|
||||
if ('root' in flags or '_root' in flags) and not fileserver:
|
||||
raise ValueError('This plugin needs root and is not supported by the Frame user service')
|
||||
return folder
|
||||
|
||||
@@ -141,7 +156,19 @@ PSUTIL_DIGESTS = {
|
||||
|
||||
|
||||
def apply_script(plugin_id, digest):
|
||||
"""Send verified offline dependencies only for the exact managed plugin."""
|
||||
"""Deliver verified offline dependencies only to exact managed archives."""
|
||||
if plugin_id == 60 and digest == FILESERVER_DIGEST:
|
||||
assets = Path(__file__).parent/'vendor/deckyfileserver-1.2.0'
|
||||
payloads = {}
|
||||
for arch, expected in FILESERVER_BINARIES.items():
|
||||
packed = (assets/f'{arch}.gz').read_bytes()
|
||||
data = gzip.decompress(packed)
|
||||
if hashlib.sha256(data).hexdigest() != expected:
|
||||
raise ValueError('Bundled DeckyFileServer SHA-256 mismatch')
|
||||
payloads[arch] = base64.b64encode(packed).decode('ascii')
|
||||
# Python stdin, never shell arguments. The Frame rechecks hash and ELF machine.
|
||||
return ('FRAMEY_FILESERVER_BINARIES = '+repr(payloads)+'\n'
|
||||
+'FRAMEY_FILESERVER_HASHES = '+repr(FILESERVER_BINARIES)+'\n'+APPLY)
|
||||
if plugin_id != 89 or digest != DECKYSPY_DIGEST:
|
||||
return APPLY
|
||||
wheels = {}
|
||||
@@ -157,7 +184,7 @@ def apply_script(plugin_id, digest):
|
||||
|
||||
|
||||
APPLY = r'''
|
||||
import base64,fcntl,hashlib,io,json,os,pathlib,platform,shutil,subprocess,sys,zipfile
|
||||
import base64,fcntl,gzip,hashlib,io,json,os,pathlib,platform,shutil,subprocess,sys,zipfile
|
||||
action,token,plugin_id,digest,folder,version,expected_installed = sys.argv[1:]
|
||||
base=pathlib.Path.home()/'.local/share/frame-control/decky/plugins'
|
||||
unit=pathlib.Path.home()/'.config/systemd/user/frame-control-decky.service'
|
||||
@@ -199,6 +226,14 @@ try:
|
||||
files=z.infolist()
|
||||
if not files or len(files)>3000 or sum(f.file_size for f in files)>150*1024*1024:
|
||||
raise RuntimeError('Plugin archive too large')
|
||||
fileserver=(int(plugin_id)==60 and digest=='7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0' and folder=='DeckyFileServer')
|
||||
manifest=json.loads(z.read(folder+'/plugin.json'))
|
||||
if not isinstance(manifest,dict): raise RuntimeError('Invalid plugin manifest')
|
||||
flags=manifest.get('flags',[])
|
||||
if not isinstance(flags,list) or not all(isinstance(flag,str) for flag in flags):
|
||||
raise RuntimeError('Invalid plugin flags')
|
||||
if ('root' in flags or '_root' in flags) and not fileserver:
|
||||
raise RuntimeError('Root plugins are not supported by the Frame user service')
|
||||
seen={}
|
||||
for f in files:
|
||||
parts=f.filename.split('/')
|
||||
@@ -219,6 +254,13 @@ try:
|
||||
z.read(prior)!=z.read(f)):
|
||||
raise RuntimeError('Unsafe plugin archive')
|
||||
else: seen[f.filename]=f
|
||||
if not f.is_dir():
|
||||
with z.open(f) as source: header=source.read(20)
|
||||
if header[:4]==b'\x7fELF' and int.from_bytes(header[18:20],'little')!=183:
|
||||
if not (fileserver and f.filename==folder+'/bin/backend' and
|
||||
hashlib.sha256(z.read(f)).hexdigest()=='d9eab8559c87c01736188bc676f3b4b44dee47cf952b6e571c770d1ea61733e9'):
|
||||
raise RuntimeError('Plugin contains a non-ARM64 Linux binary')
|
||||
if header[:2]==b'MZ': raise RuntimeError('Plugin contains a Windows binary')
|
||||
stage.mkdir(mode=0o700)
|
||||
z.extractall(stage)
|
||||
# zipfile drops execute bits. Legacy plugins also publish shebang
|
||||
@@ -234,6 +276,54 @@ try:
|
||||
unpacked=stage/folder
|
||||
if not unpacked.is_dir(): raise RuntimeError('Missing plugin folder')
|
||||
compat_shims=[]
|
||||
# GPL source and reproducible build recipe ship with Frame Control.
|
||||
# The exact official helper is x86_64; this plugin needs no root.
|
||||
if int(plugin_id)==60 and digest=='7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0' and folder=='DeckyFileServer':
|
||||
helper=unpacked/'bin/backend'
|
||||
source=unpacked/'main.py'
|
||||
if hashlib.sha256(helper.read_bytes()).hexdigest()!='d9eab8559c87c01736188bc676f3b4b44dee47cf952b6e571c770d1ea61733e9':
|
||||
raise RuntimeError('DeckyFileServer original helper mismatch')
|
||||
if hashlib.sha256(source.read_bytes()).hexdigest()!='4fb60745c083465d198d84e1abb0afdb59695d9eec3c873b0b35247676af05c3':
|
||||
raise RuntimeError('DeckyFileServer Python source mismatch')
|
||||
arch=platform.machine()
|
||||
machine={'aarch64':183,'x86_64':62}.get(arch)
|
||||
hashes=globals().get('FRAMEY_FILESERVER_HASHES',{})
|
||||
packed=globals().get('FRAMEY_FILESERVER_BINARIES',{}).get(arch)
|
||||
if not machine or not packed: raise RuntimeError('Missing native DeckyFileServer helper')
|
||||
native=gzip.decompress(base64.b64decode(packed,validate=True))
|
||||
if (hashlib.sha256(native).hexdigest()!=hashes.get(arch) or native[:4]!=b'\x7fELF'
|
||||
or int.from_bytes(native[18:20],'little')!=machine):
|
||||
raise RuntimeError('DeckyFileServer native helper mismatch')
|
||||
helper.write_bytes(native)
|
||||
helper.chmod(0o700)
|
||||
manifest_path=unpacked/'plugin.json'
|
||||
manifest=json.loads(manifest_path.read_text())
|
||||
if manifest.get('name')!='DeckyFileServer' or manifest.get('api_version')!=1 or manifest.get('flags')!=['_root']:
|
||||
raise RuntimeError('DeckyFileServer manifest mismatch')
|
||||
manifest['flags']=[]
|
||||
manifest['publish']['tags']=[tag for tag in manifest['publish']['tags'] if tag not in ('root','_root')]
|
||||
manifest_path.write_text(json.dumps(manifest)+'\n')
|
||||
text=source.read_text()
|
||||
# Go flag parsing stops at an empty positional argument. Filter
|
||||
# omitted boolean flags so -disablethumbnails actually takes effect.
|
||||
text=text.replace(' ],\n stdout=PIPE,',
|
||||
' ] if arg],\n stdout=PIPE,')
|
||||
text=text.replace(' [\n f"{decky.DECKY_PLUGIN_DIR}',
|
||||
' [arg for arg in [\n f"{decky.DECKY_PLUGIN_DIR}')
|
||||
# Hostname DNS is not guaranteed on Frame OS. A UDP connect
|
||||
# selects the kernel source address without sending any packet.
|
||||
text=text.replace(' return socket.gethostbyname(socket.gethostname())',
|
||||
' try:\n return socket.gethostbyname(socket.gethostname())\n'
|
||||
' except OSError:\n with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as probe:\n'
|
||||
' try:\n probe.connect(("192.0.2.1", 9))\n'
|
||||
' return probe.getsockname()[0]\n'
|
||||
' except OSError:\n return "127.0.0.1"')
|
||||
# Configure thumbnail policy before launching the helper.
|
||||
old=' if "server_running" in status:\n await Plugin.set_server_running(self, status["server_running"])\n if "disable_thumbnails" in status:\n await Plugin.set_disable_thumbnails(self, status["disable_thumbnails"])'
|
||||
new=' if "disable_thumbnails" in status:\n await Plugin.set_disable_thumbnails(self, status["disable_thumbnails"])\n if "server_running" in status:\n await Plugin.set_server_running(self, status["server_running"])'
|
||||
if old not in text: raise RuntimeError('DeckyFileServer start configuration changed')
|
||||
source.write_text(text.replace(old,new))
|
||||
compat_shims.append('deckyfileserver-user-native')
|
||||
# Simple Timer 1.0.0 has annotation-only task state, orphaned
|
||||
# replacement tasks and canceled deadlines that resume on restart.
|
||||
# Preserve its API1 instance convention and upstream license.
|
||||
|
||||
@@ -4332,13 +4332,15 @@
|
||||
"https://github.com/SteamDeckHomebrew/decky-plugin-template.git",
|
||||
"https://github.com/grimkor/DeckyFileServer"
|
||||
],
|
||||
"status": "broken",
|
||||
"reason": "Plugin contains a non-ARM64 Linux binary: DeckyFileServer/bin/backend.",
|
||||
"blockInstall": true,
|
||||
"status": "partial",
|
||||
"reason": "Managed install supplies a native ARM64 helper and removes the exact archive's unnecessary root request. Real Decky 3.3.0 on Frame passes private read-only HTTPS listing/download and upload denial. Frontend address/picker and thumbnail-toggle display limitations remain; use HTTPS and a preconfigured directory. Uploads, generated thumbnails and worn VR are unverified.",
|
||||
"blockInstall": false,
|
||||
"verification": [
|
||||
"static archive",
|
||||
"local browser",
|
||||
"fake-Frame"
|
||||
"fake-Frame",
|
||||
"real Decky 3.3.0 amd64",
|
||||
"real Frame SSH"
|
||||
],
|
||||
"browser": {
|
||||
"id": 60,
|
||||
@@ -4357,7 +4359,7 @@
|
||||
},
|
||||
"backend": "Python + native payload",
|
||||
"hardware": "No specific hardware requirement detected statically; runtime requirements unverified.",
|
||||
"nativePort": "Native file-server backend needs ARM64 dependencies; root requirement also blocks the user service.",
|
||||
"nativePort": "GPL-3.0 helper rebuilt offline for ARM64 with vendored corresponding source. Actual Frame user service passes HTTPS listing/download of a private public fixture; uploads disabled. Exact managed digest only; other native/root archives remain blocked (docs/evidence/framey-fileserver-arm64-2026-10-27.md).",
|
||||
"uiSurfaces": [],
|
||||
"fakeFrame": {
|
||||
"id": 60,
|
||||
@@ -4365,6 +4367,15 @@
|
||||
"archiveValidation": "Plugin contains a non-ARM64 Linux binary: DeckyFileServer/bin/backend",
|
||||
"result": "blocked",
|
||||
"reason": "ValueError: Root plugins are not supported by the Frame user service"
|
||||
},
|
||||
"requiredShims": [
|
||||
"deckyfileserver-user-native"
|
||||
],
|
||||
"managedNative": {
|
||||
"shim": "deckyfileserver-user-native",
|
||||
"helperSha256": "86b80021ebd62ed619eba065757c1122defa5a74b2c045aa44a0c6b4403a508a",
|
||||
"sourceCommit": "dcf3f3ce5104d05811fa8c156c4f58632b84b313",
|
||||
"verification": "Real Decky discovery/public RPC and private read-only HTTPS fixture; docs/evidence/framey-fileserver-arm64-2026-10-27.md"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
Copyright 2009 The Go Authors.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google LLC nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+707
@@ -0,0 +1,707 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
|
||||
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2023, David Sturman
|
||||
Original Copyright (c) 2022-2023, Steam Deck Homebrew
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
# DeckyFileServer 1.2.0 native helper
|
||||
|
||||
The official store archive (`7dc2ecdcd05aa415d1ac90afaff28ecb17f77809a2bc7a77aee8e92505b976f0`)
|
||||
contains an x86_64 helper. Frame Control replaces only that exact archive's
|
||||
`bin/backend` with the native Linux helper here. No runtime download, compiler,
|
||||
root service or system package is used.
|
||||
|
||||
Upstream: https://github.com/grimkor/DeckyFileServer
|
||||
Pinned source commit: `dcf3f3ce5104d05811fa8c156c4f58632b84b313`.
|
||||
The source tarball fetched from GitHub has SHA-256
|
||||
`0854ca668b64598b0871ceda842912332b75e5c482afeea8a533e4cb38921639`.
|
||||
Its `main.py`, `plugin.json` and `package.json` match the store ZIP byte for byte.
|
||||
The published Go binary has no VCS revision metadata, so its source revision
|
||||
cannot be independently established from the binary.
|
||||
|
||||
`source.tar.gz` is the complete corresponding helper source, embedded resources,
|
||||
Go module metadata, vendored dependencies and their licenses, plus upstream
|
||||
`LICENSE`. SHA-256:
|
||||
`50d90a7328daa412bf963ec68bb4855a9ec0860a8475cdf7d2019e6c2507112d`.
|
||||
It is available in the same app bundle/repository as these binaries. Upstream is
|
||||
GPL-3.0; see `LICENSE.txt`. The statically linked Go runtime uses the BSD license
|
||||
in `GO-LICENSE.txt` (toolchain source: https://go.dev/dl/#go1.25.7).
|
||||
|
||||
The sole Go source change replaces the fixed `/tmp/deckyfileserver.log` path
|
||||
with `filepath.Join(os.Getenv("DECKY_PLUGIN_LOG_DIR"), "deckyfileserver.log")`,
|
||||
falling back to `os.TempDir()` when the environment variable is empty. This keeps
|
||||
managed and private test logs separate. The upstream HTTPS certificate/key are
|
||||
public embedded test material, unchanged; this is not a trusted TLS certificate.
|
||||
|
||||
Reproduce offline with Go **1.25.7** and Python 3.12+:
|
||||
|
||||
```sh
|
||||
python3 scripts/build-framey-fileserver.py --go /path/to/go1.25.7/bin/go --output /tmp/framey-fileserver-build
|
||||
```
|
||||
|
||||
The script extracts only this source archive, disables module downloads, uses
|
||||
`CGO_ENABLED=0`, `GOOS=linux`, `-mod=vendor`, `-trimpath`, `-buildvcs=false` and
|
||||
`-ldflags='-s -w -buildid='`, and emits deterministic gzip assets (mtime 0).
|
||||
|
||||
| Architecture | Uncompressed helper SHA-256 | Gzip SHA-256 |
|
||||
| --- | --- | --- |
|
||||
| x86_64 | `5e90efd1bf5163bef1686045f4714ad0e4fd0f54edb037fce8cdb06c58177bcb` | `84e49f049bbc475bc553ef52adc05dcd323e36c5f5ec75008558ae87f3a0e6d7` |
|
||||
| aarch64 | `86b80021ebd62ed619eba065757c1122defa5a74b2c045aa44a0c6b4403a508a` | `7ca1b8aebd4e8d2c8ce382ca561e1413ad8e581f85f419a1da777c87d86c4a19` |
|
||||
|
||||
The managed Python adaptation removes only this digest's `_root` flag, handles
|
||||
unavailable hostname DNS,
|
||||
filters omitted flags and applies thumbnail policy before server startup.
|
||||
The server still shares the selected directory on all interfaces using the
|
||||
upstream self-signed HTTPS server; it has no authentication. Select only a
|
||||
directory you intend to share. Uploads remain off by default. Protected system
|
||||
files remain subject to the ordinary Frame user's permissions.
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in new issue
Block a user