-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: integrating plugins and scripts #92
Conversation
8ff494e
to
00e70af
Compare
In relation to this PR, I would like to call the plugin and the script together as a package, what do you think? |
I think calling it a package in the code or xml is a good idea. The exception is that I think many people who don't do programming are not familiar with calling a zip file a package, so I'd like to call it plugin&script on the UI. Do you think this is a good way to go? |
BREAKING CHANGE: Data about the scripts is deleted. fix #70
Yes, I think so too. Also, after all, apm is dealing with scripts as well as plugins, so I'm starting to think that the name of the application should be AviUtl Package Manager. (As in #90) |
I prefer the "plugin manager", which is easier to understand the features. But the "package manager" is also good. |
I see... |
BREAKING CHANGE: changing the file name and tag name of the xml file
7ae64e8
to
e8c50fe
Compare
I replaced "plugin" with "package" in the code. I've changed the XML tag names, so I' ll send a PR to apm-data as well after the merge. |
Certainly, it would be better to use a name that covers the function, so that we won't regret it later. |
Certainly... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a bug.
Please check it.
But thank you for making this massive change.
src/package/package.js
Outdated
@@ -168,6 +186,7 @@ module.exports = { | |||
.filter((i) => i.isFile() && regex.test(i.name)) | |||
.map((i) => i.name); | |||
return readdir(instPath).concat( | |||
readdir(path.join(instPath, 'packages')).map((i) => 'packages/' + i), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a bug.
I don't have enough time to suggest all the fixes, so I apologize for the messy suggestions.
readdir(path.join(instPath, 'packages')).map((i) => 'packages/' + i), | |
readdir(path.join(instPath, 'plugins')).map((i) => 'plugins/' + i), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I certainly didn't check there.
I checked the other strings, but I think the only part I need to change is where you suggested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your commit!!
Description
Remove code related to the script. This will require integration of
plugins_list.xml
withscripts_list.xml
.BREAKING CHANGE
plugins_list.xml
topackages_list.xml
. The new tag names are<packages>
and<package>
.Related Issue
fix #70
Motivation and Context
How Has This Been Tested?
plugins_list.xml
packages_list.xml
attached below, you can install and uninstall the plugin and script without any problems.plugins_list.zippackages_list.zip
Screenshots (if appropriate):
Types of changes
Checklist: