Skip to content

Commit ff9bf6d

Browse files
committed
Change package name
1 parent 2f2946d commit ff9bf6d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ The icons used in this template are from: [MakinoharaShoko/WebGAL](https://githu
1313
* 更改包名以及游戏名和图标
1414
* 点击菜单栏 `Build` -> `Generate Signed Bundle or APK` 构建 apk
1515

16-
## How to package the game
16+
## How to build the game
1717

1818
* Install [android studio](https://developer.android.com/studio) and import this project
1919
* 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
2020
* Change the package name and the game name and icon
2121
* Click `Build` -> `Generate Signed Bundle or APK` in the menu bar to build the apk
2222

23-
### 详细步骤 / Detailed steps (Chinese only at the moment)
23+
### 更多信息 / More Info (Chinese only at the moment)
2424

25-
[打包 WebGAL 游戏到 Android 平台](https://nini22p.github.io/post/webgal-for-android/)
25+
[打包 WebGAL 游戏到 android 平台](https://docs.openwebgal.com/guide/android.html)

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ plugins {
44
}
55

66
android {
7-
namespace 'io.github.nini22p.webgal'
7+
namespace 'com.openwebgal.demo'
88
compileSdk 33
99

1010
defaultConfig {
11-
applicationId "io.github.nini22p.webgal"
11+
applicationId "com.openwebgal.demo"
1212
minSdk 21
1313
targetSdk 33
1414
versionCode 1

app/src/main/java/io/github/nini22p/webgal/MainActivity.kt renamed to app/src/main/java/com/openwebgal/demo/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.github.nini22p.webgal
1+
package com.openwebgal.demo
22

33
import android.annotation.SuppressLint
44
import android.app.Activity

0 commit comments

Comments
 (0)