Encryption problem

I made an extension that works fine when i install it with extension manager. But when i encrypt it using the following link:
https://extensions.sketchup.com/en/developer_center/extension_signature
And install it again, it gives me this error:

Error Loading File XXYY/XXYY_menus.rb
Could not find included file ‘XXYY/XXYY_menus.rb’

How can i fix this?

If the file XXYY_menus.rb is encrypted, I believe it is replaced XXYY_menus.rbe (not a Ruby file, but a SketchUp-encrypted Ruby script).
The Sketchup::require() method accepts also file paths without extension, which will load either a file ending with .rbe or .rbs or .rb.

3 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.