Skip to content

Commit

Permalink
Updater fix for save file version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadret committed Dec 30, 2020
1 parent 1801226 commit 4b87183
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.1.3
------------------------------------------------------------------------
- Fix: Updater can now correctly handle v1.0.0.

1.1.2
------------------------------------------------------------------------
- Fix: Copying wrong data of large scenery prevents pasting.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scenery-manager",
"version": "1.1.2",
"version": "1.1.3",
"description": "Scenery Manager",
"scripts": {
"build": "rollup -c && babel ./build/scenery-manager.js --out-file ./build/scenery-manager.js"
Expand Down
1 change: 1 addition & 0 deletions src/Updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function update(load: () => void): void {
init_111();
return load();
case "1.0.1":
case "1.0.0":
return UiUtils.showConfirm("Welcome to Scenery Manager!", [
"Your clipboard and library contain templates",
"from a previous version of Scenery Manager.",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import SceneryManager from "./SceneryManager"

registerPlugin({
name: "scenery-manager",
version: "1.1.2",
version: "1.1.3",
authors: ["Sadret"],
type: "local",
licence: "GPL-3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/Research.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Research {
}

content(builder: BoxBuilder) {
builder.addLabel({ text: "Version: 1.1.2" });
builder.addLabel({ text: "Version: 1.1.3" });
builder.addSpace(0);
{
const group = builder.getGroupBox(builder.padding, builder.margin);
Expand Down

0 comments on commit 4b87183

Please sign in to comment.