Skip to content

Instantly share code, notes, and snippets.

@tylerforesthauser
Created March 23, 2020 19:55
Show Gist options
  • Select an option

  • Save tylerforesthauser/1fb3d3f5212d02ce86e405621a7a1861 to your computer and use it in GitHub Desktop.

Select an option

Save tylerforesthauser/1fb3d3f5212d02ce86e405621a7a1861 to your computer and use it in GitHub Desktop.
#!/usr/bin/env filebot -script
println Settings.getApplicationIdentifier()
println 'Groovy: ' + groovy.lang.GroovySystem.getVersion()
println 'JRE: ' + Settings.getJavaRuntimeIdentifier()
println 'DATA: ' + ApplicationFolder.AppData.get()
try {
print 'License: '
println Settings.LICENSE.check()
} catch(Throwable error) {
println error.message
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment