-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #676 from ebkr/develop
Develop
- Loading branch information
Showing
66 changed files
with
2,558 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.24'); | ||
public static VERSION: VersionNumber = new VersionNumber('3.1.25'); | ||
public static IS_PORTABLE: boolean = false; | ||
public static APP_NAME: string = "r2modman"; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/r2mm/installing/default_installation_rules/game_rules/InstallRules_Starsand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import type { CoreRuleType } from '../../InstallationRules'; | ||
import * as path from 'path'; | ||
|
||
export default function(): CoreRuleType { | ||
|
||
return { | ||
gameName: "Starsand", | ||
rules: [ | ||
{ | ||
route: path.join("BepInEx", "plugins"), | ||
isDefaultLocation: true, | ||
defaultFileExtensions: [".dll"], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "core"), | ||
defaultFileExtensions: [], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "patchers"), | ||
defaultFileExtensions: [], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "monomod"), | ||
defaultFileExtensions: [".mm.dll"], | ||
trackingMethod: "SUBDIR", | ||
subRoutes: [] | ||
}, | ||
{ | ||
route: path.join("BepInEx", "config"), | ||
defaultFileExtensions: [], | ||
trackingMethod: "NONE", | ||
subRoutes: [] | ||
} | ||
] | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/BIE/Config/BIE_Config_Files/BIE_Config_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/BIE/Core/BIE_Core_Files/BIE_Core_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...ific/GTFO/Assets/BIE_GameSpecific_GTFO_Assets_Files/BIE_GameSpecific_GTFO_Assets_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...TFO/GameData/BIE_GameSpecific_GTFO_GameData_Files/BIE_GameSpecific_GTFO_GameData_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...deloader/BIE_GameSpecific_H3VR_Sideloader_Files/BIE_GameSpecific_H3VR_Sideloader_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...mSongs/BIE_GameSpecific_NASB_CustomSongs_Files/BIE_GameSpecific_NASB_CustomSongs_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...pecific/NASB/Skins/BIE_GameSpecific_NASB_Skins_Files/BIE_GameSpecific_NASB_Skins_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...icepacks/BIE_GameSpecific_NASB_Voicepacks_Files/BIE_GameSpecific_NASB_Voicepacks_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...orn/Maps/BIE_GameSpecific_Timberborn_Maps_Files/BIE_GameSpecific_Timberborn_Maps_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
.../SlimVML/BIE_GameSpecific_Valheim_SlimVML_Files/BIE_GameSpecific_Valheim_SlimVML_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...der-structure-testing/Package/BIE/LooseFiles/BIE_LooseFiles_Files/BIE_LooseFiles_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/BIE/Monomod/BIE_Monomod_Files/BIE_Monomod_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/BIE/Patchers/BIE_Patchers_Files/BIE_Patchers_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/BIE/Plugins/BIE_Plugins_Files/BIE_Plugins_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...L_GameSpecific_BONEWORKS_CustomItems_Files/ML_GameSpecific_BONEWORKS_CustomItems_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...ic_BONEWORKS_CustomLoadScreens_Files/ML_GameSpecific_BONEWORKS_CustomLoadScreens_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
.../ML_GameSpecific_BONEWORKS_CustomMaps_Files/ML_GameSpecific_BONEWORKS_CustomMaps_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...L_GameSpecific_BONEWORKS_CustomSkins_Files/ML_GameSpecific_BONEWORKS_CustomSkins_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...NEWORKS/Food/ML_GameSpecific_BONEWORKS_Food_Files/ML_GameSpecific_BONEWORKS_Food_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...ades/ML_GameSpecific_BONEWORKS_Grenades_Files/ML_GameSpecific_BONEWORKS_Grenades_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...ORKS/Music/ML_GameSpecific_BONEWORKS_Music_Files/ML_GameSpecific_BONEWORKS_Music_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...GameSpecific_BONEWORKS_PlayerModels_Files/ML_GameSpecific_BONEWORKS_PlayerModels_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
.../ML_GameSpecific_BONEWORKS_Scoreworks_Files/ML_GameSpecific_BONEWORKS_Scoreworks_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/ML/Libs/ML_Libs_Files/ML_Libs_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/ML/Managed/ML_Managed_Files/ML_Managed_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
...der-structure-testing/Package/ML/MelonLoader/ML_MelonLoader_Files/ML_MelonLoader_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/ML/Mods/ML_Mods_Files/ML_Mods_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/ML/Plugins/ML_Plugins_Files/ML_Plugins_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
1 change: 1 addition & 0 deletions
1
test/folder-structure-testing/Package/ML/UserData/ML_UserData_Files/ML_UserData_file.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
placeholder |
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* Run manually via `node ./populator.mjs` | ||
* --------------------------------------- | ||
* Produces a package structure that allows testing different package formats in a sane way. | ||
*/ | ||
|
||
import * as fs from "fs"; | ||
import * as path from "path"; | ||
|
||
function getDestinationDirs(basePath) { | ||
const destDirs = []; | ||
const items = fs.readdirSync(basePath); | ||
const containsFiles = items.find(x => !fs.statSync(path.join(basePath, x)).isDirectory()); | ||
const containsMetadataFiles = items.find(x => ["manifest.json", "readme.md", "icon.png"].includes(x.toLowerCase())); | ||
if (items.length === 0) { | ||
return []; | ||
} else if (containsFiles && !containsMetadataFiles) { | ||
return [basePath]; | ||
} else { | ||
items.forEach(item => { | ||
const newBasePath = path.join(basePath, item); | ||
if (fs.statSync(newBasePath).isDirectory()) { | ||
destDirs.push(...getDestinationDirs(newBasePath)); | ||
} | ||
}); | ||
} | ||
return destDirs; | ||
} | ||
|
||
const srcDest = path.join(process.cwd(), "Package"); | ||
const destDirs = getDestinationDirs(srcDest); | ||
|
||
destDirs.forEach(dest => { | ||
fs.readdirSync(dest).forEach(x => fs.unlinkSync(path.join(dest, x))); | ||
fs.rmdirSync(dest); | ||
}); |
Oops, something went wrong.