İçeriğe geç
Kurulum

local-app-distribution

Local App Distribution (Non-Technical End Users)

Yerel bir uygulamayı teknik olmayan kullanıcılara dağıtır.

HamaratLabsMITv1.0.0

KURULUM

hermes skills install well-known:https://skills.hamaratlabs.com/.well-known/skills/local-app-distribution

Ham dosyaSKILL.md önizlemesi

ÖRNEKLER

Ne istendi, ne çıktı

Bu skill için yayınlanabilir örnek henüz yok.

KAYNAK VE LİSANS

Tür
HamaratLabs yazdı
Yazan
HamaratLabs
Lisans
MIT
Ham dosya
SKILL.md

DEĞERLENDİRME

  • 40kayıtlı yükleme

Sayılar ajan kayıtlarından gelir. Puanlama henüz yok.

SÜRÜM

Sürüm
v1.0.0
Siteye ilk yayın
1 Aralık 2026
Oluşturma
18 Ekim 2026
Son kullanım
3 Kasım 2026
Paket
1 dosya · SKILL.md 304 satır

YORUMLAR

Yorumlar yakında

Bu skill hakkındaki yorumlar ve puanlar burada görünecek. Bölüm henüz açılmadı.

SKILL.MDÖnizleme304 SATIR

AJAN AÇIKLAMASI Use when shipping a local app to non-technical users.

Local App Distribution (Non-Technical End Users)

For shipping a local-first app (e.g. a Gradio/Python ML tool, or any desktop tool with no backend/account) to non-technical users via GitHub: double-click launchers, per-OS packaging quirks, and docs structured for a reader who has never opened a terminal.

When to Use

Use when packaging, writing install docs for, or debugging the launcher/installer of a local app (no backend, runs on the user's own machine) that will be downloaded and run by someone without developer tooling or command-line familiarity.

Procedure

  1. Provide one double-click launcher per OS at the repo root, named for its OS plainly (e.g. WINDOWS_BASLAT.bat, MACOS_BASLAT.command) - a generic name like baslat.bat/baslat.command alone doesn't tell a non-technical user which file is theirs.
  2. Make every launcher idempotent and resumable: mark successful install completion with a sentinel file (e.g. .venv/<app>_kurulum_tamam.txt). A half-finished install (network drop, closed window) should resume on the next double-click, not restart from scratch or silently skip a step it never actually completed.
  3. Never let a launcher fail silently. Every exit path (missing interpreter, failed install step, nonzero app exit) must print what failed AND pause before the window closes - a console that flashes and closes before a non-technical user can read it is functionally the same as no error message at all.
  4. For the install-time interpreter lookup, try multiple invocation names in order (e.g. py -3.X, then bare py, then python) and verify each with --version, not just where/which - where can resolve a binary that exists but doesn't actually run (Microsoft Store's stub python.exe shim is a known case: found on PATH, exits/opens the Store instead of running). 4a. To remove the "install Python first" step entirely (true single-flow double-click, the highest-value simplification for a non-technical audience), have the launcher bundle a portable interpreter instead of searching the system: download a redistributable build from astral-sh/python-build-standalone (real, verified URL pattern: https://github.com/astral-sh/python-build-standalone/releases/download/<TAG>/cpython-<VER>+<TAG>-<TARGET_TRIPLE>-install_only.tar.gz; current <TAG> from https://raw.githubusercontent.com/astral-sh/python-build-standalone/latest-release/latest-release.json, with a known-good TAG+version hardcoded as fallback if that JSON fetch fails). Verify integrity before extracting: download the release's SHA256SUMS file for the same <TAG> and compare the archive's SHA256 against it (shasum -a 256 on Mac, certutil -hashfile <file> SHA256 on Windows); if the hash does not match or the sums file cannot be fetched, stop the install, delete nothing, and print a clear error instead of running the interpreter. Target triples: x86_64-pc-windows-msvc (Windows), aarch64-apple-darwin / x86_64-apple-darwin (Mac, pick by uname -m). Extract once into a local python-embed/ folder next to the launcher (built-in tar handles .tar.gz on both modern Windows 10/11 and macOS); on every later run just reuse python-embed/python.exe (or python-embed/bin/python3) directly - install_only builds are fully relocatable, so a venv on top is unnecessary, pip install straight into that interpreter is enough since it's already a private, disposable copy. Keep the system-interpreter search from step 4 as the fallback path if the download/extract fails (no internet, blocked GitHub) so the launcher never regresses below today's behavior. Add the downloaded folder to .gitignore. The download is ~25-30MB - negligible next to a multi-GB model download the app likely does anyway.
  5. Structure the README as two tiers: a short, jargon-free install section at the very TOP - immediately after the title/one-line pitch, before any longer intro - and all technical detail (manual venv commands, hardware tables, licensing internals, GPU setup) moved to the BOTTOM under its own heading (label it as advanced/optional, e.g. "most users don't need to read this"). When the app ships launchers for more than one OS plus an AI-assisted path, give each its OWN heading in sequence right at the top (## Windows Install, ## Mac Install, ## AI-Assisted Install) rather than one generic combined block - a reader only reads their own OS's heading and skips the rest. One real screenshot of the running app, after the install headings, serves as the shared "you did it right" signal for all paths. Follow the install headings with a plain-language "Features" section (what it does, not how), not a technical "Usage" walkthrough - keep parameter names, config internals, and architecture out of it. A non-technical reader should never have to scroll past hardware benchmarks or install headings to find "what do I click," and should never hit a technical term before the Features section.
  6. Ship a companion "AI-assisted install" markdown file the user can paste whole into their own AI chat assistant: a role instruction telling the AI to give one step at a time and wait for confirmation before the next, the real step-by-step commands per OS, and a numbered list of ACTUAL encountered errors with their fixes (pulled from this project's real troubleshooting history, not hypothetical ones). This turns every known pitfall into a self-service fix without a support request.
  7. If the repo is private, say so explicitly at the download step in both the README and the AI-install file. Note that GitHub's per-file blob/raw view lets a user copy the AI-install doc's content directly (still requires being logged into an account with access) without downloading the whole repo - don't assume "download ZIP" is the only path a reader will take.

Pitfalls

  • A private repo makes every non-technical distribution plan non-functional for its actual audience, regardless of how good the docs are. Before building (or promising) a "share this link with anyone" flow - a README quick-install, an AI-assisted copy-paste doc, a one-click GitHub raw/blob link - check the repo's real visibility (gh repo view <owner>/<repo> --json isPrivate). A private repo returns 404 to anyone without collaborator access; a stranger (a YouTube viewer, a random link recipient) cannot open it no matter how clear the instructions are. Flag this as the actual blocker it is, not a wording nuance to disclose - the whole plan is dead until the owner flips visibility (their call, a licensing/exposure decision, not yours to make unilaterally unless explicitly told to).
  • When a repo's visibility actually changes (private → public or back), grep every doc that mentions the OLD state and fix it in the SAME pass, not reactively after a user catches a stale line, AND re-verify the real flow end-to-end as a stranger would see it (a plain unauthenticated curl -sI <url> returning 200, not just re-checking isPrivate in the API response) before telling the user the share-this-link flow now works - the API field flipping is not the same proof as a real anonymous request actually succeeding. grep -rn -i "private\|özel\|giriş yap\|requires login" README.md AI-install-doc.md (or the local equivalent) right after flipping visibility - a leftover "you need to log in first" instruction actively confuses the exact audience the flip was meant to serve, and a half-updated doc looks worse than one that was never touched.
  • Going private→public is also the natural trigger for a one-time repo-hygiene audit; do it in the same pass, not as an afterthought. Three recurring findings worth checking every time: (1) internal/agent-only working files (task briefs, scratch notes) that carry local absolute paths or orchestration instructions are often NOT covered by .gitignore - a careless git add -A leaks them into public history; grep the repo root for any such pattern used this session (e.g. .<role>-task-*.md) and add it explicitly. (2) A half-built, unreferenced installer/build draft (an .iss/.spec/packaging script nobody links to from the README and that would fail if actually run, e.g. missing half its source files in its file list) reads as a real, working option to a stranger browsing the repo - delete it rather than leave a broken draft lying around, unless someone will actually finish and wire it up. (3) A README/UI claim of "open source" next to a non-OSI license (PolyForm Noncommercial, source-available, any license restricting commercial use) is a real, visible inconsistency on a public repo - flag it and get the user's wording decision (e.g. "source-available, free for noncommercial use") rather than leaving the mismatch. Pair this with checking the LICENSE's own required-notice/attribution field actually names a current real party the user has confirmed, not a placeholder like "the project's contributors."
  • Do not accept a delegated security-audit report at face value, especially when it discloses its own methodology was weaker than intended (single agent, no adversarial refutation step) - re-verify every "must fix before going public" finding against ground truth yourself before acting on it. Two concrete checks pay off every time: (a) a finding about a leaked path/secret on some branch other than the one actually served publicly is not live until you confirm that branch was ever pushed (git ls-remote --heads origin - a branch sitting only in the local repo was never exposed, changing "fix the leak now" into "clean it before you ever push this branch"); (b) a finding that a real person's name/identifier "shouldn't appear in code" can be the audit mistaking a deliberate protective mechanism (an allow/deny-list of names used specifically to PREVENT that person's data from being committed) for the leak itself - read the surrounding code's actual purpose before agreeing to remove it; removing it can delete the protection the audit thinks it's asking you to add. A second, independent audit of the same repo finding different things than an earlier one is normal (different depth/scope), not grounds to defer to whichever ran most recently.
  • A .bat/.cmd authored or edited on macOS/Linux can end up with LF-only line endings that some cmd.exe parsing paths (especially multi-line parenthesized blocks) mishandle. Force CRLF for these extensions via .gitattributes (*.bat text eol=crlf, *.cmd text eol=crlf) so every clone/ZIP-download gets correct line endings regardless of the authoring OS.
  • A literal ) character inside an echo string that sits inside a parenthesized if (...) ( ... ) block breaks cmd.exe's parser - it reads that ) as closing the block early, producing ... was unexpected at this time. and exiting before reaching any pause, even though the script text looks syntactically fine to a human reader. Avoid parenthesized multi-line blocks in batch scripts that will contain free-form echo text; prefer flat sequential commands with if errorlevel 1 goto :label / goto instead of if (...) ( multiple lines ).
  • A .command/.sh launcher committed without its executable bit (git ls-files -s showing 100644 instead of 100755) silently breaks double-click-to-run on every fresh clone or ZIP download - Finder/Explorer opens it in a text editor instead of executing it, with no error at all. Check the git-RECORDED mode explicitly, not just the local filesystem permission (chmod +x fixes the local file while the repo still ships the wrong mode); re-add after chmod +x (or git update-index --chmod=+x <file>) and confirm git ls-files -s shows 100755 before shipping.
  • pip install torch fetches different wheels by OS, not just by whether a GPU is present. Plain pip install torch (no --index-url) ships a CUDA-bundled wheel by default on Linux, but a CPU-ONLY wheel by default on Windows and macOS - an NVIDIA GPU on Windows is NOT used automatically even with a fine driver. Point users (or the AI-install doc) at pytorch.org/get-started/locally to generate the correct --index-url command for their exact OS/CUDA version as an explicit optional step, and verify with python -c "import torch; print(torch.cuda.is_available())" rather than assuming the plain install enabled the GPU.
  • When a user reports "the app opens and immediately closes" (or doesn't open at all) for an unsigned/ad-hoc-signed local app shipped outside the App Store, diagnose Gatekeeper/App-Translocation before touching the app's own code. Check signature state first: codesign -dv <bundle> and spctl -a -vv <bundle> ("rejected ... no usable signature" is the common unsigned-local-build state); xattr -l <bundle> for a com.apple.quarantine flag (present when the bundle was downloaded via a browser, absent for something built locally on the same machine). A non-destructive first fix, ONLY for a bundle you built yourself or the user explicitly trusts: xattr -cr <bundle> then codesign --force --deep --sign - <bundle> (ad-hoc re-sign) - this does not require a paid Developer ID and does not modify the app's own files, but it removes macOS's download-origin check for that bundle, so never apply it to third-party downloads and tell the user what you changed. Tell the user the actual one-time bypass for an ad-hoc/unsigned app regardless: right-click the bundle → "Open" (not double-click) → click "Open" on the "developer cannot be verified" dialog, or System Settings → Privacy & Security → "Open Anyway" if that dialog was dismissed. For a Python+pywebview app specifically, also confirm the bundled interpreter is a framework build (sysconfig.get_config_var('WITH_NEXT_FRAMEWORK') truthy) and that pyobjc-framework-Cocoa/pyobjc-framework-WebKit are installed in the exact venv the launcher uses - a non-framework interpreter is the other common cause of a pywebview window that creates and then silently tears down immediately on macOS.
  • When a macOS app's Contents/MacOS/<Name> executable is a plain shell script (#!/bin/bash), TCC (the Masaüstü/Belgeler/İndirilenler privacy layer) can silently auto-deny every file read it does, with ZERO permission dialog ever shown and ZERO error in the app's own log - diagnose this BEFORE suspecting pywebview/Gatekeeper/signing. Root cause: macOS attributes a TCC-protected file access to the actual executing binary, and /bin/bash is an Apple "platform binary" - platform binaries never get a user-facing consent prompt, the access is just auto-denied (log show shows the giveaway: "Platform binary prompting is 'Deny'" / "System Policy: bash deny(1) file-read-data ..."). The practical symptom: a . ./some_setup.sh (or any read under Desktop/Documents/Downloads) inside the bash launcher fails, the function it was supposed to define is never created, the script exits (often code 127) within tens of milliseconds, and because this happens before the app's own logging setup runs, there is no log line, no crash report, no dialog - indistinguishable from "nothing happened" to the user. Fix: replace the bash script at Contents/MacOS/<Name> with a real compiled Mach-O binary (a small C launcher compiled universal arm64+x86_64 is enough) that runs the original bash logic as a CHILD subprocess (not via exec, so the parent's own bundle identity is what TCC evaluates) and forwards exit code/signals; this makes TCC correctly attribute the Desktop/Documents/Downloads request to the app's own CFBundleIdentifier and actually show the consent dialog. Confirm the fix landed by grepping log show/log stream for AUTHREQ_ATTRIBUTION right after a launch - a working fix shows responsible={identifier=<your bundle id>, ...}, accessing={identifier=com.apple.bash, ...} (the app is now the responsible party, bash is just the accessing process under it); before the fix, bash itself IS the top-level identifier and no such attribution-under-another-app line exists at all. Pair the fix with adding NS{Desktop,Documents,Downloads}FolderUsageDescription to Info.plist so the prompt carries a real explanation instead of a blank one. This is a DIFFERENT failure from unsigned/ad-hoc Gatekeeper rejection (which shows spctl -a -vv: rejected and usually DOES get a "developer cannot be verified" dialog) - check both independently, fixing one does not fix the other.
  • An agent's own terminal/automation session cannot reliably prove or disprove a GUI app's Finder-double-click launch behavior - say so rather than reporting a simulated open <bundle> test as equivalent to the user's real click. open <bundle> run from an automation/cloud terminal session can be silently killed by RunningBoard (log show --predicate 'process == "<App>"' shows Successfully spawned ... because launch job demand immediately followed by appDeath, often within under 0.1s, with the app's OWN log file never updated) because that session lacks the real logged-in GUI/WindowServer context a physical Finder click has - this is a property of the agent's session, not evidence about the app. Running the bundle's actual executable directly in the foreground (<bundle>/Contents/MacOS/<Name>, redirected to a log file, with a foreground timeout since a working GUI/server app may run indefinitely) DOES prove the underlying code/environment works, since it bypasses LaunchServices entirely - but it is a different code path from a real click and cannot stand in for it. When the two disagree (direct-exec works, open from the agent's session does nothing), ask the user to reproduce the real click themselves, then read whatever log file the app writes immediately afterward for the actual diagnostic - do not guess further from the agent-side open result. A process staying alive with no crash is NOT proof a window actually opened - when running the bundle's executable directly to test (per above), also check real window existence with osascript -e 'tell application "System Events" to count of windows of process "<Name>"' (poll it twice, a few seconds apart): a live, non-crashing process that reports 0 windows for the whole observation window means something is blocking window creation itself (e.g. the TCC platform-binary issue above, or the process is paused waiting on an unanswered permission dialog) - report this distinction explicitly rather than calling "it didn't crash in N seconds" a success.
  • A UI performance complaint about a local-inference app is sometimes misattributed to "the browser is the bottleneck." For a thin web UI in front of real ML inference (Gradio, Streamlit), browser rendering cost is negligible next to the model's own compute; wrapping the UI in a native window (pywebview, Electron) changes presentation only and will not speed up generation. Say this explicitly before scoping a "make it a native app" ask as a performance fix - the real lever is hardware acceleration (GPU/CUDA) or model/inference settings, not the shell.
  • A launcher's environment-isolation guards must be symmetric across every OS the app ships for. If one platform's launcher clears PYTHONHOME/PYTHONPATH and sets PYTHONNOUSERSITE=1 before invoking the bundled interpreter (to force it to ignore the system/user Python's ambient site-packages) and the other platform's launcher doesn't, the bundled interpreter on the unguarded platform can silently see - and pip install can silently skip reinstalling - packages already present in the user's own ~/.local/lib/pythonX.Y/site-packages (or equivalent), so the app ends up running against an untested, unpinned version the user happened to have installed for something else. Audit every per-OS launcher for the same three guards, not just the one that was written first.
  • To turn an existing local Gradio/Flask web UI into a "real app" feel (no visible terminal, no browser tab) without a rewrite, wrap it with pywebview: same Python codebase on every OS, it auto-selects the native backend - WKWebView via PyObjC on macOS (PyObjC ships with macOS's own Python but must be pip-installed when bundling a standalone interpreter per step 4a), WebView2 on Windows (pre-installed by default on current Windows 10/11 - only very old unpatched Windows 10 lacks it; the official WebView2 bootstrapper can be auto-run as a fallback the same way step 4a auto-downloads Python). Implementation is additive and small: start the existing Gradio/Flask server in a background thread, then webview.create_window(...) + webview.start() pointed at the local URL - no new repo, no architecture split.
  • When a user says "web app"/"web tabanlı" about a tool whose UI is already built with web technology (Gradio, Flask, any local HTTP server), do not assume they mean "move it to a hosted cloud service." They usually mean the opposite of what that phrase suggests on its own: keep the local/private/free architecture, just make the existing web-tech UI feel like a native desktop app (see the pywebview pitfall above). Jumping straight to a cloud-hosting architecture comparison (cost, privacy model change, hosting lift) when the user only asked for a nicer local launcher wastes a clarification round-trip and reads as if you invented a pivot they never proposed - ask or default to the local-wrapping interpretation before building the cloud-vs-local case.
  • To verify a "fresh install, first-time user" flow for real, create the test copy with git clone <repo> <tmpdir> (or a fresh git worktree add), not cp -R. cp -R blindly copies every gitignored heavy artifact too (.venv, node_modules, downloaded model weights), which can make the copy itself take minutes or time out, and it defeats the point of the test - you're no longer looking at what a stranger's first download actually contains. git clone naturally yields the same tracked-files-only snapshot a real downloader gets (a ZIP download matches this even more closely than a clone, if testing that exact path matters), takes seconds even on a large repo, and makes it obvious when the launcher's "first run" logic accidentally depends on some local file that isn't actually tracked in git.
  • Hiding the bootstrap console on Windows once the real GUI window is up is a pythonw.exe problem, not a packaging/freezing problem. Any standard Windows CPython distribution (including the python-build-standalone install_only builds from step 4a) ships pythonw.exe alongside python.exe in the same folder - a GUI-subsystem build that never allocates a console window. Launch the final app step with it (start "" "<embed>\pythonw.exe" desktop_or_app.py, then let the calling .bat exit normally) instead of python.exe, and the launcher's own console closes itself once it hands off - no compiling, no VBS wrapper needed. Trade-off: pythonw.exe has no console to print to, so route all logging to a file (and surface that file's path in any in-app error screen), or failures become silently invisible. Verify pythonw.exe actually exists in the exact downloaded archive (check the PE subsystem field, e.g. via a PE header dump) rather than assuming every embeddable/standalone Windows Python build includes it. Leave every error-path pause in the console-mode fallback untouched - only the successful final launch should go silent.
  • Hiding the Terminal window on macOS is a .app-bundle-shape problem, not a process-freezing or AppleScript problem. A .command file always opens Terminal.app and keeps that window alive for the whole process lifetime; closing that window programmatically afterward (AppleScript tell application "Terminal" to close ...) is fragile - it needs a one-time Automation permission grant the user can refuse, and risks matching the wrong window if several Terminal windows are open. The robust fix needs neither permission nor extra tooling: wrap the EXACT SAME bootstrap shell logic as the plain executable at <Name>.app/Contents/MacOS/<Name> (with a matching minimal Contents/Info.plist: CFBundleExecutable, CFBundleIdentifier, CFBundleName; omit LSUIElement so it still shows normally in the Dock). Finder/LaunchServices runs a bundle's Contents/MacOS executable directly and never involves Terminal, regardless of whether that executable is a compiled binary or a plain #!/bin/bash script - this is the same technique the "Platypus" packaging tool automates. Keep the underlying bootstrap logic in one shared place (a function or sourced file) and have both the plain .command and the .app's internal script call it, rather than forking the install logic in two places. A correct bundle shape is not enough on its own for Dock/LaunchServices identity: a bundled Python interpreter launched by that script registers in the Dock and lsappinfo/Activity Monitor under a generic "Python" entry (and icon) unless told otherwise, because macOS reads the running process's own identity, not the shell script that spawned it. Set CFProcessPath to the .app bundle's own executable path as an environment variable before exec'ing the embedded Python from within Contents/MacOS/<Name> - this makes the process register under the app's bundle identifier/name instead. Verify the fix actually changed the registered name (not just assumed from the code change) with lsappinfo list | grep -i python (should show zero matches) and a window-list check for the real app name, in a fresh git-clone test copy that has never run the bootstrap before (so the portable-interpreter download path is exercised too, not just an already-set-up .venv).
  • Windows 11's Smart App Control (SAC) can block a bundled interpreter's own pip-installed native dependencies (NumPy's _multiarray_umath.pyd, SciPy, any compiled C-extension wheel) with ImportError: DLL load failed ... blocked by group policy (Turkish: "Uygulama Denetimi ilkesi bu dosyayı engelledi") even though the app's own code has no bug. SAC trusts a file by cloud reputation keyed to its exact file hash, and per Microsoft's own docs that reputation restarts from ZERO for every new unsigned file version regardless of how widely-used the package name is overall - there is no per-app allowlist, and signing only your own launcher/exe does not fix this because the blocked file is a THIRD PARTY wheel you don't control and can't sign. Two real, limited levers, not a guaranteed fix: (1) pin native-compiled dependencies (numpy, scipy, similar) in requirements.txt to an older, long-established release (6+ months old, not "latest") instead of tracking newest - an older file hash has had more time to accumulate the "hundreds of clean installs" SAC's reputation model needs, which reduces incidence but does not eliminate it; (2) detect this exact error pattern (match on "blocked by group policy" / "Uygulama Denetimi" / the specific DLL-load-failed shape) in the app's own error handler and print/display a clear explanation instead of a generic traceback. Prefer lever (1) and signed/older wheels first. Only as a last resort, and as the user's own informed decision, mention that Smart App Control can be turned off (Windows Security → App & browser control → Smart App Control settings); state plainly that this disables a system-wide protection for every app, not just this one. State both limits honestly to the user: it is confirmed not a code bug, and an update can reduce but not guarantee-eliminate the risk.
  • A Gradio app's output components (gr.Audio, gr.Image, gr.Video) ship a built-in "share" button that uploads the output to Hugging Face Spaces Discussions, not a native OS share sheet - it silently attempts a real network call to Hugging Face's servers, which is the opposite of what a "fully local, nothing leaves your device" app should ever do, and it also just errors with a generic "An error occurred" when the app isn't actually running on Spaces (the symptom a user reports, when the real problem is the feature itself, not the error). For any locally-distributed Gradio app, explicitly pass show_share_button=False on every output component that defaults to showing one - do not rely on the "only shows when launched on Spaces" default, since it can still surface outside Spaces depending on Gradio version/environment detection. Add this check to the same pre-public privacy pass as the repo-hygiene audit above: grep gr.Audio(/gr.Image(/ gr.Video( for the parameter before telling a user their local tool makes no outbound calls.
  • Do not reach for PyInstaller/py2app to turn a Gradio+PyTorch (or similarly heavy ML-stack) app into a single frozen binary/.app - this is a documented, not a hypothetical, pain point. Gradio assumes its own and gradio_client's package files are readable as real files on disk (templates, a types.json schema) and breaks under PyInstaller's default bytecode-archive collection unless you explicitly add --collect-data gradio --collect-data gradio_client AND force module_collection_mode={'gradio': 'py'} in the spec file; PyTorch alone commonly bloats a frozen bundle to 500MB-1.5GB before manual --exclude-module tuning. For this app class, prefer NOT freezing at all: keep the already-working bundled-interpreter-plus-bootstrap-script architecture (step 4a) and wrap ONLY the entry point in a native installer/bundle shell (Inno Setup copying files + a Start Menu shortcut on Windows; a hand-built .app per the pitfall above on macOS) - this sidesteps the freezing problem entirely instead of fighting it. When unsure whether a packaging approach fits this app class, check how a comparable well-known open-source project in the same space actually ships - several popular local-LLM/Gradio web UIs ship exactly the bootstrap-script-plus-optional-native-wrapper pattern as their primary recommended install method, not a frozen single binary, which is real-world validation that the non-freezing approach is not a compromise.
  • When you cannot test an installer/launcher on the OS it targets (building on macOS, shipping for Windows, or vice versa), use a GitHub Actions windows-latest/macos-latest runner as a real, free verification oracle instead of shipping an untested script and hoping. choco install innosetup (or the macOS equivalent toolchain) on the runner, actually compile the installer, actually run it silently (/VERYSILENT for Inno Setup) plus a silent uninstall as a smoke test inside the same job, then actions/upload-artifact the built installer and download+verify it locally (file type, size, SHA256 match against the CI log's own hash) - this is categorically stronger evidence than "the script looks syntactically right." Trigger with workflow_dispatch (needs the workflow file already pushed to a branch - a throwaway ci/<topic>-test branch keeps this off main until the result is reviewed; ask the user for approval before pushing, even to a temporary branch) and watch it with gh run watch; iterate directly against real failures (a real run surfaced an icon-handling bug that static review had missed, and a Node20-deprecation warning from outdated actions/checkout/upload-artifact versions) rather than guessing at fixes. State plainly what this CI smoke test does NOT cover - typically the real multi-gigabyte first-time bootstrap (model/dependency download) and the graphical wizard screens a human would actually see, since the test runs silently - so a human click-through on real hardware stays the recommended final step, not a redundant one.

PAKETTEKİ DOSYALAR

WEB VE GELİŞTİRME

İlişkili skill'ler

dogfood

Web uygulamalarında keşif odaklı QA yapar, hata, kanıt ve rapor üretir.

Uyarlandı2 ÖRNEK

headless-cdp-qa

browser_exec ekran görüntüleri zaman aşımına uğradığında standart kütüphaneyle CDP QA yapar.

HamaratLabs2 ÖRNEK

taslak-secenek-png

2-3 statik arayüz taslağını PNG olarak teslim eder ve QA yapar.

HamaratLabs2 ÖRNEK

wingwire-ux-mock-analiz

WingWire UX analizi yapar ve hızlı render edilen HTML maketler üretir.

HamaratLabs1 ÖRNEK