diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..b16e86b --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,14 @@ +# These are supported funding model platforms + +github: [KeimaSenpai] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +polar: # Replace with a single Polar username +custom: ['https://qvapay.com/payme/KeimaSenpai'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..8546ed8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: Informe de error +about: Crea un informe para ayudarnos a mejorar +title: '' +labels: '' +assignees: '' + +--- + +**Describe el error** +Una descripción clara y concisa de cuál es el error. + +**Reproducir** +Pasos para reproducir el comportamiento: +1. Ir a '...' +2. Haga clic en '....' +3. Desplácese hacia abajo para '....' +4. Ver error + +**Comportamiento esperado** +Una descripción clara y concisa de lo que esperaba que sucediera. + +**Capturas de pantalla** +Si corresponde, agregue capturas de pantalla para ayudar a explicar su problema. + +**Escritorio (por favor complete la siguiente información):** + - OS: [e.g. Windows, Linux] + - Version [e.g. 22] + +**Contexto adicional** +Agregue aquí cualquier otro contexto sobre el problema. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..90efbf7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: Solicitud de función +about: Sugiere una idea para este proyecto. +title: '' +labels: '' +assignees: '' + +--- + +**¿Su solicitud de función está relacionada con un problema? Por favor describa.** +Una descripción clara y concisa de cuál es el problema. +Ejem. +Versión de Windows 22h2 +Puede mejorar en la rapidez de la app[...] + +**Describe la solución que te gustaría** +Una descripción clara y concisa de lo que quieres que suceda. + +**Describe las alternativas que has considerado** +Una descripción clara y concisa de cualquier solución o característica alternativa que haya considerado. + +**Contexto adicional** +Agregue aquí cualquier otro contexto o capturas de pantalla sobre la solicitud de función. diff --git a/.github/workflows/python-compilado.yml b/.github/workflows/python-compilado.yml new file mode 100644 index 0000000..22c1d64 --- /dev/null +++ b/.github/workflows/python-compilado.yml @@ -0,0 +1,61 @@ +name: Build and Release + +on: + push: + branches: + - main + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.12.2 + uses: actions/setup-python@v2 + with: + python-version: 3.12.2 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Build with pyinstaller + run: | + flet pack main.py --name XLauncher --onedir --add-data "assets;assets" --icon icon_windows.ico --product-name XLauncher --product-version "1.0.0" --copyright "Copyright (c) 2024 XCorporations Inc." + - name: Compress folder + shell: powershell + run: | + Compress-Archive -Path dist/XLauncher -DestinationPath XLauncher-Windows.zip + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + with: + tag_name: v1.0.0 + release_name: XLauncher v1.0.0 + body: | + ## 🚀 Funciones + - Mejorada la interfaz + - Insertar info como Usuario ruta del java y asignar RAM + - Instalar Vanilla, Forge y Fabric + ------ + ## 📑Próximamente + - Login con cuenta Premium + - Versiones para Linux y MACOS + ------ + ## 🐛Se corrigieron los siguientes bugs + - [ ] 'UseConcMarkSweepGC' + + ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/KeimaSenpai/XLauncher-ui/total?style=for-the-badge&label=Download&color=%23756AB6) + draft: false + prerelease: false + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./XLauncher-Windows.zip + asset_name: XLauncher-Windows.zip + asset_content_type: application/zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e6daa5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,153 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +envXLauncher/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..874f671 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "python.analysis.typeCheckingMode": "basic", + "python.analysis.extraPaths": [ + "./minecraft-launcher" + ] +} \ No newline at end of file