diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b94d2ef..fbbc9cba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ Many thanks to the following for contributing to this release: - Fixed "rendered more hooks" error when refreshing hosts page. [#769](https://github.com/clusterio/clusterio/issues/769) - Fixed inventory combinator time signal not always updating [#610](https://github.com/clusterio/clusterio/issues/610) - Renamed templates for `.gitignore` and `.npmignore` that caused `create --plugin-template` to fail. [#800](https://github.com/clusterio/clusterio/pull/800) +- Fixed npm update button failing to apply update and restart. ### Breaking changes diff --git a/packages/controller/package.json b/packages/controller/package.json index 523b00a5..67ef8494 100644 --- a/packages/controller/package.json +++ b/packages/controller/package.json @@ -3,7 +3,7 @@ "description": "Implementation of Clusterio controller", "author": "Hornwitser", "license": "MIT", - "version": "2.0.0-alpha.22", + "version": "2.0.0-alpha.22b", "main": "dist/node/index.js", "scripts": { "prepare": "tsc --build && webpack-cli --mode production", diff --git a/packages/host/package.json b/packages/host/package.json index 110f069c..6fe78bed 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -3,7 +3,7 @@ "description": "Implementation of Clusterio host server", "author": "Hornwitser", "license": "MIT", - "version": "2.0.0-alpha.22", + "version": "2.0.0-alpha.22b", "main": "dist/node/index.js", "scripts": { "prepare": "tsc --build", diff --git a/packages/host/src/Host.ts b/packages/host/src/Host.ts index 55cf5763..f3061f29 100644 --- a/packages/host/src/Host.ts +++ b/packages/host/src/Host.ts @@ -1096,7 +1096,7 @@ export default class Host extends lib.Link { if (!this.config.get("host.allow_remote_updates")) { throw new lib.RequestError("Remote updates are disabled on this machine"); } - return lib.updatePackage("@clusterio/host"); + return await lib.updatePackage("@clusterio/host"); } async handlePluginUpdateRequest(request: lib.PluginUpdateRequest) { diff --git a/packages/lib/package.json b/packages/lib/package.json index 3a4d4b31..187ac1eb 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,7 +1,7 @@ { "name": "@clusterio/lib", "description": "Shared library for Clusterio", - "version": "2.0.0-alpha.22", + "version": "2.0.0-alpha.22b", "repository": "https://github.com/clusterio/clusterio", "license": "MIT", "scripts": { diff --git a/packages/web_ui/package.json b/packages/web_ui/package.json index 55870b42..7cfe8161 100644 --- a/packages/web_ui/package.json +++ b/packages/web_ui/package.json @@ -3,7 +3,7 @@ "description": "Clusterio web interface implementation", "author": "Hornwitser", "license": "MIT", - "version": "2.0.0-alpha.22", + "version": "2.0.0-alpha.22b", "browser": "src/index.ts", "main": "dist/browser/src/index.js", "scripts": {