Skip to content

Commit 0132544

Browse files
authored
Merge pull request #1 from bombsquad-community/main
test
2 parents cd20873 + 609129d commit 0132544

30 files changed

Lines changed: 9429 additions & 212 deletions

.github/workflows/release.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- index.json
9+
10+
jobs:
11+
build:
12+
name: Create Release
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.11'
20+
21+
- name: 'Get Previous tag'
22+
uses: oprypin/find-latest-tag@v1.1.2
23+
with:
24+
repository: ${{ github.repository }}
25+
releases-only: true # We know that all relevant tags have a GitHub release for them.
26+
id: previoustag
27+
28+
- name: set_variables
29+
run: |
30+
output1=$(python3 test/get_latest.py)
31+
{
32+
echo "changelog<<EOF"
33+
python3 test/get_changes.py "$(python3 test/get_latest.py)"
34+
echo EOF
35+
} >> "$GITHUB_OUTPUT"
36+
output3=$(python3 test/version_is_lower.py ${{ steps.previoustag.outputs.tag }})
37+
echo "latestVersion=$output1" >> $GITHUB_OUTPUT
38+
echo "shouldRun=$output3" >> $GITHUB_OUTPUT
39+
id: set_variables
40+
41+
42+
43+
- name: Bump version and push tag
44+
if: ${{ steps.set_variables.outputs.shouldRun == '1' }}
45+
id: tag_version
46+
uses: mathieudutour/github-tag-action@v6.2
47+
with:
48+
github_token: ${{ secrets.GITHUB_TOKEN }}
49+
custom_tag: |
50+
${{ steps.set_variables.outputs.latestVersion }}
51+
52+
- name: Create release
53+
if: ${{ steps.tag_version.outputs.new_tag }}
54+
uses: ncipollo/release-action@v1
55+
with:
56+
tag: ${{ steps.tag_version.outputs.new_tag }}
57+
name: Release ${{ steps.tag_version.outputs.new_tag }}
58+
artifacts: "plugin_manager.py"
59+
body: |
60+
## Changelog
61+
${{ steps.set_variables.outputs.changelog }}
62+

CHANGELOG.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,76 @@
11
## Plugin Manager (dd-mm-yyyy)
22

3+
### 1.0.22 (07-08-2024)
4+
5+
- Fixed a few Errors and UI Bugs.
6+
7+
### 1.0.21 (20-05-2024)
8+
9+
- Fixed an error related with notification of new plugins.
10+
11+
### 1.0.20 (13-05-2024)
12+
13+
- Now compatible with BS version 1.7.35+.
14+
- Updated build_number and version attributes to latest.
15+
- FIX: Changelog for all version was shown after refreshing.
16+
17+
### 1.0.19 (05-05-2024)
18+
19+
- Fixed an issue where changelogs were not displayed.
20+
- Changed the Authors text color to be seen more easily.
21+
22+
### 1.0.18 (28-04-2024)
23+
24+
- Fixed errors which were caused due to no internet connection.
25+
26+
### 1.0.17 (22-04-2024)
27+
28+
- Added ChangeLog Window to view latest changes.
29+
30+
### 1.0.16 (22-04-2024)
31+
32+
- Fix for error caused when disable button was missing
33+
34+
### 1.0.15 (22-04-2024)
35+
36+
- Plugins can now be viewed in A-Z and Z-A order.
37+
- Added 'Installed' category to show Installed plugins.
38+
39+
### 1.0.14 (21-04-2024)
40+
41+
- Displaying All Author Names and their Info for plugins.
42+
43+
### 1.0.13 (20-04-2024)
44+
45+
- Improvements to the new plugins notification.
46+
47+
### 1.0.12 (20-04-2024)
48+
49+
- Limited the "x new plugins are available" screen message to only show maximum 2 plugins.
50+
51+
### 1.0.11 (20-04-2024)
52+
53+
- Fixed positions of a few buttons.
54+
55+
### 1.0.10 (19-04-2024)
56+
57+
- Fixed up a bug in Refreshing Plugins button.
58+
59+
### 1.0.9 (19-04-2024)
60+
61+
- Made the Plugin names look a little cleaner.
62+
63+
### 1.0.8 (11-04-2024)
64+
65+
- Avoid making app-mode related calls while `SceneAppMode` isn't set.
66+
67+
### 1.0.7 (22-02-2024)
68+
69+
- Fix searching in plugin manager with capital letters.
70+
371
### 1.0.6 (26-12-2023)
472

5-
- Fixed plugin manager throwing errors on older builds
73+
- Fixed plugin manager throwing errors on older builds.
674

775
### 1.0.5 (11-12-2023)
876

README.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ README here.
77

88
-------------------------------
99

10-
# plugin-manager
10+
# Plugin-Manager
1111

1212
A plugin manager for the game - [Bombsquad](https://www.froemling.net/apps/bombsquad). Plugin manager is a plugin in itself,
1313
which makes further modding of your game more convenient by providing easier access to community created content.
1414

1515
[![DownloadIcon]][DownloadLink]
1616

1717
[DownloadIcon]:https://img.shields.io/badge/Download-5555ff?style=for-the-badge&logoColor=white&logo=DocuSign
18-
[DownloadLink]:https://cdn.jsdelivr.net/gh/bombsquad-community/plugin-manager/plugin_manager.py
18+
[DownloadLinkJSdelivr]:https://cdn.jsdelivr.net/gh/bombsquad-community/plugin-manager/plugin_manager.py
19+
[DownloadLink]:https://github.com/bombsquad-community/plugin-manager/releases/latest/download/plugin_manager.py
1920

2021
![Plugin Manager GIF](https://user-images.githubusercontent.com/106954762/190505304-519c4b91-2461-42b1-be57-655a3fb0cbe8.gif)
2122

@@ -38,7 +39,23 @@ which makes further modding of your game more convenient by providing easier acc
3839

3940
There are two different ways the plugin manager can be installed:
4041

41-
1. [Download plugin_manager.py][DownloadLink] to your mods directory (check it out by going into your game's
42+
43+
1. From dev console
44+
45+
- Enable "Show Dev Console Button" from advance bombsquad settings
46+
- Paste the following code in dev console
47+
```py
48+
import urllib.request;import _babase;import os;url="https://github.com/bombsquad-community/plugin-manager/releases/latest/download/plugin_manager.py";plugin_path=os.path.join(_babase.env()["python_directory_user"],"plugin_manager.py");file=urllib.request.urlretrieve(url)[0];fl = open(file,'r');f=open(plugin_path, 'w+');f.write(fl.read());fl.close();f.close();print("SUCCESS")
49+
```
50+
- "SUCCESS" will be shown in the console
51+
52+
2. Another way is to add
53+
[plugin_manager.py](https://raw.githubusercontent.com/bombsquad-community/plugin-manager/main/plugin_manager.py)
54+
to your workspace. However, plugin manager self-updates will fail when installed using this way since the game
55+
will overrwrite the updated plugin manager, with the older version from workspace on the next sync. However, you can
56+
manually apply updates by copying the latest plugin manager's source code again to your workspace when using this method.
57+
58+
3. [Download plugin_manager.py][DownloadLink] to your mods directory (check it out by going into your game's
4259
Settings -> Advanced -> Show Mods Folder). This is the recommended way (read next method to know why).
4360
If you're on a newer version of Android (11 or above) and not rooted, it probably won't be possible to copy
4461
mods to game's mods folder. In this case, you can connect your Android phone to a computer and push `plugin_manager.py`
@@ -47,13 +64,6 @@ There are two different ways the plugin manager can be installed:
4764
$ adb push plugin_manager.py /sdcard/Android/data/net.froemling.bombsquad/files/mods/plugin_manager.py
4865
```
4966

50-
3. Another way is to add
51-
[plugin_manager.py](https://raw.githubusercontent.com/bombsquad-community/plugin-manager/main/plugin_manager.py)
52-
to your workspace. However, plugin manager self-updates will fail when installed using this way since the game
53-
will overrwrite the updated plugin manager, with the older version from workspace on the next sync. However, you can
54-
manually apply updates by copying the latest plugin manager's source code again to your workspace when using this method.
55-
56-
5767
## Usage
5868

5969
- If installed correctly, you'll see the plugin manager button in your game's settings.

index.json

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,102 @@
11
{
22
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
33
"versions": {
4+
"1.0.22": {
5+
"api_version": 8,
6+
"commit_sha": "719c104",
7+
"released_on": "07-08-2024",
8+
"md5sum": "9c431e0eff32a16070afb7f59a5f0046"
9+
},
10+
"1.0.21": {
11+
"api_version": 8,
12+
"commit_sha": "b1a3aaa",
13+
"released_on": "20-05-2024",
14+
"md5sum": "e00d6ce92ce4651eceb5ae389ca5c4fb"
15+
},
16+
"1.0.20": {
17+
"api_version": 8,
18+
"commit_sha": "5ce10ce",
19+
"released_on": "13-05-2024",
20+
"md5sum": "eb49f952e59effaf4529017f4bed4f72"
21+
},
22+
"1.0.19": {
23+
"api_version": 8,
24+
"commit_sha": "b439c4b",
25+
"released_on": "05-05-2024",
26+
"md5sum": "5cc29a6d7eaafe883e63cd6f0e9153f4"
27+
},
28+
"1.0.18": {
29+
"api_version": 8,
30+
"commit_sha": "5af504e",
31+
"released_on": "28-04-2024",
32+
"md5sum": "2c231693e686971a7cc4f12d1ffa3fdd"
33+
},
34+
"1.0.17": {
35+
"api_version": 8,
36+
"commit_sha": "02530f0",
37+
"released_on": "22-04-2024",
38+
"md5sum": "b5f3902046731ae4cc5bc88586203238"
39+
},
40+
"1.0.16": {
41+
"api_version": 8,
42+
"commit_sha": "0839999",
43+
"released_on": "22-04-2024",
44+
"md5sum": "f9f3f7d3ff9fcbeee7ae01c8dc1a4ab8"
45+
},
46+
"1.0.15": {
47+
"api_version": 8,
48+
"commit_sha": "fd170eb",
49+
"released_on": "22-04-2024",
50+
"md5sum": "3666dbb82805bdc4885ebf6b105ebf3b"
51+
},
52+
"1.0.14": {
53+
"api_version": 8,
54+
"commit_sha": "fc5a7f1",
55+
"released_on": "21-04-2024",
56+
"md5sum": "d25f8b80387d532d1d8aa3b84b35b696"
57+
},
58+
"1.0.13": {
59+
"api_version": 8,
60+
"commit_sha": "2a4cb47",
61+
"released_on": "21-04-2024",
62+
"md5sum": "0d04386a75f692bd80875c6f97b262c5"
63+
},
64+
"1.0.12": {
65+
"api_version": 8,
66+
"commit_sha": "34bbcba",
67+
"released_on": "20-04-2024",
68+
"md5sum": "6d14d091d02582270c5c93b54d65efd5"
69+
},
70+
"1.0.11": {
71+
"api_version": 8,
72+
"commit_sha": "4228b3e",
73+
"released_on": "20-04-2024",
74+
"md5sum": "c22d4d2270e17971b6559edac845d0ff"
75+
},
76+
"1.0.10": {
77+
"api_version": 8,
78+
"commit_sha": "6dd86ef",
79+
"released_on": "19-04-2024",
80+
"md5sum": "06a39b09fc5c0be30a7bf2d65c350310"
81+
},
82+
"1.0.9": {
83+
"api_version": 8,
84+
"commit_sha": "88834bd",
85+
"released_on": "19-04-2024",
86+
"md5sum": "57157cb438d793370586e1ccc957ad30"
87+
},
88+
"1.0.8": {
89+
"api_version": 8,
90+
"commit_sha": "85b5727",
91+
"released_on": "11-04-2024",
92+
"md5sum": "74fbf98aa908fc2830f5973101e38b3a"
93+
},
94+
"1.0.7": {
95+
"api_version": 8,
96+
"commit_sha": "cf55d26",
97+
"released_on": "21-02-2024",
98+
"md5sum": "aa4cbd1f8e1618c30e5cd0bdb02ae962"
99+
},
4100
"1.0.6": {
5101
"api_version": 8,
6102
"commit_sha": "e5a0e90",

0 commit comments

Comments
 (0)