can_wrap


Description:

public static bool can_wrap ()

Check if bubblewrap can be used for sandboxing.

Returns true only if: - bubblewrap (bwrap) executable is found in PATH - Not running inside Flatpak (bubblewrap is disabled in Flatpak)

This method should be called before creating a Bubble instance to determine if bubblewrap sandboxing is available.

Returns:

true if bubblewrap can be used, false otherwise