You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
610B

  1. using System.IO;
  2. using NScript.Filmscript;
  3. namespace NScript.Install
  4. {
  5. public static class InstallTools
  6. {
  7. public static bool NativeDllExists(string name)
  8. {
  9. return File.Exists(NativeDllFilepath(name));
  10. }
  11. public static string NativeDllFilepath(string name = "")
  12. {
  13. return "TechbloxPreview_Data/Plugins/x86_64/" + name;
  14. }
  15. public static Installer BuildDefaultInstaller()
  16. {
  17. return new Installer(new IInstallable[]
  18. {
  19. new FilmscriptInstaller(),
  20. });
  21. }
  22. }
  23. }