Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fe45a50
Rename .java to .kt
wilinz Oct 31, 2024
cbbe2de
1. 将 frp 内核升级到 v0.61.0,使用最新 toml 配置文件
wilinz Oct 31, 2024
b5509f1
移除本地 go 代码,使用独立仓库,便于同步上游代码
wilinz Oct 31, 2024
9259079
更新文档
wilinz Oct 31, 2024
37ec50d
从版本控制删除二进制输出
wilinz Oct 31, 2024
468f4b8
update README.md
wilinz Oct 31, 2024
a64275f
update README.md
wilinz Oct 31, 2024
9363d33
处理通知权限
wilinz Oct 31, 2024
04c80f2
提取字符串资源
wilinz Oct 31, 2024
db896a3
update README.md
wilinz Oct 31, 2024
2fa2209
update README.md
wilinz Oct 31, 2024
34af1aa
update README.md
wilinz Oct 31, 2024
72c4914
update README.md
wilinz Oct 31, 2024
dbd7684
update aar
wilinz Oct 31, 2024
ccfea69
fix error: xmlns app namespace
wilinz Oct 31, 2024
387ea01
update version
wilinz Oct 31, 2024
fca1fe3
Update README.md
wilinz Oct 31, 2024
e14c74e
split abi
wilinz Oct 31, 2024
75e4e49
Merge remote-tracking branch 'origin/master'
wilinz Oct 31, 2024
e608973
split abi
wilinz Oct 31, 2024
99d629b
update assets
wilinz Oct 31, 2024
e9d6d4b
update gradle enable universalApk
wilinz Oct 31, 2024
e6c72fd
update readme.md
wilinz Oct 31, 2024
762e516
Update README.md
wilinz Oct 31, 2024
438e9a7
update readme.md
wilinz Oct 31, 2024
d937f1e
update readme.md
wilinz Oct 31, 2024
92adfe8
修改 debug 包名允许两者共存
wilinz Oct 31, 2024
34aaabb
修改 debug 包名和app名允许两者共存
wilinz Oct 31, 2024
c5e3546
修复代码打错
wilinz Oct 31, 2024
a48ed8b
更新 frpclib
wilinz Oct 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
61 changes: 61 additions & 0 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# secrets:
# ANDROID_KEY_BASE64
# ANDROID_KS_PASS
# ANDROID_KEY_ALIAS

name: Android Release

on:
workflow_dispatch:
push:
tags:
- '*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'microsoft'
cache: gradle

- name: Build with Gradle
run: chmod +x gradlew && ./gradlew app:assemble

- name: Key base64 to file
uses: timheuer/base64-to-file@v1.2
with:
fileName: 'android_key.jks'
fileDir: '/tmp/.android_key/'
encodedString: ${{ secrets.ANDROID_KEY_BASE64 }}

- name: Install apksigner
run: sudo apt install apksigner

- name: Sign APK
env:
ANDROID_KS_PASS: ${{ secrets.ANDROID_KS_PASS }}
run: |
for file in app/build/outputs/apk/release/*.apk; do
filename="${file##*/}"
echo "Signing ${filename}"
apksigner sign --v4-signing-enabled false --ks /tmp/.android_key/android_key.jks --ks-pass env:ANDROID_KS_PASS --ks-key-alias ${{ secrets.ANDROID_KEY_ALIAS }} ${file}
done

# - name: Upload APK to artifact
# uses: actions/upload-artifact@v3
# with:
# name: app-release.apk
# path: app/build/outputs/apk/release/*.apk

- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: app/build/outputs/apk/release/*.apk

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/captures
.externalNativeBuild
.cxx
/app/release/
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading