Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ozelot379 committed Jul 20, 2019
1 parent 631e4ae commit 3a51bbe
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [1.3.9]
- Fix

## [1.3.8]
- Fix

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ozelot379/convert-minecraft-java-texture-to-bedrock",
"productName": "ConvertMinecraftJavaTextureToBedrock",
"version": "1.3.8",
"version": "1.3.9",
"description": "Convert Minecraft Java texture packs to Minecraft Bedrock texture packs",
"keywords": [
"Minecraft",
Expand Down
1 change: 1 addition & 0 deletions src/Output/OutputFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ async function detectOutput(output, temp) {
await fs.remove(output);
} catch (err) {
// TODO: Bug on Windows? (EPERM: operation not permitted (rmdir))
console.warn(err);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/Output/ZipOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class ZipOutput extends AbstractOutput {
await fs.remove(this.temp);
} catch (err) {
// TODO: Bug on Windows? (EPERM: operation not permitted (rmdir))
console.warn(err);
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/Temp/TempFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ import Utils from "../Utils/Utils";
async function detectTemp(temp = os.tmpdir()) {
Utils.log(`Init temp folder`);

temp = Utils.fromPath(PACKAGE.productName/* + Date.now().toString()*/, temp);
temp = Utils.fromPath(PACKAGE.productName + Date.now().toString(), temp);

try {
await fs.remove(temp);
} catch (err) {
// TODO: Bug on Windows? (EPERM: operation not permitted (rmdir))
console.warn(err);
}

if (!fs.existsSync(temp)) {
Expand Down

0 comments on commit 3a51bbe

Please sign in to comment.