obsproject/obs-plugintemplate

Wrong packaging directory on macos

summershrimp opened this issue · 4 comments

Operating System Info

macOS 12

Other OS

No response

OBS Studio Version

28.0.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

Nope

OBS Studio Crash Log URL

No response

Expected Behavior

Generate plugin pkg installer file.

Current Behavior

packages failed to packaging plugin to pkg installer file.

Steps to Reproduce

  1. run ./.github/script/package-macos.zsh

Anything else we should know?

<string>../@RELATIVE_INSTALL_PATH@/@CMAKE_PROJECT_NAME@.plugin</string>

at installer-macos.pkgproj.in , @RELATIVE_INSTALL_PATH@ is expanded to build_x64/install

but at .build.zsh, plugin is installed to release

cmake --install build_${target##*-} --config ${BUILD_CONFIG:-RelWithDebInfo} --prefix "${project_root}/release" ${cmake_args}

so package failed

It seems working on CI, but not working on my local computer.

Agreed. It is not working for me either and the very rough translations from readme don't exactly help.

RytoEX commented

#41 was closed by #76, so this should be resolved.