Skip to content

Release v1.11

Compare
Choose a tag to compare
@JustTemmie JustTemmie released this 05 Aug 12:57
· 34 commits to main since this release
75359e3

This update will break existing installs

the old installer i wrote was a bit fucky wucky and never really let me add new files to the project, solution: new installer

to install the new version

backing up important files

take a backup of the important files from the old steam-presence instance
(following shell snippets are assuming you have steam-presence installed directly in your home directory (the ~ one)

cd
mkdir steamPresenceTempBackups
cp steam-presence/games.txt steamPresenceTempBackups/
cp steam-presence/icons.txt steamPresenceTempBackups/
cp steam-presence/customGameIDs.json steamPresenceTempBackups/
cp steam-presence/config.json steamPresenceTempBackups/

there might be some errors about certain files not existing, as long as it didn't fail copying config.json it should be fine

delete existing install

(this is all assuming you're on linux)

navigate to ~.config/systemd/
and delete both steam-presence.service and default.target.wants/steam-presence.service

cd .config/systemd/user
rm steam-presence.service default.target.wants/steam-presence.service

then delete the old installation folder, assuming it's installed in your home directory

cd
rm -r steam-presence

install the new version

you now need to reinstall steam-presence, this can be done wherever, for example in the home directory
just navigate to where you want to install it by using cd, then install steam-presence by running

git clone https://github.com/JustTemmie/steam-presence.git

then copy the old files you just backed up, into the new installation

cd steam-presence
cp ~/steamPresenceTempBackups/games.txt .
cp ~/steamPresenceTempBackups/icons.txt .
cp ~/steamPresenceTempBackups/customGameIDs.json .
cp ~/steamPresenceTempBackups/config.json .

if you encountered errors copying files earlier, you will also encounter the same errors here, this is fine

running the new installer should finish up the installation

chmod +x installer.sh
 ./installer.sh

this will also move the files you copied earlier into a new data/ folder, so if you suspect any missing files, you should check there too

delete the temporary folder

if everything seems to be fine, you can now delete the temporary "backup folder"

rm -r ~/steamPresenceTempBackups/

sorry for the complicated update guide, it shouldn't ever be required again in the future :p

new features in v1.11

  • new installer courtesy of @Radiicall
  • moved the files used by the program internally such as icons.txt, games.txt, and so on, to a new folder called data/
  • new meta-version tracking which helps avoiding problems with new installers
  • added ability to fetch reviews from steam and displaying it in the rich presence
  • added the ability to add a button to the steam store, displayed in the rich presence
  • added update checker that prints "heyo there's new version" to the terminal whenever it's ran, and there's a new version
    • this might get the function to give you desktop notifications in the future, i haven't looked into it yet
  • improved the ability to fetch discord game IDs for games including odd characters, such as ™️, ®️, and so on

and a fair bit of other bug fixes courtesy of myself and @ash2x3zb9cy

full changelog here