As a user, I should be able to add a new target to be managed by the manager by selecting the target exe. In the background, several things need to happen: - [x] The exe needs to be hashed facilitate automatic game detection - [ ] Call an API with the calculated hash to receive target info - Stuff like name, icon and maybe available disunity versions - [ ] Download the appropriate Disunity distro (possibly allow user to choose) - [x] Create folder in the `app.getPath("userData")` folder - Folder name should probably be based on the hash of the absolute path to allow for multiple installs of the same target - [ ] Create json file with target info - [ ] Create database for storing installed mod state - [ ] Install the Disunity distro in to the managed folder - [ ] Create a `mods` folder next to the Disunity distro to store the managed mods in - [ ] Configure doorstop in target directory to reference managed directory
As a user, I should be able to add a new target to be managed by the manager by selecting the target exe.
In the background, several things need to happen:
app.getPath("userData")foldermodsfolder next to the Disunity distro to store the managed mods in