Skip to content

Commit e5d0c74

Browse files
committed
Fixed bug where attempting to build with directories not containing lua files would crash the build
1 parent 530a7ab commit e5d0c74

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "telltale-script-editor",
33
"productName": "telltale-script-editor",
4-
"version": "2.0.0",
4+
"version": "2.1.1",
55
"description": "An unofficial, open-source editor to allow for easy modification of scripts from Telltale games.",
66
"main": ".webpack/main",
77
"author": "Telltale Modding Group",

src/main/handlers/BuildProject.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ export const buildProject = async (log: (message: string) => void, state: AppSta
115115
}
116116
}
117117
else if (!file.directory) {
118-
await fs.copyFile(file.path, file.path.replace(projectPath, tempPath));
118+
await fs.cp(file.path, file.path.replace(projectPath, tempPath), { recursive: true });
119119
}
120120
}
121121

122-
log('============== Finished generating _resdesc_ files!');
122+
log('============== Finished generating resource descriptions!');
123123
log('============== Generating ttarch2 archives...');
124124

125125
for (const directory of rootLevelDirectories) {

src/renderer/components/modals/AboutModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const AboutModal = () => {
55
return <Container>
66
<Stack align="center">
77
<Title order={1}>Telltale Script Editor</Title>
8-
<Text>Version 2.0.0</Text>
8+
<Text>Version 2.1.1</Text>
99
</Stack>
1010
</Container>
1111
};

0 commit comments

Comments
 (0)