-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1060072
Showing
26 changed files
with
3,063 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ko_fi: cvamp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Start a Bug Report | ||
about: Only for technical bugs and problems. | ||
title: '' | ||
labels: 'bug' | ||
assignees: kevinbytesthedust | ||
--- | ||
|
||
<!------------------------------------------------------------------------- | ||
Thank you for opening an issue. Please work through these steps first: | ||
1. Follow all troubleshooting step from the wiki | ||
https://github.com/KevinBytesTheDust/cvamp/wiki/Troubleshooting | ||
2. Please ensure that there is not an issue already for the bug. | ||
-------------------------------------------------------------------------> | ||
|
||
**Please answer the following questions:** | ||
- CVAmp version? [e.g. 0.4.0] | ||
- OS with version? [e.g. Windows 10, Ubuntu 20.04] | ||
- Streaming platform? [e.g. twitch.tv, kick.com, youtube.com] | ||
- Proxies from webshare.io? [yes, no] | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Logs** | ||
If applicable, post the part of the cvamp.log, that refers to the problem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
blank_issues_enabled: true | ||
|
||
contact_links: | ||
- name: Start a Feature Request | ||
url: https://github.com/KevinBytesTheDust/cvamp/discussions/new?category=general | ||
about: | | ||
Ask for features you would like to see. | ||
- name: Ask a Question | ||
url: https://github.com/KevinBytesTheDust/cvamp/discussions/new?category=q-a | ||
about: | | ||
Receive help from the users and supporters. | ||
- name: Start a General Discussion | ||
url: https://github.com/KevinBytesTheDust/cvamp/discussions/new?category=general | ||
about: | | ||
Discuss and exchange with other users and supporters. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Build and Test | ||
|
||
on: [pull_request] | ||
|
||
env: | ||
PLAYWRIGHT_BROWSERS_PATH: 0 | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04] | ||
python-version: [3.11] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
name: Build ${{ matrix.os }} executable | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install poetry | ||
run: pip install poetry | ||
- name: Get packages via poetry | ||
run: poetry install | ||
|
||
- name: Get CVAmp version number | ||
uses: SebRollen/[email protected] | ||
id: read_toml | ||
with: | ||
file: 'pyproject.toml' | ||
field: 'tool.poetry.version' | ||
|
||
- name: Create date and file name env variable | ||
shell: bash | ||
run: | | ||
export today=$(date +'%Y%m%d') | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
echo "output_filename=CVAmp${{steps.read_toml.outputs.value}}_${today}_${{runner.os}}-${{runner.arch}}" >> $GITHUB_ENV | ||
else | ||
echo "output_filename=CVAmp${{steps.read_toml.outputs.value}}_${today}_${{runner.os}}-${{runner.arch}}_experimental" >> $GITHUB_ENV | ||
fi | ||
- name: Build executable | ||
shell: bash | ||
run: | | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
poetry run pyinstaller main_gui.py --onefile --add-binary "cvamp_logo.ico;." --add-binary "pyproject.toml;." --icon cvamp_logo.ico --name ${{env.output_filename}} | ||
else | ||
poetry run pyinstaller main_gui.py --onefile --add-binary "cvamp_logo.ico:." --hidden-import=tkinter --add-binary "pyproject.toml:." --icon cvamp_logo.ico --name ${{env.output_filename}}.bin | ||
fi | ||
mv ./proxy/ ./dist/ | ||
- name: Zip executable | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: dist/ | ||
dest: ${{env.output_filename}}.zip | ||
|
||
- name: Upload zipped artifact ${{ matrix.os }} | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{env.output_filename}} | ||
path: ${{env.output_filename}}.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
name: Build and Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
env: | ||
PLAYWRIGHT_BROWSERS_PATH: 0 | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-2022, ubuntu-20.04, macos-12, macos-14] #14 is M1 | ||
python-version: [3.11] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
name: Build ${{ matrix.os }} executable | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install poetry | ||
run: pip install poetry | ||
- name: Get packages via poetry | ||
run: poetry install | ||
|
||
- name: Get CVAmp version number | ||
uses: SebRollen/[email protected] | ||
id: read_toml | ||
with: | ||
file: 'pyproject.toml' | ||
field: 'tool.poetry.version' | ||
|
||
- name: Create date and file name env variable | ||
shell: bash | ||
run: | | ||
export today=$(date +'%Y%m%d') | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
echo "output_filename=CVAmp${{steps.read_toml.outputs.value}}_${today}_${{runner.os}}-${{runner.arch}}" >> $GITHUB_ENV | ||
else | ||
echo "output_filename=CVAmp${{steps.read_toml.outputs.value}}_${today}_${{runner.os}}-${{runner.arch}}_experimental" >> $GITHUB_ENV | ||
fi | ||
- name: Build executable | ||
shell: bash | ||
run: | | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
poetry run pyinstaller main_gui.py --onefile --add-binary "cvamp_logo.ico;." --add-binary "pyproject.toml;." --icon cvamp_logo.ico --name ${{env.output_filename}} | ||
else | ||
poetry run pyinstaller main_gui.py --onefile --add-binary "cvamp_logo.ico:." --hidden-import=tkinter --add-binary "pyproject.toml:." --icon cvamp_logo.ico --name ${{env.output_filename}}.bin | ||
fi | ||
mv ./proxy/ ./dist/ | ||
- name: Zip executable | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: dist/ | ||
dest: ${{env.output_filename}}.zip | ||
|
||
- name: Upload zipped artifact ${{ matrix.os }} | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{env.output_filename}} | ||
path: ${{env.output_filename}}.zip | ||
|
||
draft_release: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
|
||
name: Draft one big release | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Download all artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: artifacts | ||
|
||
- name: Create draft release with artifacts | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
name: CVAmp GUI ${{github.ref_name}} | ||
body_path: docs/release_template_text.md | ||
prerelease: false | ||
draft: true | ||
files: artifacts/**/*.zip # glob pattern which will match all zip files in any subdirectory of artifacts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.idea | ||
venv | ||
__pycache__ | ||
development | ||
dist | ||
build | ||
playwright_test.py | ||
main_gui.spec | ||
main.spec | ||
tests | ||
cvamp.log |
Oops, something went wrong.