diff options
author | msojocs | 2022-02-27 20:25:58 +0800 |
---|---|---|
committer | msojocs | 2022-02-27 20:25:58 +0800 |
commit | 42deebaf8b0600767a4d811145cda96dca9dff09 (patch) | |
tree | d310b4a46702c0c8c6d9d23196c24ae5325eb033 | |
parent | 01d5045bf9670428550b83927c364b4d00bca2c9 (diff) | |
download | aur-42deebaf8b0600767a4d811145cda96dca9dff09.tar.gz |
fix: 权限问题
-rwxr-xr-x | fix-other.sh | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | fix-package-name.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | rebuild-node-modules.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | wxvpkg_pack.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | wxvpkg_unpack.js | 1 |
5 files changed, 2 insertions, 0 deletions
diff --git a/fix-other.sh b/fix-other.sh index 30b8d722ec16..4d78175786d8 100755 --- a/fix-other.sh +++ b/fix-other.sh @@ -37,6 +37,7 @@ if [[ $NO_WINE == 'true' ]];then \cp -rf "${srcdir}/compiler/nodejs/wcsc" "${package_dir}/js/vendor/wcsc" \cp -rf "${tmp_dir}/node_modules/miniprogram-compiler/bin/linux/wcc" "${package_dir}/js/vendor/wcc.bin" \cp -rf "${tmp_dir}/node_modules/miniprogram-compiler/bin/linux/wcsc" "${package_dir}/js/vendor/wcsc.bin" + cd "${package_dir}/js/vendor" && chmod 0755 wcc.bin wcsc.bin node "${package_dir}/js/vendor/generatemd5.js" current=`date "+%Y-%m-%d %H:%M:%S"` diff --git a/fix-package-name.js b/fix-package-name.js index e71c681eb21b..e71c681eb21b 100644..100755 --- a/fix-package-name.js +++ b/fix-package-name.js diff --git a/rebuild-node-modules.sh b/rebuild-node-modules.sh index b205c26935c8..b205c26935c8 100644..100755 --- a/rebuild-node-modules.sh +++ b/rebuild-node-modules.sh diff --git a/wxvpkg_pack.js b/wxvpkg_pack.js index 6918c5269eaa..6918c5269eaa 100644..100755 --- a/wxvpkg_pack.js +++ b/wxvpkg_pack.js diff --git a/wxvpkg_unpack.js b/wxvpkg_unpack.js index 14c46a56186f..561a86e4fdd2 100644..100755 --- a/wxvpkg_unpack.js +++ b/wxvpkg_unpack.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node // Extract core.wxvpkg of current folder to dest folder const path = require('path') const fs = require('fs') |