Compare commits

...

5 Commits

Author SHA1 Message Date
KOWX712
8237a5f6fd deps: update workflow 2025-08-28 21:39:07 +08:00
KOWX712
d9c05cb0e8 misc: change crowdin schedule to weekly 2025-08-28 21:36:48 +08:00
KOWX712
c8dbbce80c opt: update kernelsu.js 2025-08-28 21:34:38 +08:00
KOWX712
422d05e97b opt: update color scheme 2025-08-28 21:34:25 +08:00
KOWX712
070f8a7597 misc: update .extra
Signed-off-by: KOWX712 <leecc0503@gmail.com>
2025-08-28 02:06:29 +08:00
5 changed files with 23 additions and 19 deletions

2
.extra

File diff suppressed because one or more lines are too long

View File

@@ -22,7 +22,7 @@ jobs:
version_tag_exists: ${{ steps.check_tag.outputs.version_tag_exists }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
fetch-tags: true
@@ -46,7 +46,7 @@ jobs:
if: github.event_name != 'pull_request'
run: |
# marked.js
curl -Ls https://cdn.jsdelivr.net/npm/marked/marked.min.js > module/webui/scripts/assets/marked.min.js
curl -LSs https://cdn.jsdelivr.net/npm/marked/marked.min.js > module/webui/scripts/assets/marked.min.js || echo "Failed to download marked.min.js"
# OpenSSL
gh release download -R KOWX712/openssl-static-build -p "*.tar.gz" -O openssl.tar.gz
@@ -115,7 +115,7 @@ jobs:
if: ${{ needs.build.outputs.version_tag_exists == 'false' && github.event_name != 'pull_request' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

View File

@@ -6,7 +6,7 @@ on:
paths:
- 'module/webui/locales/strings/*.xml'
schedule:
- cron: '0 0 * * *'
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Crowdin Action
uses: crowdin/github-action@v2

View File

@@ -104,7 +104,7 @@ export function spawn(command, args = [], options = {}) {
ksu.spawn(command, JSON.stringify(args), JSON.stringify(options), callbackName);
} else {
setTimeout(() => {
child.emit("error", "ksu is not defined");
child.stderr.emit("data", "ksu is not defined");
child.emit("exit", 1);
}, 0);
}

View File

@@ -6,36 +6,40 @@
--bottom-inset: var(--window-inset-bottom, 0px);
/* Background colors */
--bg-primary: var(--background, #F5F5F5);
--bg-secondary: var(--tonalSurface, #fff);
--bg-input: var(--surfaceBright, #F5F5F5);
--bg-primary: var(--background, #fbf8ff);
--bg-secondary: var(--tonalSurface, #f3f0f9);
--bg-input: var(--surfaceBright, #fbf8ff);
/* Text colors */
--text-primary: var(--onSurface, #000);
--text-primary: var(--onSurface, #1b1b21);
--text-secondary: var(--onSurfaceVariant, #757575);
/* Border colors */
--border-color: var(--outlineVariant, #ccc);
--border-color: var(--outlineVariant, #c7c5d0);
/* Button colors */
--btn-primary: var(--primary, #007bff);
--btn-primary: var(--primary, #565992);
--btn-primary-text: var(--onPrimary, #fff);
--btn-uninstall: var(--error, #FF3636);
--btn-uninstall: #f26767;
}
@media (prefers-color-scheme: dark) {
:root {
/* Background colors */
--bg-primary: var(--background, #151515);
--bg-secondary: var(--tonalSurface, #292929);
--bg-input: var(--surfaceBright, #1b1b1b);
--bg-primary: var(--background, #131318);
--bg-secondary: var(--tonalSurface, #1c1c24);
--bg-input: var(--surfaceBright, #2c2c30);
/* Text colors */
--text-primary: var(--onSurface, #fff);
--text-primary: var(--onSurface, #e4e1e9);
--text-secondary: var(--onSurfaceVariant, #C2C2C2);
/* Border colors */
--border-color: var(--outlineVariant, #636363);
--border-color: var(--outlineVariant, #46464f);
/* Button colors */
--btn-primary: var(--primary, #bfc2ff);
--btn-primary-text: var(--onPrimary, #272b60);
}
}