Added Download file, play for homebrews and ZIP explorer.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** @typedef { import('types/UploadchunkResponse.js').UploadchunkResponse} UploadchunkResponse */
|
||||
|
||||
export const CHUNK_SIZE = 8192;
|
||||
export const CHUNK_SIZE = 8192 * 1024;
|
||||
|
||||
const PATCH_EXTENSIONS = new Set([
|
||||
'ips', 'bps', 'ups', 'aps', 'ppf', 'xdelta', "zip"
|
||||
@@ -72,6 +72,15 @@ export function FSFileData(name, totalChunks, rawFile ) {
|
||||
*/
|
||||
state: 'public',
|
||||
|
||||
file_explorer: null,
|
||||
|
||||
file_explorer_files: null,
|
||||
|
||||
/**
|
||||
* For files already uploaded, download URL.
|
||||
*/
|
||||
download_url: null,
|
||||
|
||||
can_be_online_patched: PATCH_EXTENSIONS.has(extension),
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user