Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nini22P authored Dec 9, 2023
1 parent 5c9c47d commit b41cbfa
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
# WebGAL Android
[![example workflow](https://github.com/nini22p/WebGAL-Android/actions/workflows/android.yml/badge.svg)](https://github.com/nini22P/WebGAL-Android/actions)
[![example workflow](https://github.com/OpenWebGAL/WebGAL-Android/actions/workflows/android.yml/badge.svg)](https://github.com/OpenWebGAL/WebGAL-Android/actions)

一个将 WebGAL 游戏打包到安卓平台的简易模板
A simple template for packaging WebGAL games to Android platform

本模板使用的图标来自:[MakinoharaShoko/WebGAL](https://github.com/MakinoharaShoko/WebGAL)
The icons used in this template are from: [MakinoharaShoko/WebGAL](https://github.com/MakinoharaShoko/WebGAL)

## 如何打包 WebGAL 游戏
## 如何编译

* 安装 [android studio](https://developer.android.com/studio) 并导入本项目
* 将游戏移动到 `app\src\main\assets\webgal`。默认加载 `app\src\main\assets\webgal\index.html`,如有需要自定义加载链接请修改 `app\src\main\res\values\values.xml` 文件里面的 `load_url` 字段
* 更改包名以及游戏名和图标
* 点击菜单栏 `Build` -> `Generate Signed Bundle or APK` 构建 apk

## How to package WebGAL games
## How to build

* Install [android studio](https://developer.android.com/studio) and import this project
* Move the game to `app\src\main\assets\webgal`. Load `app\src\main\assets\webgal\index.html` by default, if you need to customize the load link, please modify the `load_url` field inside the `app\src\main\res\values\values.xml` file
Expand Down

0 comments on commit b41cbfa

Please sign in to comment.