Skip to content

Commit 95829f2

Browse files
committed
script.skinshortcuts-3.0.0~beta6
1 parent f2c2254 commit 95829f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+996
-287
lines changed

.github/workflows/pyright.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Type Check
2+
3+
on:
4+
push:
5+
branches: [master, beta-*]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
pyright:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.11'
19+
20+
- name: Install pyright
21+
run: pip install pyright
22+
23+
- name: Run pyright
24+
run: pyright
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Submit Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
if: github.repository == 'mikesilvo164/script.skinshortcuts'
11+
12+
name: Submit Release
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout Add-on
17+
uses: actions/checkout@v4
18+
with:
19+
path: ${{ github.event.repository.name }}
20+
21+
- name: Set up Python 3.11
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.11'
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
python -m pip install git+https://github.com/romanvm/kodi-addon-submitter.git
30+
31+
- name: Configure git
32+
run: |
33+
git config --global user.name "mikesilvo164"
34+
git config --global user.email "mikesilvo164@users.noreply.github.com"
35+
36+
- name: Remove Unwanted Files
37+
run: |
38+
mv .git ..
39+
rm -rf .??*
40+
mv ../.git .
41+
rm -f LICENSE.txt
42+
rm -f README.md
43+
rm -rf docs/
44+
rm -rf tests/
45+
rm -rf typings/
46+
rm -f pyrightconfig.json
47+
rm -f ruff.toml
48+
git add .
49+
git commit -m "Remove unwanted files"
50+
working-directory: ${{ github.event.repository.name }}
51+
52+
- name: Submit to Official Repository
53+
id: submit
54+
run: |
55+
submit-addon -r repo-scripts -b omega --pull-request ${{ github.event.repository.name }}
56+
working-directory: ${{ github.event.repository.name }}
57+
env:
58+
GH_USERNAME: mikesilvo164
59+
GH_TOKEN: ${{ secrets.ADDON_SUBMISSION_TOKEN }}
60+
EMAIL: mikesilvo164@users.noreply.github.com

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,5 @@ $RECYCLE.BIN/
7777

7878
# Project-specific
7979
.claude/
80-
typings/
81-
pyrightconfig.json
8280
ruff.toml
8381
resources/test_config/

addon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="script.skinshortcuts" name="Skin Shortcuts" version="3.0.0~beta5" provider-name="SiLVO, anxdpanic">
2+
<addon id="script.skinshortcuts" name="Skin Shortcuts" version="3.0.0~beta6" provider-name="SiLVO, anxdpanic">
33
<requires>
44
<import addon="xbmc.python" version="3.0.0"/>
55
<import addon="script.module.simpleeval" version="0.9.10"/>

docs/codebase/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ widget.2, widgetPath.2, widgetType.2, etc.
131131

132132
```python
133133
from providers import resolve_content
134-
shortcuts = resolve_content(Content(source="addons", target="video"))
134+
shortcuts = resolve_content(Content(source="addons", target="videos"))
135135
```
136136

137137
***

0 commit comments

Comments
 (0)