-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
IINA Version
1.3.5
Release Channel
Release
macOS Version
15.1.1 (24B91)
Steps to Reproduce
iina-plugin new repro && cd repro- (patch parcel-optimizer-webview with Fix handling of binary content parcel-optimizer-webview#2)
npm install && npm run buildiina-plugin link .
Expected Behavior
iina-plugin link . succeeds
Actual Behavior
> iina-plugin link .
Unable to create the symlink, error: Error Domain=NSCocoaErrorDomain Code=4 "The file
“watchlet.iinaplugin-dev” doesn’t exist." UserInfo={NSFilePath=/Users/daniel/Library/Application
Support/com.colliderli.iina/plugins/watchlet.iinaplugin-dev,
NSURL=file:///Users/daniel/Library/Application%20Support/com.colliderli.iina/plugins/watchlet.iinaplugin-dev,
NSUnderlyingError=0x12a70b0d0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}I think swift is misinterpreting the underlying error. The directory /Users/daniel/Library/Application Support/com.colliderli.iina/plugins/ does not exist. If I create it manually everything works
> mkdir -p ~/Library/Application\ Support/com.colliderli.iina/plugins
> iina-plugin link .
Created symlink watchlet.iinaplugin-dev under /Users/daniel/Library/Application Support/com.colliderli.iina/pluginsEdit: To clarify when I tested with nightly I manually deleted the directory I had just manually created, ~/Library/Application Support/com.colliderli.iina/plugins, and then ran ~/Downloads/IINA.app/Contents/MacOS/iina-plugin link .. So that wouldn't have tested if the plugin directory is now created at first install or something like that.