Skip to content

Commit

Permalink
1.6.7 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
kimorkim committed Apr 30, 2018
1 parent 08cfb9d commit 2c47c1b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/entryx64.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
!define MUI_UNICON "icon.ico"
!define PRODUCT_NAME "Entry"
!define APP_NAME "Entry.exe"
!define PRODUCT_VERSION "1.6.6"
!define PRODUCT_VERSION "1.6.7"
!define PRODUCT_PUBLISHER "EntryLabs"
!define PRODUCT_WEB_SITE "http://www.playentry.org/"

Expand Down
2 changes: 1 addition & 1 deletion build/entryx86.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
!define MUI_UNICON "icon.ico"
!define PRODUCT_NAME "Entry"
!define APP_NAME "Entry.exe"
!define PRODUCT_VERSION "1.6.6"
!define PRODUCT_VERSION "1.6.7"
!define PRODUCT_PUBLISHER "EntryLabs"
!define PRODUCT_WEB_SITE "http://www.playentry.org/"

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "entry",
"productName": "Entry",
"main": "src/entry_offline.js",
"version": "1.6.6",
"version": "1.6.7",
"config": {
"forge": "./forge.config.js"
},
Expand Down
5 changes: 5 additions & 0 deletions src/entry_offline.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { addBypassChecker, init } from 'electron-compile';
const packageJson = require('../package.json');

let hostURI = 'playentry.org';
let hostProtocol = 'https:';
const bypassList = ['.png', '.jpg', '.mp3', '.wav', '.gif'];
addBypassChecker((filePath) => {
const { ext = '' } = path.parse(filePath);
Expand Down Expand Up @@ -78,6 +79,9 @@ for (var i = 0; i < argv.length; i++) {
} else if (argv[i].match(/^--host=/) || argv[i].match(/^-h=/)) {
hostURI = argv[i].split('=')[1];
continue;
} else if (argv[i].match(/^--protocol=/) || argv[i].match(/^-p=/)) {
hostProtocol = argv[i].split('=')[1];
continue;
} else if (argv[i][0] == '-') {
continue;
} else {
Expand Down Expand Up @@ -330,6 +334,7 @@ if (shouldQuit) {
const request = net.request({
method: 'POST',
host: hostURI,
protocol: hostProtocol,
path: '/api/checkVersion',
});
let body = '';
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/block_converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function processBlock (block, thread) {
parsedBlock.x ? parsedBlock.x = Number(parsedBlock.x) : 0;
parsedBlock.y ? parsedBlock.y = Number(parsedBlock.y) : 0;

var keyMap = entry.block[parsedBlock.type].paramsKeyMap;
var keyMap = Entry.block[parsedBlock.type].paramsKeyMap;

var blockValues = [];
var fields = block.field;
Expand Down

0 comments on commit 2c47c1b

Please sign in to comment.