Skip to content

v1.1.0 - in-app updates and a scrollable DubForge window

Choose a tag to compare

@xmrius xmrius released this 15 Aug 20:52
· 26 commits to main since this release

Both tools now tell you when a new version is out and can update themselves.
Plus the fix that started it: DubForge was unusable in a non-maximised window.

Added

  • Update notice inside both tools. On start they ask GitHub once whether a
    newer release exists — at most every six hours, and the answer is remembered
    so the banner also shows up when no request is made. The banner names the new
    version, expands to show that release's changelog, and updates the tools on
    one click: the archive is downloaded, checked, the app closes, the files are
    replaced and the app starts again.

  • Guard rails, because this downloads code and runs it: HTTPS only, GitHub
    hosts only, this repository only, a size limit on the download, no archive
    paths pointing outside the target folder, and every .py/.pyw in the
    archive is compiled before anything is replaced — a truncated download cannot
    leave you with a broken install.

  • Opt out by setting "check_updates": false in dubforge_settings.json
    or dubstage_settings.json. Nothing but the release information is ever
    requested, and nothing is sent.

Fixed

  • DubForge was unusable in a non-maximised window. The three steps were
    packed straight into the window, so anything past the bottom edge — step 3,
    "Build pack", the progress bar and the log — was simply gone, with no way to
    reach it. The content now sits in a scrollable canvas. It is stretched to the
    window as long as there is room, so a maximised window looks exactly as
    before; below that it scrolls.

  • Mouse wheel scrolls the page — except over widgets that scroll or count
    on their own. The waveform still zooms, the clip list and the log scroll
    themselves and hand the wheel back to the page once they reach their end, and
    the spinbox keeps counting.

  • Both tools now open no taller than the screen allows. At 1180×880
    DubForge did not fit on a 1080p display once the taskbar and title bar were
    subtracted — which is how the problem arose in the first place. The minimum
    window size drops from 980×740 to 900×480.

  • Scrollbars were unstyled and showed up pale grey against the dark
    interface.

Upgrading

This one still has to be installed by hand — the previous version has nothing
that could fetch it. Replace DubForge.pyw and DubStage.pyw and add the new
updater.py. From here on the tools offer it themselves.

No new dependencies; packs, settings and recordings are untouched.

Full history in CHANGELOG.md.