• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED/REQUEST LOGGED] Moving/Specifying JavascriptLibs Folder

    Feature Requests
    3
    3
    97
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GaryGalbraith last edited by mark

      Is there a way to move or change the location of the JavascriptLibs?  The default is not in a 'convenient' path and I'd like to specify a folder that would be included in my normal backups that I perform on my projects.

      Izzy 3.2.1 Windows 10 Pro, Quad Core i9 2.4GHz, 1TB SSD, NVIDIA GeForce GTX 1650

      DusX mark 2 Replies Last reply Reply Quote 0
      • DusX
        DusX Tech Staff @GaryGalbraith last edited by

        @garygalbraith

        No, the new JS library path can not be changed. The path on Window is: C:\Program Files\Common Files\TroikaTronix\JavascriptLibs
        As you can see this is in the Common Troikatronix folder, which is where a number of other Isadora-related files are located.
        This is something we can consider for a future release. I will add this to our feature request database.

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • Isadora Add-ons: https://troikatronix.com/add-ons/
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

        Running: Win 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

        1 Reply Last reply Reply Quote 0
        • mark
          mark @GaryGalbraith last edited by mark

          @garygalbraith

          As a workaround, you could consider some automatic mirroring software like Mirror Folders or AOMEI Backupper for PC.

          I didn't find any kind of automatic app for this on macOS, but this command will create a synced JavascriptLibs folder in your documents folder.

          rsync -va --delete "/Library/Application Support/TroikaTronix/JavascriptLibs/"  ~/Documents/JavascriptLibs/
          

          One nice way to automate this is to create an Automater script that runs at system startup

          1. Open Automator
          2. Choose to create a new document
          3. Choose the "Application" option
          4. From the list of possible actions, choose "Run Shell Script"
          5. In the "Run Shell Script" Item that appears on the right, paste the rsync code from above
          6. Save the Automator workflow to your Documents folder as "backup-javascript-libs.app"
          7. Quit Automator
          8. Go to System Preferences > Users & Groups > Login Items
          9. Click the "+" button and enter your password if necessary
          10. Select "backup-javascript-libs.app" from your documents folder and click Add

          Now, every time you restart your computer, the JavascriptLibs is backed up to your Documents folder.

          If you're comfortable with with a bit of low level stuff, you can go even further and schedule the rsync command to run periodically using cron. See this StackOverflow article for help on that.

          Hope that helps,
          Mark

          Media Artist & Creator of Isadora
          Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

          1 Reply Last reply Reply Quote 1
          • First post
            Last post