Skip to content

Commit

Permalink
Merge pull request #36 from powerAn2020/dev
Browse files Browse the repository at this point in the history
合并代码
  • Loading branch information
powerAn2020 authored Dec 6, 2024
2 parents 8bed141 + 26ceb68 commit 4a7bfe5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
cp -rf zerotier-one ../zerotier-one-arm64
- name: Build Zerotier for arm
if: ${{ env.SKIP_NEXT != 'true' }}
run: |
export PATH="$PWD/toolchain/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf/bin/:${PATH}"
cd ZeroTierOne_ARM
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
cp -rf zerotier-one ../zerotier-one-arm64
- name: Build Zerotier for arm
if: ${{ env.SKIP_NEXT != 'true' }}
run: |
export PATH="$PWD/toolchain/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf/bin/:${PATH}"
cd ZeroTierOne_ARM
Expand Down
2 changes: 1 addition & 1 deletion ui-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"patch-package": "^8.0.0",
"unplugin-auto-import": "^0.18.3",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.8"
"vite": "^6.0.1"
}
}
4 changes: 2 additions & 2 deletions ui-src/src/tools.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exec, spawn,moduleInfo } from 'kernelsu';
import { exec, spawn } from 'kernelsu';
import {Buffer} from 'buffer'
export const MODDIR = '/data/adb/modules/ZeroTierForKSU'
export const ZTPATH = '/data/adb/zerotier'
Expand All @@ -14,7 +14,7 @@ export const execCmd = async (cmd) => {
console.error(stderr)
}
}
console.info(moduleInfo())
// console.info(moduleInfo())
export const execCmdWithErrno = async (cmd) => {
console.info(cmd)
const { errno, stdout, stderr} = await exec(cmd, { cwd: '/' });
Expand Down

0 comments on commit 4a7bfe5

Please sign in to comment.