fix: 权限问题

This commit is contained in:
msojocs 2022-02-28 09:59:52 +08:00
parent 0ba6ca15fe
commit f521040947
3 changed files with 1 additions and 1 deletions

0
compiler/nodejs/wcc Normal file → Executable file
View File

0
compiler/nodejs/wcsc Normal file → Executable file
View File

View File

@ -37,7 +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
cd "${package_dir}/js/vendor" && chmod 0755 wcc wcsc wcc.bin wcsc.bin
node "${package_dir}/js/vendor/generatemd5.js"
current=`date "+%Y-%m-%d %H:%M:%S"`