added fortnite to game detect list

This commit is contained in:
root 2024-09-18 08:53:20 -07:00
parent 9a9869561e
commit 9d51116ffc
13 changed files with 29 additions and 23 deletions

View file

@ -193,18 +193,24 @@ Setting the `MM_DEBUG` environment variable will invoke the debug builds. The si
### ###
### Creating a new repository on the command line ### Creating a new repository on the command line
touch README.md * touch README.md
git init * git init
git checkout -b main * git checkout -b main
git add README.md * git add README.md
git commit -m "first commit" * git commit -m "first commit"
git remote add origin https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate.git * git remote add origin https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate.git
git push -u origin main * git push -u origin main
## DONT FORGET TO DO THIS BEFORE COMMITING CHANGES
* make clean
* make
### Pushing an existing repository from the command line with version tag ### Pushing an existing repository from the command line with version tag
git add . * git add .
git commit -m "comment for the commit" * git commit -m "comment for the commit"
git tag -a vX.X.X -m "version X.X.X" * git tag -a vX.X.X -m "version X.X.X"
git push origin vX.X.X * git push origin vX.X.X
git push origin main * git push origin main
git push --tags * git push --tags
### last version commited v0.0.3

View file

@ -4,9 +4,9 @@
"description": "This plugin serves as a starting point for writing a Mattermost plugin.", "description": "This plugin serves as a starting point for writing a Mattermost plugin.",
"homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate", "homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate",
"support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues", "support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues",
"release_notes_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdatereleases/tag/v0.0.1", "release_notes_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdatereleases/tag/v0.0.2",
"icon_path": "assets/starter-template-icon.svg", "icon_path": "assets/starter-template-icon.svg",
"version": "0.0.1", "version": "0.0.2",
"min_server_version": "6.2.1", "min_server_version": "6.2.1",
"server": { "server": {
"executables": { "executables": {

File diff suppressed because one or more lines are too long

View file

@ -18,9 +18,9 @@ const manifestStr = `
"description": "This plugin serves as a starting point for writing a Mattermost plugin.", "description": "This plugin serves as a starting point for writing a Mattermost plugin.",
"homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate", "homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate",
"support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues", "support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues",
"release_notes_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdatereleases/tag/v0.0.1", "release_notes_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdatereleases/tag/v0.0.2",
"icon_path": "assets/starter-template-icon.svg", "icon_path": "assets/starter-template-icon.svg",
"version": "0.0.1", "version": "0.0.2",
"min_server_version": "6.2.1", "min_server_version": "6.2.1",
"server": { "server": {
"executables": { "executables": {

View file

@ -25,8 +25,8 @@ type Plugin struct {
// Known game processes // Known game processes
var knownGames = map[string]bool{ var knownGames = map[string]bool{
"game.exe": true, "fortnite.exe": true,
"gameprocess": true, "gameprocess": true,
// Add more known game processes here // Add more known game processes here
} }

2
webapp/dist/main.js vendored

File diff suppressed because one or more lines are too long

View file

@ -7,9 +7,9 @@ const manifest = JSON.parse(`
"description": "This plugin serves as a starting point for writing a Mattermost plugin.", "description": "This plugin serves as a starting point for writing a Mattermost plugin.",
"homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate", "homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate",
"support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues", "support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues",
"release_notes_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdatereleases/tag/v0.0.1", "release_notes_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdatereleases/tag/v0.0.2",
"icon_path": "assets/starter-template-icon.svg", "icon_path": "assets/starter-template-icon.svg",
"version": "0.0.1", "version": "0.0.2",
"min_server_version": "6.2.1", "min_server_version": "6.2.1",
"server": { "server": {
"executables": { "executables": {