Skip to content

Commit

Permalink
Add facility for cache invalidation, bump to 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsage committed Oct 28, 2022
1 parent 7754848 commit 2a85591
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ In this display, you can compare a collection to a savegame. Both savegame fold
- __In-Active__ : This mod is not loaded in the savegame
- __Active__ : This mod is loaded in the savegame
- __Used__ : This mod is used in the savegame (someone owns something from it)
- __Unused__ : This mod is NOT used in the savegame (nobody owns anything from it)
- __Script__ : This mod contains only scripts, so it is assumed it is in use in the savegame
- __Missing__ : This mod is active or used in the savegame, but you do not have the file in your collection
- __DLC__ : This mod is paid DLC content from Giants
Expand Down
6 changes: 6 additions & 0 deletions modAssist_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const settingsSchema = {
force_lang : { type : 'string', default : '' },
game_settings : { type : 'string', default : path.join(pathBestGuess, 'gameSettings.xml') },
game_path : { type : 'string', default : foundGame },
cache_version : { type : 'string', default : '0.0.0' },
}

const Store = require('electron-store')
Expand Down Expand Up @@ -169,6 +170,11 @@ let overrideFolder = null
let overrideIndex = '999'
let overrideActive = null

/** Upgrade Cache Version Here */

mcStore.set('cache_version', mcDetail.version)

/** END: Upgrade Cache Version Here */


/* _ _ ____ _ _ ____ _____ _ _ ___
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fsg-mod-assistant",
"version": "0.9.100",
"version": "0.10.0",
"description": "FSG Farm Sim Mod Assistant",
"main": "modAssist_main.js",
"homepage": "https://github.com/FSGModding/FSG_Mod_Assistant#readme",
Expand Down

0 comments on commit 2a85591

Please sign in to comment.