ApplicationBuilderAppUtils.cd_to_bundle_resourcesMethod
cd_to_bundle_resources()

Change directories to the application bundle's resources directory, as calculated by get_bundle_resources_dir().

On macOS, this will be /path/to/MyApp.app/Contents/Resources. On Windows/linux, this will be /path/to/MyApp/res.

ApplicationBuilderAppUtils.get_bundle_resources_dirMethod
get_bundle_resources_dir()

Return the runtime path to the application bundle's resources directory. This is calculated relative to the path to this binary, obtained via argv[0].

On macOS, this will be /path/to/MyApp.app/Contents/Resources. On Windows/linux, this will be /path/to/MyApp/res.

ApplicationBuilderAppUtils.is_static_compilingMethod
is_static_compiling()

Returns true if the caller is being statically compiled via ApplicationBuilder.build_app_bundle(), and false otherwise.

Note that this will return false when executing a statically compiled program; it only returns true during compilation. It is intended for use in top-level, global statements.