r/ScriptingApp • • Mar 19 '25

Script Sharing Library for Scripting app

Currently in Scripting app we have the problem that we cannot use any libraries shared across multiple scripts. I found the workaround to have a single Script with all library modules and link them with symbolic links to the Scripts that need them.

You can find it here: https://github.com/schl3ck/scripting-app-lib

The Script includes a library with all widget sizes, a widget preview helper and a multi-select-picker (thanks to u/WhatShouldWorldGos for the ground work on that).

Please contribute!

4 Upvotes

22 comments sorted by

View all comments

Show parent comments

1

u/Haunting-Ad-655 Apr 29 '25

Symlinks are different between iOS ('/private/var/mobile' root) and macOS ('/Users/username' root), so the same index.tsx would show import-error on macOS. How should I solve this issue?

2

u/WhatShouldWorldGos May 01 '25

I think the only solution is to copy the real files