Skip to content

Commit

Permalink
1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gramedcart committed Mar 16, 2022
1 parent d113256 commit 56ab855
Show file tree
Hide file tree
Showing 3 changed files with 8 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": "pixelmvtrans",
"version": "1.1.1",
"version": "1.3.0",
"private": true,
"author": "gramedcart",
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion src/lib/projectBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ export async function initProject(sourceDir:string, gameDir:string){
console.log(projectDir)
await decrypt(tempStorage)
globalThis.sourceDir = sourceDir
if(!fs.existsSync(tempProject)){
console.log('')
mwindow.webContents.send("warn", "경로 오류가 발생했습니다. 경로에 로마자를 제외한 다른 문자가 들어가있지 않은지 확인해 주세요.")
}
const dat:ProjectJSON = JSON.parse((fs.readFileSync(tempProject, 'utf-8')).replaceAll('\u0000', ''))
globalThis.project = dat
console.log('Decrypt Success')
Expand Down Expand Up @@ -101,6 +105,6 @@ export async function initProject(sourceDir:string, gameDir:string){
console.log('open');
} catch (error) {
console.log(error)
mwindow.webContents.send("warn", "오류가 발생했습니다")
mwindow.webContents.send("warn", "오류가 발생했습니다.")
}
}
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"recommend": "1.1.0",
"last": "1.1.0"
"recommend": "1.3.0",
"last": "1.3.0"
}

0 comments on commit 56ab855

Please sign in to comment.