I am looking for a solution to add license to my extension. The extension is for the in-house use in the company, and won’t be sold outside. The aim is to protect IP of the company from leaking out.
Any solution like time-limited-license or online-verification would be great.
Are there any ready solutions, open-source examples, or tested approaches in this area?
Any advice is welcome.
Check the code in this ZIP file and if you have any questions let me know. gumroad_example.zip (253.4 KB)
Note: In order for the code to work some of it need to change… For example;
In the modules folder their is a file named ‘callbacks’…
Change [YOUR GUMROAD NAME HERE] and [YOUR PRODUCT NAME HERE]
UI.openURL("https://[YOUR GUMROAD NAME HERE].gumroad.com/l/[YOUR PRODUCT NAME HERE]")
Also, in the load.rb some strings need to be changed…
Change [CHANGE TO A FOLDER NAME] to a folder name your happy with.
PATH = ENV['HOME'] + "/Library/Application Support/[CHANGE TO A FOLDER NAME]/#{FOLDER_NAME}/" if MAC
PATH = ENV['APPDATA'] + "/[CHANGE TO A FOLDER NAME]/#{FOLDER_NAME}/".gsub(/\//, '\\') if WIN
And, I expect more things need to be modified but let me know if this is the path you’re looking for.