You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
When the user attempts to install a plugin that is already installed IINA asks the user if they want to reinstall the plugin. If the user continues the installation the existing copy of the plugin is replaced.
Actual behavior:
IINA installs the plugin a second time. The duplicate installation is not detected until IINA is restarted:
IINA log:
14:44:23.199 [iina][d] Installing plugin from GitHub URL: https://github.com/iina/plugin-userscript
14:44:28.353 [iina][d] Loading JS plugin from /Users/low-batt/Library/Application Support/com.colliderli.iina/plugins/.temp.290095C0-DA9F-4477-8B08-644693973EB0
14:44:28.354 [iina][e] The file pref.html doesn't exist
14:44:34.933 [iina][e] The file pref.html doesn't exist
14:44:34.952 [player0 - User Scripts][d] Scripts loaded: 0
14:44:34.953 [player0 - User Scripts][d] []
14:44:35.071 [global - User Scripts][d] Scripts loaded: 0
14:44:49.938 [iina][d] Installing plugin from GitHub URL: https://github.com/iina/plugin-userscript
14:44:51.014 [iina][d] Loading JS plugin from /Users/low-batt/Library/Application Support/com.colliderli.iina/plugins/.temp.7D658AF8-8882-476E-ACD6-811088E42D54
14:44:51.015 [iina][e] The file pref.html doesn't exist
14:44:52.924 [iina][e] The file pref.html doesn't exist
14:44:53.065 [global - User Scripts][d] Scripts loaded: 0
Steps to reproduce:
Run the following command in Terminal to enable the plugin system:
System and IINA version:
develop
ee48143Expected behavior:
When the user attempts to install a plugin that is already installed IINA asks the user if they want to reinstall the plugin. If the user continues the installation the existing copy of the plugin is replaced.
Actual behavior:
IINA installs the plugin a second time. The duplicate installation is not detected until IINA is restarted:
IINA log:
Steps to reproduce:
Run the following command in Terminal to enable the plugin system:
defaults write com.colliderli.iina iinaEnablePluginSystem true
Settings…
under theIINA
menuPlugins
Install from GitHub…
Install a new plugin from GitHub
appearsiina/plugin-userscript
Install
button activatesInstall
Warning
popup appears and displays the permissions the plugin requiresInstall
User Scripts
plugin has been installed and activatedInstall from GitHub…
againInstall a new plugin from GitHub
appearsiina/plugin-userscript
showsNot Ins…
iina/plugin-userscript
Install
button activatesInstall
Warning
popup appearsInstall
User Scripts
plugin has been installedHow often does this happen?
Every time.
The text was updated successfully, but these errors were encountered: