Skip to content

Commit

Permalink
Will be released eventually (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy authored Feb 22, 2024
2 parents 829d7e2 + d36bec0 commit 33327bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/menus/components/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function openURL (url, newTab = true) {
if (newTab) {
window.open(url, '_blank', 'noopener,noreferrer')
} else {
window.open(url)
window.open(url, '_self')
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/texturePack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const installTexturePack = async (file: File | ArrayBuffer, name = file['
const allFilesArr = Object.entries(zipFile.files)
let done = 0
const upStatus = () => {
setLoadingScreenStatus(`${status} ${Math.round(++done / allFilesArr.length * 100)}%`)
setLoadingScreenStatus(`${status} ${Math.round(done / allFilesArr.length * 100)}%`)
}
await Promise.all(allFilesArr.map(async ([path, file]) => {
const writePath = join(texturePackBasePath, path)
Expand Down

0 comments on commit 33327bf

Please sign in to comment.