Creating package that clones git repository and runs script to modify another application #2194
Unanswered
Infinidoge
asked this question in
Q&A
Replies: 1 comment
-
Well, I think you cannot distribute applications that are not accepted to be used. Powercord seems to be an unofficial Discord client, and according to the Discord Terms of Service, you cannot write, use or distribute 3rd party (modded) Discord clients. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, I'm new to creating chocolatey packages and am looking to create a few for software I used to install manually.
In this case, I am looking to create a package for powercord, which injects into discord.
The package for Discord Canary already exists on the community repo, so I don't believe I need to do anything there.
My question then is, based on the powercord installation instructions, how would I go about managing the git repo, checking for updates, and installing them?
My current thought process is to clone the powercord repository into a folder then run the injection process as the instructions state, either cloning to a temporary folder to be removed later, or into a more permanent place while the installation exists. Though the latter option is preferable, I'm not sure where the folder would be, since it doesn't need to be in the path.
Uninstallation should be similarly possible, just entering the cloned repository and running the uninstallation command.
However, updating I am not as sure. Should the package be fixed to a certain commit, then update that referenced commit with an auto-updating package? Depending on the licensing of powercord, could the repo just be included in the package and updated in that same manner?
Any advice would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions