This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set task=programname | |
set srv=z:/path/programname.exe | |
set srv_dir=z:/path | |
set pwd=%CD% | |
:CHECK | |
for /f "tokens=5" %%n in ('qprocess.exe ^| find "%task%"') do ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drawQr: function(content) { | |
var that = this, | |
scale = 750/500, | |
w = this.sysinfo.windowWidth / scale; | |
qr.api.draw(content, "qrcode", w, w, function (ctx) { | |
setTimeout(function () { | |
wx.canvasToTempFilePath({ | |
canvasId: ctx.canvasId, | |
success: res => { | |
that.setData({ |