-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: remove manifest data from
PluginDefinition
type, unexport `@…
…revenge-mod/plugins`, use constants for paths
- Loading branch information
Showing
7 changed files
with
164 additions
and
139 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const BaseDirectory = 'revenge' | ||
|
||
export const SettingsFilePath = `${BaseDirectory}/settings.json` | ||
|
||
export const PluginsDirectoryPath = `${BaseDirectory}/plugins` | ||
export const PluginsStatesFilePath = `${PluginsDirectoryPath}/states.json` | ||
export const PluginStoragePath = (id: string) => `${PluginsDirectoryPath}/${id}/storage.json` |
Oops, something went wrong.