fix: 色彩饱和度+10% (品牌+5维度+功能色)+微信登录按钮全宽+图标
This commit is contained in:
+15
-14
@@ -1,33 +1,34 @@
|
||||
const ci = require('miniprogram-ci');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
|
||||
(async () => {
|
||||
const version = process.argv[2] || '1.0.0';
|
||||
const desc = process.argv[3] || 'default';
|
||||
const projectPath = path.resolve(__dirname, '../client/dist/build/mp-weixin');
|
||||
|
||||
const project = new ci.Project({
|
||||
appid: 'wxdad62baf4ccd09e3',
|
||||
type: 'miniProgram',
|
||||
projectPath: path.resolve(__dirname, '../client/dist/build/mp-weixin'),
|
||||
privateKeyPath: path.resolve('/root/Hermes-workspace/宇之然AI维度appid/private.wxdad62baf4ccd09e3.key'),
|
||||
projectPath,
|
||||
privateKeyPath: '/root/Hermes-workspace/宇之然AI维度appid/private.wxdad62baf4ccd09e3.key',
|
||||
ignores: ['node_modules/**/*'],
|
||||
});
|
||||
|
||||
const version = process.argv[2] || '1.0.0';
|
||||
const desc = process.argv[3] || 'default';
|
||||
console.log('START_UPLOAD');
|
||||
console.log('version=' + version + ' desc=' + desc);
|
||||
|
||||
console.log('→ 正在上传微信小程序...');
|
||||
const uploadResult = await ci.upload({
|
||||
project,
|
||||
version,
|
||||
desc,
|
||||
setting: {
|
||||
es6: true,
|
||||
es7: true,
|
||||
minify: true,
|
||||
autoPrefixWXSS: true,
|
||||
},
|
||||
onProgressUpdate: console.log,
|
||||
setting: { es6: true, es7: true, minify: true, autoPrefixWXSS: true },
|
||||
});
|
||||
console.log('✅ 上传成功!', uploadResult);
|
||||
|
||||
const resultStr = JSON.stringify(uploadResult);
|
||||
fs.writeFileSync('/tmp/upload-result.json', resultStr);
|
||||
console.log('SUCCESS:' + resultStr);
|
||||
})().catch(err => {
|
||||
console.error('❌ 上传失败:', err);
|
||||
console.log('ERROR:' + err.message);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in New Issue
Block a user