This is an unencrypted RBE file; it runs fine, but it doesn’t run after RBE encryption. Please help me.![]()
Try removing the file extension “.rbe” before encrypting.
For example here:
EXTENSION_PATH = File.join(__dir__, EXTENSION_ID, 'main.rbe').freeze
Same with your require statements in main.rb and elsewhere if they exist.
still not working
still not working ![]()
What method did you use to encrypt the extension?
Check this (specially the “Requiring Files” paragraph) :
File: Extension Requirements — SketchUp Ruby API Documentation
Also, the Sketchup require method .
encrypt by extension warehouse
I have adjusted it but it still doesn’t work
It looks like you may have tried to manually rename most of your .rb files to .rbe for encrypting. When you sign/encrypt your extension with EW it will be returned with some files renamed with the .rbe. So you don’t need to do that. Go back and rename them to .rb.
Then review the links that Dezmo shared. You need to remove .rb from files in your require statements. Otherwise, the encryption process will goof up and the extension will not load.
