Skip to content

Commit b376284

Browse files
committed
- Disable adding mods by drag and drop when profile is locked.
- Fixed typo in base profile settings tooltip. - Bumped version to 0.11.0
1 parent 2b53e7d commit b376284

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "Mychal Thompson <mychal.r.thompson@gmail.com>",
44
"repository": "https://github.com/lVlyke/starfield-mod-loader",
55
"license": "GPL-3.0",
6-
"version": "0.10.2",
6+
"version": "0.11.0",
77
"main": "electron.js",
88
"scripts": {
99
"app:build-dist-debug": "npm run build && npm run package",
@@ -24,7 +24,7 @@
2424
"watch": "ng build --watch --configuration development",
2525
"test": "ng test",
2626
"start": "npm run serve",
27-
"electron-win32-install": "npm remove electron && npm install && export npm_config_platform=win32 && npm install --save-dev electron@^31.3.1 && unset npm_config_platform"
27+
"electron-win32-install": "npm remove electron && npm install && export npm_config_platform=win32 && npm install --save-dev electron@^35.0.0 && unset npm_config_platform"
2828
},
2929
"private": true,
3030
"dependencies": {

src/app/components/profile-settings/profile-settings.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[ngModelOptions]="{ standalone: true }"
77
[(ngModel)]="baseProfileMode">
88
Base Profile
9-
<mat-icon class="tooltip-icon" matTooltip="Base profile are limited profiles that can be extended by other profiles.">help</mat-icon>
9+
<mat-icon class="tooltip-icon" matTooltip="Base profiles are limited profiles that can be extended by other profiles.">help</mat-icon>
1010
</mat-checkbox>
1111
</div>
1212

src/app/services/profile-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ export class ProfileManager {
324324
event.stopPropagation();
325325
}),
326326
withLatestFrom(this.activeProfile$),
327-
filter(([, activeProfile]) => !!activeProfile),
327+
filter(([, activeProfile]) => !!activeProfile && !activeProfile.locked),
328328
switchMap(([event, activeProfile]) => from(event.dataTransfer!.files).pipe(
329329
concatMap((file) => this.addModFromUser(activeProfile!, {
330330
modPath: ElectronUtils.getFilePath(file),

0 commit comments

Comments
 (0)