Skip to content

Commit 840c837

Browse files
authored
Merge pull request #149 from entrylabs/develop
Develop to Master
2 parents e699043 + e1f4ae6 commit 840c837

File tree

7 files changed

+18
-5
lines changed

7 files changed

+18
-5
lines changed

src/main/ipcMainHelper.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ new (class {
174174
// 기본 이미지 및 사운드인 경우 상대경로이므로 기준 위치 수정
175175
if (typedPath.startsWith('renderer')) {
176176
typedPath = path.resolve(app.getAppPath(), 'src', typedPath);
177+
}else if(typedPath.startsWith('../../..')){
178+
typedPath = typedPath.replace('../../../', '');
179+
typedPath = path.resolve(app.getAppPath(), typedPath);
177180
}
178181
} else {
179182
switch (type) {

src/renderer/helper/ipcRendererHelper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export default class {
3939
}
4040

4141
static tempResourceDownload(entryObject: IEntry.Object, type: string, targetFilePath: string) {
42-
ipcInvoke('tempResourceDownload', entryObject, type, targetFilePath);
42+
const convertObject = { fileurl: entryObject.fileurl, filename: entryObject.name };
43+
ipcInvoke('tempResourceDownload', convertObject, type, targetFilePath);
4344
}
4445

4546
static writeFile(data: any, filePath: string) {

src/renderer/resources/lang/en.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6839,7 +6839,9 @@
68396839
"play_my_project": "Let's play what you've created.",
68406840
"goal_project": "Explore Goal Project",
68416841
"look_target_project": "Let's take a look at what you're going to do with the project.",
6842-
"ai_learning_login_required": "Training model is not available \nwhen logged out."
6842+
"ai_learning_login_required": "Training model is not available \nwhen logged out.",
6843+
"bring_forward": "Bring Forward",
6844+
"send_backward": "Send Backward"
68436845
},
68446846
"code": "view code",
68456847
"EntryStatic": {

src/renderer/resources/lang/jp.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6847,7 +6847,9 @@
68476847
"play_my_project": "作った作品を実行してみましょう。",
68486848
"goal_project": "目標作品をよく見る",
68496849
"look_target_project": "作品を実行して何を作るのかよく見てみましょう。",
6850-
"ai_learning_login_required": "ログアウト状態ではモデル学習機能を\n使用することはできません。"
6850+
"ai_learning_login_required": "ログアウト状態ではモデル学習機能を\n使用することはできません。",
6851+
"bring_forward": "上に移す",
6852+
"send_backward": "下に移す"
68516853
},
68526854
"code": "コードを見る",
68536855
"EntryStatic": {

src/renderer/resources/lang/ko.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,9 @@
18251825
"play_my_project": "만든 작품을 실행해봅시다.",
18261826
"goal_project": "목표작품 살펴보기",
18271827
"look_target_project": "작품을 실행하며 무엇을 만들지 살펴봅시다.",
1828-
"ai_learning_login_required": "모델 학습 기능을 사용하시려면 \n로그인이 필요합니다."
1828+
"ai_learning_login_required": "모델 학습 기능을 사용하시려면 \n로그인이 필요합니다.",
1829+
"bring_forward": "위로 옮기기",
1830+
"send_backward": "아래로 옮기기"
18291831
},
18301832
"code": "코드보기",
18311833
"EntryStatic": {

src/renderer/resources/lang/vn.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6838,7 +6838,9 @@
68386838
"play_my_project": "Let's play what you've created.",
68396839
"goal_project": "Explore Goal Project",
68406840
"look_target_project": "Let's take a look at what you're going to do with the project.",
6841-
"ai_learning_login_required": "Training model is not available \nwhen logged out."
6841+
"ai_learning_login_required": "Training model is not available \nwhen logged out.",
6842+
"bring_forward": "Bring Forward",
6843+
"send_backward": "Send Backward"
68426844
},
68436845
"code": "view code",
68446846
"EntryStatic": {

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ declare module IEntry {
142142
script?: any;
143143
objectType: string;
144144
entity?: EntityObject;
145+
fileurl?: string;
145146
// sprite: {
146147
// name: string;
147148
// pictures: Picture[];

0 commit comments

Comments
 (0)