Skip to content

Releases: Breadinator/swkshp

v1.3.1

12 Apr 13:56
Compare
Choose a tag to compare
  • Streamlined
  • Better errors
  • Refactored, merged some files for some stuff

Full Changelog: v1.3.0...v1.3.1

v1.3.0

10 Apr 11:45
Compare
Choose a tag to compare

Fixes

  • Config files should now generate
    • Probably a better way to do it, but just wanted to fix for now
  • Moved test files out of test directories and into the same directories as the code they test

Minor

  • Added some code documentation
  • Removed code that was commented out

To-do

  • Remove the rest of the unused code for v1.3.1

Full Changelog: v1.2.1...v1.3.0

v1.2.1

09 Apr 09:24
Compare
Choose a tag to compare

Changes

  • Added a command to check for new mod updates. swkshp.exe updates [-g game]
  • Minor changes/fixes

Full Changelog: v1.2.0...v1.2.1

v1.2.0

08 Apr 22:01
Compare
Choose a tag to compare

Main changes

  • Removed the build script and old binaries from releases. Cgo required for sqlite-3 (and maybe other dependencies).
  • Config now fetched when first run instead of reading the file and looking for the setting each time. config/config.go, config/readWriteConf.go
  • Databases storing data on installed mods should only be opened once each. When a method accessing one is called, it now opens it if it hasn't already been opened and adds that db connection to a map of games-to-db connections, or accesses that map to find the connection where available. At the end of the program, all connections should be safely closed. versions/dbs.go
  • Data associated with a workshop resource should only be accessed once per call. The ID is only parsed once, the web page is only fetched once, etc. resource/workshop.go

Minor

  • Checks if there is a new version available and tells the user if so.
  • Setting for file read buffer. Can only be changed by manually editing the main config file for now.
  • Fewer panics.

Bug fixes

  • Previously, all dates were based of a hardcoded timestamp I put in for testing then forgot to fully implement. Timestamps for versions should now be scraped from the web page properly.
  • The parser for Steam Workshop's timestamp format didn't allow for mods from this year because the year is omitted in that case. Should be fixed, inserting the user's set year where omitted.

To-do

  • Remove a bunch of the now-unused code, such as some of the old config code. Just need to go through and figure out what exactly is and isn't used.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

07 Apr 04:16
Compare
Choose a tag to compare

Changes

  • Added version tracking for mods.
    • There's an sqlite3 database in each mod folder that keeps track of it
  • Added remove command, which uninstalls a mod
  • Updated to Go 1.18
  • Keeps track of SWkshp version now, so it can perform tasks on version change
  • Changed message formatting so it's more readable for the user

Full Changelog: v1.0.1...v1.1.0

v1.0.1

04 Apr 15:56
Compare
Choose a tag to compare
  • Bug fixes
  • Added documentation
  • Streamlined some of the Cobra stuff

Full Changelog: v1.0.0...v1.0.1

v1.0.0

04 Apr 15:15
Compare
Choose a tag to compare

I haven't tested Mac and Linux, but I compiled to them using the build.bat script. The Windows build does work, though. All 64 bit.