1.0.0 #2
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
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 |