Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ellyxxvi committed Sep 19, 2023
2 parents 91d7924 + 62ff1d0 commit 793bc30
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_for_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- name: Checkout code
Expand All @@ -19,15 +19,14 @@ jobs:
python-version: 3.11

- name: Install dependencies
run: pip install pygame pyinstaller
run: pip install pygame pyinstaller Pillow

- name: Compile Python script and move assets
run: |
pyinstaller --name Main --onefile Main.py
mv dist/Main dist/Main.py
pyinstaller Main.py --noconsole --name "Manananggal Flight" --icon "Assets/icon.png" --add-data "Assets;Assets"
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: CompiledFiles
path: dist/
name: ManananggalFlight
path: D:\a\Manananggal-Flight\Manananggal-Flight\build\Manananggal Flight
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to Mananangal Fly
# Contributing to Mananangal Flight: Urban Skies Adventure

Thank you for your interest in contributing to Byahe! We value your effort and aim to make the contribution process straightforward and meaningful.

Expand Down
2 changes: 1 addition & 1 deletion Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def RunGame():
elif event.type == pygame.MOUSEBUTTONDOWN:
mouse_x, mouse_y = pygame.mouse.get_pos()
if logo_x <= mouse_x <= logo_x + logo_width and logo_y <= mouse_y <= logo_y + logo_height:
webbrowser.open('https://github.com/CptZee/Manananggal-Fly')
webbrowser.open('https://github.com/CptZee/Manananggal-Flight')
if not started :
started = True
if not dead :
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Welcome to Mananangal Fly!
# Welcome to Mananangal Flight: Urban Skies Adventure
## Introduction
This is a simple game based on the hit game Flappy Bird. The goal of the game is to simply avoid obstacles.

Expand Down

0 comments on commit 793bc30

Please sign in to comment.