Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop - Release 3.1.54 #1559

Merged
merged 2 commits into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
### 3.1.54
#### Bug fix
- Fixed profile import issue where entries were not found inside zips

### 3.1.53
#### Games added
- WEBFISHING
- SULFUR

#### Other changes
- BONELAB support should now function correctly
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "r2modman",
"version": "3.1.53",
"version": "3.1.54",
"description": "A simple and easy to use mod manager for many games using Thunderstore.",
"productName": "r2modman",
"author": "ebkr",
Expand Down
2 changes: 1 addition & 1 deletion src/_managerinf/ManagerInformation.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import VersionNumber from '../model/VersionNumber';

export default class ManagerInformation {
public static VERSION: VersionNumber = new VersionNumber('3.1.53');
public static VERSION: VersionNumber = new VersionNumber('3.1.54');
public static IS_PORTABLE: boolean = false;
public static APP_NAME: string = "r2modman";
}
4 changes: 2 additions & 2 deletions src/providers/generic/zip/AdmZipProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export default class AdmZipProvider extends ZipProvider {

async extractEntryTo(zip: string | Buffer, target: string, outputPath: string): Promise<void> {
const adm = new AdmZip(zip);
target = target.replace(/\\/g, '/');
const safeTarget = target.replace(/\\/g, '/');
outputPath = outputPath.replace(/\\/g, '/');
var fullPath = path.join(outputPath, target).replace(/\\/g, '/');
var fullPath = path.join(outputPath, safeTarget).replace(/\\/g, '/');
if(!path.posix.normalize(fullPath).startsWith(outputPath))
{
throw Error("Entry " + target + " would extract outside of expected folder");
Expand Down
Loading