mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
1.1.7 hotfix
This commit is contained in:
parent
905be7a463
commit
9d0a218882
@ -121,7 +121,7 @@ export class Application {
|
|||||||
* Initializes all platform instances
|
* Initializes all platform instances
|
||||||
*/
|
*/
|
||||||
initPlatformDependentInstances() {
|
initPlatformDependentInstances() {
|
||||||
logger.log("Creating platform dependent instances");
|
logger.log("Creating platform dependent instances (standalone=", G_IS_STANDALONE, ")");
|
||||||
|
|
||||||
if (G_IS_STANDALONE) {
|
if (G_IS_STANDALONE) {
|
||||||
this.platformWrapper = new PlatformWrapperImplElectron(this);
|
this.platformWrapper = new PlatformWrapperImplElectron(this);
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
export const CHANGELOG = [
|
export const CHANGELOG = [
|
||||||
|
{
|
||||||
|
version: "1.1.7",
|
||||||
|
date: "04.06.2020",
|
||||||
|
entries: ["HOTFIX: Fix savegames not showing up on the standalone version"],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
version: "1.1.6",
|
version: "1.1.6",
|
||||||
date: "04.06.2020",
|
date: "04.06.2020",
|
||||||
|
@ -2,13 +2,14 @@ import { PlatformWrapperImplBrowser } from "../browser/wrapper";
|
|||||||
import { getIPCRenderer } from "../../core/utils";
|
import { getIPCRenderer } from "../../core/utils";
|
||||||
import { createLogger } from "../../core/logging";
|
import { createLogger } from "../../core/logging";
|
||||||
import { StorageImplElectron } from "./storage";
|
import { StorageImplElectron } from "./storage";
|
||||||
|
import { PlatformWrapperInterface } from "../wrapper";
|
||||||
|
|
||||||
const logger = createLogger("electron-wrapper");
|
const logger = createLogger("electron-wrapper");
|
||||||
|
|
||||||
export class PlatformWrapperImplElectron extends PlatformWrapperImplBrowser {
|
export class PlatformWrapperImplElectron extends PlatformWrapperImplBrowser {
|
||||||
initialize() {
|
initialize() {
|
||||||
this.app.storage = new StorageImplElectron(this);
|
this.app.storage = new StorageImplElectron(this);
|
||||||
return super.initialize();
|
return PlatformWrapperInterface.prototype.initialize.call(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
getId() {
|
getId() {
|
||||||
|
Loading…
Reference in New Issue
Block a user