We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dae372c commit 459ad53Copy full SHA for 459ad53
lib/processor/macosx.rb
@@ -29,7 +29,7 @@ def tweak_install
29
framework_glob = File.expand_path(FrameworkBinaryGlob, @extdir)
30
framework_fn = Dir.glob(framework_glob).first
31
raise "Can't find framework file at #{framework_glob} to patch" unless File.exist? framework_fn
32
- framework_bin = File.read(framework_fn)
+ framework_bin = File.read(framework_fn, encoding: 'binary')
33
framework_bin.sub! 'ExtensionInstallVerification', 'ExtensionInstallVerificati_1'
34
framework_bin.sub! 'ExtensionInstallVerification', 'ExtensionInstallVerificati_2'
35
File.write(framework_fn, framework_bin)
0 commit comments