scottbot95 / RoR2ModManager

A simple mod manager built using electron. Currently only supports BepInEx mods
MIT License
25 stars 3 forks source link

Auto-detect install dir #97

Closed scottbot95 closed 5 years ago

scottbot95 commented 5 years ago

Attempt to auto-detect where a package would like to be install by searching for folders named plugins, monomod, or patchers in the package zip. If it finds one or more of those folders, it will copy the contents of the folder to the corresponding folder in the BepInEx install. Otherwise, it will assume it's a plugin and install it there.

This resolves #78

codecov-io commented 5 years ago

Codecov Report

Merging #97 into master will decrease coverage by 0.67%. The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
- Coverage    57.7%   57.03%   -0.68%     
==========================================
  Files          36       36              
  Lines        1369     1394      +25     
  Branches       85       86       +1     
==========================================
+ Hits          790      795       +5     
- Misses        560      580      +20     
  Partials       19       19
Impacted Files Coverage Δ
src/app/core/services/electron.service.ts 64.7% <33.33%> (-6.73%) :arrow_down:
src/app/main/services/package.service.ts 33.02% <7.89%> (-2.66%) :arrow_down:
...found-config-table/found-config-table.component.ts 92.85% <75%> (+7.14%) :arrow_up:
...selection/packages-page/packages-page.component.ts 68.88% <0%> (+2.22%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 76ad6c5...800d526. Read the comment docs.