Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pack the iina-plugin-ytdl #1

Open
whlsxl opened this issue Jun 20, 2022 · 2 comments
Open

How to pack the iina-plugin-ytdl #1

whlsxl opened this issue Jun 20, 2022 · 2 comments

Comments

@whlsxl
Copy link

whlsxl commented Jun 20, 2022

First of all, thanks for the remarkable job!

As the README.md mentioned, that it seems like the plugin will generate a package named iina-plugin-ytdl, how to generate it?

I use the Plugins menu from the Preferences, press Install from a local package, and what file should I choose.

@whlsxl
Copy link
Author

whlsxl commented Jun 20, 2022

For dev, just link the directory path to IINA's plugins folder.

Maybe this is better? :
ln -s PATH/iina-plugin-ytdl ~/Library/Application\ Support/com.colliderli.iina/plugins/iina-plugin-ytdl.iinaplugin-dev

@Albatrosicks
Copy link

I think he's running into the same problem I am.
On the npm run build command, there will be a segfault

> [email protected] build
> rm -rf dist && parcel build .


console: (node:38107) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)


console: Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

⠙ Building ytdl-hook.ts...
node(38107,0x16ffdf000) malloc: Incorrect checksum for freed object 0x15098d000: probably modified after being freed.
Corrupt value: 0x656262383310222a
node(38107,0x1703eb000) malloc: Incorrect checksum for freed object 0x138026000: probably modified after being freed.
Corrupt value: 0x656262383310222a
sh: line 1: 38107 Segmentation fault: 11  parcel build .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants