Skip to content

Commit 892e0c9

Browse files
authored
Merge pull request #180 from entrylabs/develop
2.1.3 버전업
2 parents 82d3363 + 5ce90b9 commit 892e0c9

File tree

6 files changed

+42
-14
lines changed

6 files changed

+42
-14
lines changed

build/entryx64.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
!define MUI_UNICON "icon.ico"
1414
!define PRODUCT_NAME "Entry"
1515
!define APP_NAME "Entry.exe"
16-
!define PRODUCT_VERSION "2.1.2"
16+
!define PRODUCT_VERSION "2.1.3"
1717
!define PRODUCT_PUBLISHER "EntryLabs"
1818
!define PRODUCT_WEB_SITE "http://www.playentry.org/"
1919

build/entryx86.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
!define MUI_UNICON "icon.ico"
1414
!define PRODUCT_NAME "Entry"
1515
!define APP_NAME "Entry.exe"
16-
!define PRODUCT_VERSION "2.1.2"
16+
!define PRODUCT_VERSION "2.1.3"
1717
!define PRODUCT_PUBLISHER "EntryLabs"
1818
!define PRODUCT_WEB_SITE "http://www.playentry.org/"
1919

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"productName": "Entry",
44
"name": "entry",
5-
"version": "2.1.2",
5+
"version": "2.1.3",
66
"description": "Entry for offline",
77
"main": "src/main_build/main.bundle.js",
88
"scripts": {
@@ -36,8 +36,8 @@
3636
"async-csv": "^2.1.3",
3737
"axios": "^0.19.2",
3838
"cross-spawn": "^7.0.3",
39-
"entry-hw": "git+https://github.com/entrylabs/entry-hw.git#dist/v1.9.39_3",
40-
"entry-js": "git+https://github.com/entrylabs/entryjs.git#dist/offline_v2.1.2",
39+
"entry-hw": "git+https://github.com/entrylabs/entry-hw.git#dist/v1.9.40",
40+
"entry-js": "git+https://github.com/entrylabs/entryjs.git#dist/offline_v2.1.3",
4141
"entry-tool": "git+https://github.com/entrylabs/entry-tool.git#dist/20221024",
4242
"excel4node": "^1.7.0",
4343
"fs-extra": "^8.1.0",

src/main/constants.ts

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,19 @@ export default class {
1111
result = result
1212
.replace('./bower_components', '../../../node_modules')
1313
.replace('entryjs', 'entry-js'); // 과거 웹 WS 대응
14+
} else if (result.startsWith('/lib')) { // 신규 웹 기본 오브젝트 대응
15+
result = result.replace('/lib', '../../../node_modules');
1416
} else if (result.indexOf('temp') > -1) { // 일반 오브젝트 대응
1517
result = result.substring(result.indexOf('temp'));
1618
result = path.join(this.appPath, result)
1719
.replace(/\\/gi, '/');
1820
}
1921

20-
if (fileUrl.endsWith('.svg')) {
21-
// svg 파일의 경우 png 파일로 교체한다.
22-
result = result.replace('.svg', '.png');
23-
}
22+
// TODO: 히스토리 파악 후 완전 제거
23+
// if (fileUrl.endsWith('.svg')) {
24+
// // svg 파일의 경우 png 파일로 교체한다.
25+
// result = result.replace('.svg', '.png');
26+
// }
2427

2528
result = result.replace(/.*\/\//, ''); // 외부 접속 프로토콜 스키마 보안 대응
2629
return result;
@@ -72,6 +75,27 @@ export default class {
7275
'./bower_components/entryjs/images/media/entrybot2.png',
7376
'./bower_components/entry-js/images/_1x1.png',
7477
'./bower_components/entryjs/images/_1x1.png',
78+
79+
'./bower_components/entry-js/images/media/entrybot1.svg',
80+
'./bower_components/entryjs/images/media/entrybot1.svg',
81+
'./bower_components/entry-js/images/media/entrybot2.svg',
82+
'./bower_components/entryjs/images/media/entrybot2.svg',
83+
'./bower_components/entry-js/images/_1x1.svg',
84+
'./bower_components/entryjs/images/_1x1.svg',
85+
86+
'./lib/entry-js/images/media/entrybot1.png',
87+
'./lib/entryjs/images/media/entrybot1.png',
88+
'./lib/entry-js/images/media/entrybot2.png',
89+
'./lib/entryjs/images/media/entrybot2.png',
90+
'./lib/entry-js/images/_1x1.png',
91+
'./lib/entryjs/images/_1x1.png',
92+
93+
'./lib/entry-js/images/media/entrybot1.svg',
94+
'./lib/entryjs/images/media/entrybot1.svg',
95+
'./lib/entry-js/images/media/entrybot2.svg',
96+
'./lib/entryjs/images/media/entrybot2.svg',
97+
'./lib/entry-js/images/_1x1.svg',
98+
'./lib/entryjs/images/_1x1.svg',
7599
];
76100
}
77101

src/renderer/resources/lang/ko.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,10 @@
14091409
"hw_connection_success_desc": "하드웨어 아이콘을 더블클릭하면, 센서값만 확인할 수 있습니다.",
14101410
"hw_connection_success_desc2": "하드웨어와 정상적으로 연결되었습니다.",
14111411
"parameter_can_not_space": "값 블록은 빈 칸이 될 수 없습니다.",
1412+
"hw_connection_termination_title": "하드웨어 연결 해제",
1413+
"hw_connection_termination_desc": "하드웨어와 연결이 해제되었습니다.",
1414+
"hw_connection_failed_title": "하드웨어 연결 실패",
1415+
"hw_connection_failed_desc": "작품에서 사용된 하드웨어가\n연결되어 있는지 확인해 주세요.",
14121416
"ai_utilize_train_pop_error": "작품에 적용된 모델이 비활성화 또는 삭제되었습니다.",
14131417
"list_can_not_space": "리스트의 이름은 빈 칸이 될 수 없습니다.",
14141418
"sign_can_not_space": "신호의 이름은 빈 칸이 될 수 없습니다.",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3393,9 +3393,9 @@ enquirer@^2.3.5:
33933393
dependencies:
33943394
crypto-js "^4.0.0"
33953395

3396-
"entry-hw@git+https://github.com/entrylabs/entry-hw.git#dist/v1.9.39_3":
3397-
version "1.9.39"
3398-
resolved "git+https://github.com/entrylabs/entry-hw.git#78808975e4a4d5d45dc26f2b81ede5af925e24eb"
3396+
"entry-hw@git+https://github.com/entrylabs/entry-hw.git#dist/v1.9.40":
3397+
version "1.9.40"
3398+
resolved "git+https://github.com/entrylabs/entry-hw.git#86d6526357e94610a1898c79158775d9e8145ac4"
33993399
dependencies:
34003400
cross-spawn "^7.0.0"
34013401
fs-extra "^8.1.0"
@@ -3410,9 +3410,9 @@ enquirer@^2.3.5:
34103410
winston "^3.2.1"
34113411
winston-daily-rotate-file "^4.4.2"
34123412

3413-
"entry-js@git+https://github.com/entrylabs/entryjs.git#dist/offline_v2.1.2":
3413+
"entry-js@git+https://github.com/entrylabs/entryjs.git#dist/offline_v2.1.3":
34143414
version "0.0.0"
3415-
resolved "git+https://github.com/entrylabs/entryjs.git#8dd80bc0a615edbcb130d13b8ac85b266c1760ac"
3415+
resolved "git+https://github.com/entrylabs/entryjs.git#f70baff8c0f4b735050eccb20a122a0b44a2eab7"
34163416

34173417
"entry-tool@git+https://github.com/entrylabs/entry-tool.git#dist/20221024":
34183418
version "0.0.0"

0 commit comments

Comments
 (0)