1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00

Update image pack metadata (#226)

* Update image pack metadata

* Update gitignore with overrides
This commit is contained in:
moonysolari 2023-04-17 18:49:00 -04:00 committed by GitHub
parent 6cec02a49c
commit 4270c3ab6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

2
.gitignore vendored
View File

@ -55,3 +55,5 @@ plugins
logs logs
THIRDPARTYNOTICES.txt THIRDPARTYNOTICES.txt
overrides

View File

@ -34,14 +34,18 @@ import picocolors from "picocolors"
import { Filename, PortablePath, ppath, xfs } from "@yarnpkg/fslib" import { Filename, PortablePath, ppath, xfs } from "@yarnpkg/fslib"
import { makeEmptyArchive, ZipFS } from "@yarnpkg/libzip" import { makeEmptyArchive, ZipFS } from "@yarnpkg/libzip"
// NOTE: make sure to update ALL 3 OF THESE VALUES, or things will break!! // NOTE: make sure to update BOTH OF THESE VALUES, or things will break!!
const IMAGE_PACK_BIN = /**
"https://codeload.github.com/thepeacockproject/ImagePack/zip/b8415da0be992d6a2e7d10cb5d3ccd9aea4f9296" * The full hash of the latest commit in the ImagePack repository.
*/
const hash = "b8415da0be992d6a2e7d10cb5d3ccd9aea4f9296"
/** /**
* Size of the image pack zip in bytes. * Size of the image pack zip in bytes.
*/ */
const IMAGE_PACK_LEN = 117286836 const IMAGE_PACK_LEN = 125317150
const IMAGE_PACK_BASE_DIR = "ImagePack-b8415da0be992d6a2e7d10cb5d3ccd9aea4f9296"
const IMAGE_PACK_BIN = `https://codeload.github.com/thepeacockproject/ImagePack/zip/${hash}`
const IMAGE_PACK_BASE_DIR = `ImagePack-${hash}`
export async function toolsMenu() { export async function toolsMenu() {
const init = await prompts({ const init = await prompts({