Script location resets to default
I regularly run into script location resets. I have mine in a custom location in my iCloud Drive and it reverts to the default local iPhone location regularly. Maybe after app updates... not sure what is the cause but it's annoying that it needs to be reset manually when this happens.
Check the issue:
- https://github.com/quoid/userscripts/issues/424
- https://github.com/quoid/userscripts/issues/728
If the problem persists, please provide the relevant log for analysis:
- https://github.com/quoid/userscripts/issues/409
This is happening to me on iOS just now. I change the location to my iCloud > Userscripts folder but immediately after saving, it resets back to the default. I’ve used my iCloud folder for over a year but today it stopped working.
This is happening to me on iOS just now. I change the location to my iCloud > Userscripts folder but immediately after saving, it resets back to the default. I’ve used my iCloud folder for over a year but today it stopped working.
@fuzenco Please refer to the above quote and try to gather and provide the relevant logs, otherwise it will be difficult for us to find or try to resolve the issue.
Note that only the beta version currently includes a built-in log export tool.
I wanted to report back on this issue. The problem was that iCloud Drive had removed/purged the CSS files that were in my Userscripts folder. Yes, the files were still showing but the download icon next to each file was visible which isn’t the case if they’re on the device. So although the alias to the files were showing, and setting and resetting my Userscripts directory to that location was possible, Userscripts would reject the location once I exited settings (because I guess the files technically weren’t there, so the whole directory was rejected). Once I clicked the download icon and saved them to my device (still within iCloud Drive), everything started working properly and the directory is correctly remembered.
@fuzenco Yes, this is because the content in the iCloud folder is evicted by the system and it is only retained as a identifier. As discussed in the issues I quoted above and mentioned in README.
Have you tried using the "keep downloaded" feature since macOS 15 / iOS 18 ?
@ACTCD oh, did not know that feature existed. Just enabled it on those files. Thanks!