Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yuko1101 committed May 13, 2023
2 parents 5967c71 + 773f4fa commit 7aaadc0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ const { StarRail } = require("starrail.js");

// Change the directory to store cache data.
// Default directory is **/starrail.js/cache.
// Re-fetching contents may be required, if you update
// starrail.js with the cache directory in it.
const client = new StarRail();
client.cachedAssetsManager.cacheDirectoryPath = "./cache";
client.cachedAssetsManager.cacheDirectorySetup();
Expand All @@ -92,7 +90,7 @@ client.cachedAssetsManager.fetchAllContents(); // returns promise

Also, you can activate auto cache updater.

When using the auto-cache updater, we strongly recommend moving the cache directory directly under your project folder. (**DO NOT delete \*\*/starrail.js/cache when moving directory, just delete all folders/files in it.**)
When using the auto-cache updater, we recommend moving the cache directory directly under your project folder. (**DO NOT delete \*\*/starrail.js/cache when moving directory, just delete all folders/files in it.**)

```js
const { StarRail } = require("starrail.js");
Expand Down Expand Up @@ -142,4 +140,4 @@ More examples are available in [example](https://github.com/yuko1101/starrail.js

For more information, please check [Documentation](https://starrail.vercel.app/docs/api/StarRail).

You can see the changelog [here](https://github.com/yuko1101/starrail.js/blob/main/CHANGELOG.md).
You can see the changelog [here](https://github.com/yuko1101/starrail.js/blob/main/CHANGELOG.md).

1 comment on commit 7aaadc0

@vercel
Copy link

@vercel vercel bot commented on 7aaadc0 May 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

starrail – ./

starrail-git-main-yuko1101.vercel.app
starrail.vercel.app
starrail-yuko1101.vercel.app

Please sign in to comment.