diff --git a/gb-vst/Cargo.toml b/gb-vst/Cargo.toml index ea976ff..d93f649 100644 --- a/gb-vst/Cargo.toml +++ b/gb-vst/Cargo.toml @@ -8,7 +8,7 @@ name = "vst" crate-type = ["cdylib", "rlib"] [features] -default = ["pixels"] +default = ["vulkan-static"] pixels = ["gb-emu-lib/pixels-renderer"] vulkan = ["dep:raw-window-handle", "gb-emu-lib/vulkan-renderer"] vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"] diff --git a/scripts/patch.py b/scripts/patch.py index 65863c4..2bee5cf 100644 --- a/scripts/patch.py +++ b/scripts/patch.py @@ -57,22 +57,26 @@ shutil.copyfile( ) os.system( - 'install_name_tool -change "@rpath/' - + SHADERC_DYLIB_NAME - + '" "@executable_path/../Frameworks/' - + SHADERC_DYLIB_NAME - + '" ' - + executable + 'install_name_tool -add_rpath "@loader_path/../Frameworks/" "' + executable + '"' ) -os.system( - 'install_name_tool -change "@rpath/' - + VULKAN_DYLIB_NAME - + '" "@executable_path/../Frameworks/' - + VULKAN_DYLIB_NAME - + '" ' - + executable -) +# os.system( +# 'install_name_tool -change "@rpath/' +# + SHADERC_DYLIB_NAME +# + '" "@executable_path/../Frameworks/' +# + SHADERC_DYLIB_NAME +# + '" ' +# + executable +# ) + +# os.system( +# 'install_name_tool -change "@rpath/' +# + VULKAN_DYLIB_NAME +# + '" "@executable_path/../Frameworks/' +# + VULKAN_DYLIB_NAME +# + '" ' +# + executable +# ) os.system("codesign -f -s - " + bundle_path) os.system("codesign -f -s - " + executable)