Skip to content

Commit 3238331

Browse files
authored
Merge pull request #1521 from ebkr/develop
Develop - 3.1.52
2 parents 1d9162a + e433e33 commit 3238331

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3709
-3448
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/setup-node@v3
2828
with:
2929
# The talk on the street says this might be a good version for building.
30-
node-version: 14.20.1
30+
node-version: 19.2.0
3131
cache: yarn
3232

3333
- name: Install Yarn dependencies

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/setup-node@v4
2525
with:
2626
# The talk on the street says this might be a good version for building.
27-
node-version: 14.20.1
27+
node-version: 19.2.0
2828
cache: yarn
2929

3030
- name: Install Yarn dependencies

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/setup-node@v3
2828
with:
2929
# The talk on the street says this might be a good version for building.
30-
node-version: 14.20.1
30+
node-version: 19.2.0
3131
cache: yarn
3232

3333
- name: Install Yarn dependencies

Diff for: BUILDING.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# Setting Up
22
### Prerequisites
3-
- Node.js (Built on 13.2.0)
3+
- Node.js (>=18.0.0)
44
- Yarn
55
- Quasar CLI (Install using `yarn global add @quasar/cli`)
6+
- Python2 (EOL for 4 years. Goodluck!)
7+
8+
#### Linux Build
9+
- rpm builder
610

711
### Setting up
812
1. Navigate to the root directory, and run `yarn install`.
9-
2. To run: `quasar dev -m electron`
10-
3. To build: `yarn build-{platform}`
13+
2. Navigate to the root directory, and run `yarn upgrade`.
14+
3. To run quick dev build: `quasar dev -m electron`
15+
4. To fully build: `yarn build-{platform}`

Diff for: CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### 3.1.52
2+
#### Small quality of life changes
3+
- Upgraded from Electron v11 to v24
4+
- Credit to (@JonathanSteininger)
5+
- Mods imported from a profile keep the same order they were exported in
6+
- Fixed sorting by download count
7+
- Reduced time taken to install when a mod has a large number of dependencies
8+
19
### 3.1.51
210
#### Memory and performance improvements
311
The TS team have been working hard to improve the following:

Diff for: package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "r2modman",
3-
"version": "3.1.51",
4-
"description": "A simple and easy to use mod manager for several games using Thunderstore.",
3+
"version": "3.1.52",
4+
"description": "A simple and easy to use mod manager for many games using Thunderstore.",
55
"productName": "r2modman",
66
"author": "ebkr",
77
"private": true,
@@ -89,8 +89,8 @@
8989
"babel-jest": "^27.0.2",
9090
"chai": "^4.2.0",
9191
"devtron": "^1.4.0",
92-
"electron": "^11.1.1",
93-
"electron-builder": "22.10.5",
92+
"electron": "^24.0.0",
93+
"electron-builder": "^24.10.5",
9494
"electron-debug": "^3.0.1",
9595
"electron-devtools-installer": "^3.0.0",
9696
"electron-packager": "14.1.1",
@@ -104,7 +104,7 @@
104104
"minimist": "^1.2.2",
105105
"mocha": "^8.0.1",
106106
"mock-require": "^3.0.3",
107-
"node-sass": "^4.13.1",
107+
"sass": "^1.70.0",
108108
"sass-loader": "^10.2.1",
109109
"sinon": "^11.1.1",
110110
"ts-node": "^8.10.2",
@@ -124,8 +124,8 @@
124124
"last 5 Opera versions"
125125
],
126126
"engines": {
127-
"node": ">= 10.18.1",
128-
"npm": ">= 6.13.4",
127+
"node": ">= 18.0.0",
128+
"npm": ">= 10.0.0",
129129
"yarn": ">= 1.21.1"
130130
}
131131
}

Diff for: src/_managerinf/ManagerInformation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import VersionNumber from '../model/VersionNumber';
22

33
export default class ManagerInformation {
4-
public static VERSION: VersionNumber = new VersionNumber('3.1.51');
4+
public static VERSION: VersionNumber = new VersionNumber('3.1.52');
55
public static IS_PORTABLE: boolean = false;
66
public static APP_NAME: string = "r2modman";
77
}
-27.3 KB
Binary file not shown.
86.5 KB
Loading

Diff for: src/assets/images/game_selection/Aloft.jpg

-6.62 KB
Binary file not shown.

Diff for: src/assets/images/game_selection/Aloft.png

62.2 KB
Loading

Diff for: src/assets/images/game_selection/CoreKeeper.jpg

-7.99 KB
Binary file not shown.

Diff for: src/assets/images/game_selection/CoreKeeper.png

69.3 KB
Loading
-25.9 KB
Binary file not shown.
68 KB
Loading

Diff for: src/assets/images/game_selection/GreenHellVR.jpg

-4.67 KB
Binary file not shown.

Diff for: src/assets/images/game_selection/GreenHellVR.png

77.4 KB
Loading
62.1 KB
Loading

Diff for: src/assets/images/game_selection/Subnautica.png

-16.2 KB
Loading

Diff for: src/assets/images/game_selection/Subterranauts.png

61.5 KB
Loading

Diff for: src/assets/images/game_selection/Timberborn.jpg

-9.86 KB
Binary file not shown.

Diff for: src/assets/images/game_selection/Timberborn.png

80.7 KB
Loading

Diff for: src/components/mixins/ProfilesMixin.vue

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import Component from 'vue-class-component';
44
55
import sanitize from "sanitize-filename";
66
7+
const VALID_PROFILE_CODE_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
8+
79
@Component
810
export default class ProfilesMixin extends Vue {
911
@@ -33,5 +35,9 @@ export default class ProfilesMixin extends Vue {
3335
return sanitize(nameToSanitize);
3436
}
3537
38+
isProfileCodeValid(profileImportCode: string): boolean {
39+
return VALID_PROFILE_CODE_REGEX.test(profileImportCode);
40+
}
41+
3642
}
3743
</script>

0 commit comments

Comments
 (0)