-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
注意:本版本同时提供 iOS 端 ipa 包,你需要自行进行开发者签名或使用 AltStore 等工具安装。 ✨ Stapxs QQ Lite 移动端支持:iOS 🎨 Electron:缩短 log 链接 🎨 Touch Bar 功能完善 🐛 修正缩放过大无法恢复的问题 <- #142 🐛 修正了一处意外遮挡 <- #143 🐛 修正了纯文本资源加载异常的问题 <- #145 🐛 修正了表情资源无法正常显示的问题 <- #145 🐛 修正 mac 下 700px 宽度 chatPan 行为异常的 🐛 修正会话列表刷新工作异常的问题
- Loading branch information
Showing
156 changed files
with
4,118 additions
and
285 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export PYTHON_PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/python | ||
export CAPACITOR_ANDROID_STUDIO_PATH='/Users/stapxs/Applications/Android Studio.app' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
node_modules | ||
dist | ||
dist_electron | ||
dist_capacitor | ||
out | ||
.gitignore | ||
|
||
src/renderer/public | ||
src/renderer/src/assets | ||
src/mobile | ||
|
||
# 这个目录是个单独的项目,有自己的 eslint 配置 | ||
ssqq.capacitor-onebot-connector |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# 在主分支上构建 | ||
name: build | ||
name: build-app | ||
on: | ||
push: # push 触发 | ||
branches: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# 在主分支上构建 | ||
name: lint | ||
on: | ||
pull_request: # PR 触发 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ out | |
dev-dist | ||
dist | ||
dist_electron | ||
dist_capacitor | ||
stats.html |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
rm -r dist_capacitor | ||
|
||
xcodebuild clean build \ | ||
-workspace src/mobile/ios/App/App.xcworkspace \ | ||
-scheme App \ | ||
-archivePath dist_capacitor/App.xcarchive \ | ||
-sdk iphoneos \ | ||
CODE_SIGNING_ALLOWED=NO \ | ||
CODE_SIGNING_REQUIRED=NO \ | ||
CODE_SIGN_IDENTITY="" archive | ||
|
||
xcodebuild -exportArchive \ | ||
-archivePath dist_capacitor/App.xcarchive \ | ||
-exportPath dist_capacitor \ | ||
-exportOptionsPlist build/ExportOptions.plist \ | ||
CODE_SIGNING_ALLOWED=NO \ | ||
CODE_SIGNING_REQUIRED=NO \ | ||
CODE_SIGN_IDENTITY="" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>method</key> | ||
<string>development</string> | ||
<key>signingStyle</key> | ||
<string>manual</string> | ||
<key>provisioningProfiles</key> | ||
<dict/> | ||
<key>signingCertificate</key> | ||
<string></string> | ||
<key>teamID</key> | ||
<string>LZ4NKVK3NY</string> | ||
<key>compileBitcode</key> | ||
<false/> | ||
</dict> | ||
</plist> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type { CapacitorConfig } from '@capacitor/cli' | ||
|
||
const config: CapacitorConfig = { | ||
appId: 'cn.stapxs.webqq', | ||
appName: 'Stapxs QQ Lite', | ||
webDir: 'dist', | ||
loggingBehavior: 'none', | ||
ios: { | ||
path: 'src/mobile/ios' | ||
}, | ||
android: { | ||
path: 'src/mobile/android' | ||
}, | ||
// server: { | ||
// url: 'http://localhost:8080', | ||
// cleartext: true | ||
// } | ||
} | ||
|
||
export default config |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export interface NotifyInfo { | ||
base_type: string, | ||
|
||
title: string | ||
body: string | ||
tag: string | ||
icon: string | ||
image?: string | ||
type: string | ||
is_important: boolean | ||
} |
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
Oops, something went wrong.