mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
Merge branch 'main' into ue
This commit is contained in:
commit
caee848a47
5 files changed
+6
-6
No files matched your search
@@ -612,7 +612,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rating": {
|
"rating": {
|
||||||
"name": "rating",
|
"name": "côtée",
|
||||||
"description": "Rating player's statistics",
|
"description": "Rating player's statistics",
|
||||||
"subcommands": {
|
"subcommands": {
|
||||||
"today": {
|
"today": {
|
||||||
|
|||||||
@@ -804,7 +804,7 @@
|
|||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "猜测",
|
"name": "猜测",
|
||||||
"button": "What could it be?",
|
"button": "这会是什么?",
|
||||||
"description": "坦克剪影小游戏",
|
"description": "坦克剪影小游戏",
|
||||||
"seo_description": "看剪影猜坦克",
|
"seo_description": "看剪影猜坦克",
|
||||||
"search": {
|
"search": {
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export async function consumableProvisionIcons() {
|
|||||||
.replace(".psd", "")
|
.replace(".psd", "")
|
||||||
.replace(".txt", "");
|
.replace(".txt", "");
|
||||||
|
|
||||||
if (vfs.has(`Data/${configPath}.packed.webp`)) {
|
if (vfs.resolve(`Data/${configPath}.packed.webp`)) {
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await vfs.file(`Data/${configPath}.packed.webp`)
|
await vfs.file(`Data/${configPath}.packed.webp`)
|
||||||
);
|
);
|
||||||
@@ -131,7 +131,7 @@ export async function consumableProvisionIcons() {
|
|||||||
.replace(".psd", "")
|
.replace(".psd", "")
|
||||||
.replace(".txt", "");
|
.replace(".txt", "");
|
||||||
|
|
||||||
if (vfs.has(`Data/${configPath}.packed.webp`)) {
|
if (vfs.resolve(`Data/${configPath}.packed.webp`)) {
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await vfs.file(`Data/${configPath}.packed.webp`)
|
await vfs.file(`Data/${configPath}.packed.webp`)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { vfs } from "../../../buildAssets/constants";
|
|||||||
|
|
||||||
export async function readTexture(path: string) {
|
export async function readTexture(path: string) {
|
||||||
const ddsTexturePath = path.replace(".tex", ".dx11.dds");
|
const ddsTexturePath = path.replace(".tex", ".dx11.dds");
|
||||||
const isDds = vfs.has(ddsTexturePath);
|
const isDds = vfs.resolve(ddsTexturePath);
|
||||||
const resolvedTexturePath = isDds
|
const resolvedTexturePath = isDds
|
||||||
? ddsTexturePath
|
? ddsTexturePath
|
||||||
: ddsTexturePath.replace(".dds", ".pvr");
|
: ddsTexturePath.replace(".dds", ".pvr");
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export class AssetUploader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (diff.status === DiffStatus.Unchanged) {
|
if (diff.status === DiffStatus.Unchanged) {
|
||||||
console.log(`🔵 ${change.path}`);
|
// console.log(`🔵 ${change.path}`);
|
||||||
} else {
|
} else {
|
||||||
console.log(
|
console.log(
|
||||||
`${diff.status === DiffStatus.New ? "🟢" : "🟡"} (${
|
`${diff.status === DiffStatus.New ? "🟢" : "🟡"} (${
|
||||||
|
|||||||
Reference in new issue
Block a user