-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add Client-Side Pre-Upload Package Validation #1061
base: master
Are you sure you want to change the base?
Conversation
d27ceb8
to
511181e
Compare
511181e
to
d8bf267
Compare
8b7a454
to
7a6b794
Compare
I cannot build this branch on my machine, it fails with the error Would adding something like this to the
|
Prevents users from attempting to upload packages that aren't zips or packages without a manifest, icon, and readme in the root of the zip. Warns the user when uploading packages with > 8 DLL files, an Assembly-CSharp.dll file, or BepInEx.dll. Fixes a chromium bug preventing the selection of a file that was previously selected and canceled.
Move upload zip validation into separate file Add wrongCase, wrongExtension, and noExtension errors
7a6b794
to
7780955
Compare
As of 15c1243 it should build for you now. if your Builder-1 dies, just:
|
Prevents users from attempting to upload packages that aren't zips or packages without a manifest, icon, and readme in the root of the zip.
Warns the user when uploading packages with > 8 DLL files, an Assembly-CSharp.dll file, or BepInEx.dll.
Fixes a chromium bug preventing the selection of a file that was previously selected and canceled.