PeaceFounder / AppBundler.jl

Bundle your Julia application
MIT License
53 stars 3 forks source link

Remove use of Pkg.BinaryPlatforms types for dispatch #5

Closed mkitti closed 5 months ago

mkitti commented 9 months ago

Fix #4

Basically, we want to remove use of the Linux, Windows, and MacOS types from Pkg.BinaryPlatforms.

Instead, we dispatch on Val(Symbol(Base.BinaryPlatforms.os(platform))). This allows us to keep the current dispatch pattern and be backwards compatible with the use of Pkg.BinaryPlatforms.{Linux, Windows, MacOS}. However, we no longer rely on those types for dispatch.