From 8c5e89853d6a7ac5702c9c90a67a2a0a2648ac87 Mon Sep 17 00:00:00 2001 From: ocogeclub Date: Sun, 23 Jan 2022 22:08:42 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20aquestalkpi=20=E3=81=8C=E7=89=B9?= =?UTF-8?q?=E5=AE=9A=E3=81=AE=E6=9D=A1=E4=BB=B6=E3=81=A7=E5=8B=95=E4=BD=9C?= =?UTF-8?q?=E3=81=97=E3=81=AA=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ugj_blocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ugj_blocks.js b/ugj_blocks.js index ac0cb0b..f36e7dd 100644 --- a/ugj_blocks.js +++ b/ugj_blocks.js @@ -2837,7 +2837,7 @@ Blockly.Blocks['aquestalk_pi'] = { }; Blockly.JavaScript['aquestalk_pi'] = function (block) { var value_talk = Blockly.JavaScript.valueToCode(block, 'talk', Blockly.JavaScript.ORDER_ATOMIC); - var code = `"${elutil.path.join(elutil.executable_path, 'aquestalkpi/AquesTalkPi') + ' -g 50 ' + value_talk + ' | aplay'}", { shell: true }`; + var code = `'${elutil.path.join(elutil.executable_path, 'aquestalkpi/AquesTalkPi')} -g 50 ' + ${value_talk} + ' | aplay', { shell: true }`; return [code, Blockly.JavaScript.ORDER_NONE]; };