Skip to content

Commit

Permalink
圧縮解凍命令でWindows版のbinフォルダを読むように修正。 #269
Browse files Browse the repository at this point in the history
  • Loading branch information
kujirahand committed Mar 2, 2018
1 parent df0bd7e commit e84a10c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nadesiko3",
"version": "3.0.34",
"version": "3.0.35",
"description": "Japanese Programming Language",
"main": "src/index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/plugin_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const PluginNode = {
if (process.platform === 'win32') {
const nodeDir = path.dirname(process.argv[0])
const root = path.resolve(path.join(nodeDir, '..'))
fpath = path.join(root, 'bin', tool)
if (fileExists(fpath)) return fpath
fpath = path.join(root, 'bin', tool + '.exe')
if (fileExists(fpath)) return `"${fpath}"`
fpath = tool
}
return fpath
Expand Down
2 changes: 1 addition & 1 deletion src/plugin_system.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const PluginSystem = {
type: 'func',
josi: [],
fn: function (sys) {
sys.__varslist[0]['ナデシコバージョン'] = '3.0.34'
sys.__varslist[0]['ナデシコバージョン'] = '3.0.35'
// システム関数を探す
sys.__getSysValue = function (name, def) {
if (sys.__varslist[0][name] === undefined) return def
Expand Down

0 comments on commit e84a10c

Please sign in to comment.