Skip to content

Commit f2772d3

Browse files
authored
Merge pull request #1524 from ebkr/gdweave-pt2
Minor adjustments for webfishing/gdweave
2 parents 1f67a7b + 5cd0c09 commit f2772d3

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

modExclusions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"L4rs-QuickFSR",
2424
"MPModTeam-Boneworks_MP",
2525
"MADH95Mods-JSONRenameUtility",
26-
"GamefaceGamers-Mod_Sync"
26+
"GamefaceGamers-Mod_Sync",
27+
"Pyoid-Hook_Line_and_Sinker"
2728
]
2829
}
-122 KB
Binary file not shown.
57.1 KB
Loading

src/installers/GDWeaveInstaller.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import { MODLOADER_PACKAGES } from '../r2mm/installing/profile_installers/ModLoa
66
import { PackageLoader } from '../model/installing/PackageLoader';
77
import FileWriteError from '../model/errors/FileWriteError';
88

9-
const basePackageFiles = ['manifest.json', 'readme.md', 'icon.png'];
10-
119
export class GDWeaveInstaller implements PackageInstaller {
1210
async install(args: InstallArgs) {
1311
const { mod, packagePath, profile } = args;
@@ -38,10 +36,7 @@ export class GDWeaveInstaller implements PackageInstaller {
3836
const { profile } = args;
3937

4038
try {
41-
// ReturnOfModding deletes all files in the root and ignores directories.
42-
// We can't do that because GDWeave/core exists, but blanket deleting GDWeave would delete all mods in the process.
43-
// This would probably be handled better by a state file, but /shrug.
44-
39+
// Remove GDWeave/core, but keep mods and config subfolder and the log file.
4540
const toDelete = [
4641
profile.joinToProfilePath('winmm.dll'),
4742
profile.joinToProfilePath('GDWeave', 'core'),

src/model/game/GameManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ export default class GameManager {
822822
new Game("WEBFISHING", "WEBFISHING", "WEBFISHING",
823823
"WEBFISHING", ["webfishing.exe"], "",
824824
"https://thunderstore.io/c/webfishing/api/v1/package-listing-index/", EXCLUSIONS,
825-
[new StorePlatformMetadata(StorePlatform.STEAM, "3146520")], "WEBFISHING.jpg",
825+
[new StorePlatformMetadata(StorePlatform.STEAM, "3146520")], "WEBFISHING.png",
826826
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.GDWEAVE, [""]),
827827
];
828828

0 commit comments

Comments
 (0)