Skip to content

Scripts updates download_libs - #8529

Open
danoli3 wants to merge 13 commits into
openframeworks:masterfrom
danoli3:ofMenu-0.3.0
Open

Scripts updates download_libs#8529
danoli3 wants to merge 13 commits into
openframeworks:masterfrom
danoli3:ofMenu-0.3.0

Conversation

@danoli3

@danoli3 danoli3 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Script Updates

  • Download libs update [2.7.1] -> [2.7.2] - allow for other platforms not clean install each time

ofMenu 0.3.0 -> 0.4.2

  • allow for apothecary building
    -- Added cleanup / download libs SHA 256 verification for toolchain security
    image

Windows compatibility fixes

  • Fixed menu number input being rejected as "invalid choice" — a trailing \r from the Windows console
  • Fixed "open in Visual Studio" not launching — swapped cmd.exe
  • Added msbuild as a build system in of build, with VS2022 (v143) / VS2026 (v145) toolset picker
  • Project Generator now supports the -t vs2026 template flag, defaulting to vs2026 for vs platform ge
  • Auto-opens the generated after generate (Visual Studio / Xcode
  • Build menu -> Apothecary builds now for vs targets
  • PG platform picker (mul now host-first ordered: current platform, then emen the rest — same on every OS.)

Cleanup

  • Fast pre-check skips ma projects with nothingbuilt (this is what made "clean all examples" slow). - Reports ✓/– per item an MB for project/cache/library cle
  • Project cleanup now sen to Trash/Recycle Bin instead of permanent dele, macOS via Finder/trash, Linux via gio trash/trash-rf if no trash mechanism exists ( just to be extra safe)
  • Clean up system: Never touches bin/ (including bin/data) — projects' data assets are always preserved.
  • cleanLibraries - now shows freed space / deleted mb
  • Added clean up caches (download cache)

of status

  • Library version output, resolver, checker

Setup

  • New per-platform depend(scripts/osx/install_dependencies.sh
  • Xcode CLT check + optional Homebrcmake/gum)
  • Windows (scris.sh — gum viawinget/scoop)
  • Linux (gumst, best-effort apt/dnfcheck for Ubuntu/Debian/Fackage manager that isn'talready present.

Menu structure

  • Top-level labels renamed to match openFrameworks' own ofBaseApp lifecycle
    naming (status(), setup()ld, cleanup(), version(),
    help(), exit()), with theown dim to the right ofeach. hehe

Misc

  • scripts/dev/upgrade.sh: fixed local used outside a function, and a path-resolution bug where the directory-exists check and the actual find scanned different paths depending on invocation cwd.
  • Version bumped to 0.4.2

CI Workflow

  • Merged build-vs2022 / vs2026 action build job into one matrix

@danoli3 danoli3 self-assigned this Aug 7, 2026
@danoli3 danoli3 added this to the 0.12.2 milestone Aug 7, 2026
@danoli3

danoli3 commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

Screenshot 2026-08-10 at 2 34 57 am

Clean up script is amazing! You can now quickly and easily cleanup examples, projects, and even core libraries efficiently and securely. I just saved 10 gb just cleaning old example project builds.

@danoli3

danoli3 commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

image

Download caches of libraries can now be removed

danoli3 added 10 commits August 10, 2026 03:31
- Clean
- SHA 256 verify
- Fixed clean - display MB freed, libs instant removed, examples checked if built before clean, project cleans safer (project cleans to trash/recycle, no bin/ removed)
- Fixed VS builds / Windows menu / projectGenerator opened
- added osx install_dependencies.sh (for Xcode select)
- Fixes for setup(), update(), draw(), exit() functions for gum

@danoli3 danoli3 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All download scripts / of Menu changes

@danoli3

danoli3 commented Aug 10, 2026

Copy link
Copy Markdown
Member Author

Going to smoke test this doesn't break nightly and since just dev scripts will merge to assist further development push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant