diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-07-27 19:41:31 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-07-27 19:41:31 +0200 |
commit | 07ad12874b9eb534ad47be6a3acd666c283d9c54 (patch) | |
tree | 3297e9f15e237d331f5d443133b6dcc4b81fc547 | |
parent | 88bee339d29b2e318fb2ddc3baeaa4ff8c0764a7 (diff) |
version loading fix
-rw-r--r-- | project.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,11 +165,11 @@ export default class { await this.video.load(source); this.video.mimetype = await source.file('mimetype').async('string'); - if (semver.lt('0.1.1', this.fileVersion)) { + if (semver.lte('0.1.1', this.fileVersion)) { this.video.config = JSON.parse(await this.zip.file('source/config').async('string')); } - if (semver.lt('0.2.0', this.fileVersion)) { + if (semver.lte('0.2.0', this.fileVersion)) { this.settings = JSON.parse(await this.zip.file('settings').async('string')); } } |