Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count the number of installs for each plugin #557

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

PartyWumpus
Copy link
Member

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/

Description

This will currently only work with the testing store, as the changes are not yet on the main store.
Whenever a plugin is installed the loader will send a request to an /increment endpoint on the plugin server so it can increment the number of downloads/updates by one. This will be used for sorting by popularity at some point in the future, once there's enough downloads recorded to make the sort meaningful.

@PartyWumpus PartyWumpus merged commit 8f26fde into main Nov 10, 2023
13 checks passed
K900 pushed a commit to K900/decky-loader that referenced this pull request Nov 11, 2023
marios8543 pushed a commit that referenced this pull request Nov 13, 2023
* fix: get rid of title view jank on latest beta

* Count the number of installs for each plugin (#557)

* Bump aiohttp from 3.8.4 to 3.8.5 in /backend (#558)

* fix: include Decky version in request for index.js

This avoids the If-Modified-Since logic in aiohttp and ensures Steam doesn't cache old JS,
even if the timestamps are normalized.

* fix: clean up shellcheck warnings in act runner script

* fix: gitignore settings/

* fix: ensure state directories exist when running without the installer

* feat: determine root directory correctly when running from in-tree

* fix: fix typo in CI script

* refactor: build a proper Python package with poetry

* refactor: move decky_plugin under the poetry structure

There's no need to special case it anymore, just treat it like any other Python module.

* sandboxed_plugin: better fix, attempt 2

---------

Co-authored-by: AAGaming <[email protected]>
Co-authored-by: Party Wumpus <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@PartyWumpus PartyWumpus deleted the wumpus/counting-installs branch April 9, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant