mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
```python
import yaml, glob, re, os
from fdroidserver import metadata
pat = re.compile(r'\[(https?://[^ \]]+)\s+([^\]]+)\]')
for f in glob.glob('metadata/*.yml'):
with open(f) as fp:
data = yaml.load(fp)
description = data.get('Description', '')
for m in pat.finditer(data.get('Description', '')):
link = m.group(1)
text = m.group(2)
print(f, link, text, flush=True)
description = description.replace(m.group(), '<a href="%s">%s</a>' % (link, text))
data['Description'] = description
app = metadata.App(data)
metadata.write_metadata(f, app)
```
```
sed -i 's,^ - true, - yes,' metadata/*.yml
sed -i 's,^ - false, - no,' metadata/*.yml
```
closes fdroid-website#510
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
Categories:
|
|
- Games
|
|
- Connectivity
|
|
License: AGPL-3.0-only
|
|
AuthorName: Sergey Zubarev
|
|
AuthorEmail: info@js-labs.org
|
|
SourceCode: https://github.com/js-labs/ShellsMP
|
|
IssueTracker: https://github.com/js-labs/ShellsMP/issues
|
|
Changelog: https://github.com/js-labs/ShellsMP/blob/HEAD/CHANGELOG.md
|
|
|
|
AutoName: ShellsMP
|
|
Description: |-
|
|
This program gives an opportunity to play a Shells game with your friends. Only
|
|
multiplayer mode is supported, so you will need 2 devices: one for thimblerigger
|
|
and another one for the victim. Devices should be connected to the same WiFi
|
|
network segment.
|
|
|
|
If you are thimblerigger - start the game, wait for the victim, put ball and few
|
|
cups then move cups.
|
|
|
|
If you are victim - connect the game, watch and guess.
|
|
|
|
Source code gives an example how following techonologies can be used:
|
|
|
|
* Android NSD for device discovery
|
|
* OpenGL text rendering
|
|
* OpenGL ball rendering
|
|
* OpenGL shadows rendering
|
|
* JS-Collider: Java network framework <a href="https://github.com/js-labs/js-collider">JS-Collider</a>
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/js-labs/ShellsMP.git
|
|
|
|
Builds:
|
|
- versionName: '1.0'
|
|
versionCode: 1
|
|
commit: a744db06b1ffbaedf40292714bb85c6caabc9a01
|
|
gradle:
|
|
- yes
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: RepoManifest
|
|
CurrentVersion: '1.0'
|
|
CurrentVersionCode: 1
|