调整升级

1.更改了electron和nsis镜像地址。
2.升级了electron到20.0.3, 修改了新版romote的处理方式。
3.增加了canvas右键菜单功能。
4.Explorer显示纵向滚动条。
This commit is contained in:
XBinary committed 2022-08-24 00:51:42 +08:00
1 parent 49b385e7c4
commit 0386083ea8
10 files changed
+16332 -4749

No files matched your search

+1 -2
View File
@@ -1,7 +1,6 @@
import { TreeGraphData } from "@antv/g6/lib/types";
import { BehaviorNodeModel, BehaviorTreeModel, GraphNodeModel } from "./BehaviorTreeModel";
import Settings from "../main-process/Settings";
import { remote } from "electron";
import * as path from "path";
export const cloneNodeData = (nodeData: GraphNodeModel) => {
@@ -138,7 +137,7 @@ export const findFromAllChildren = (node: TreeGraphData, id: string): TreeGraphD
};
export const getRemoteSettings = () => {
return remote.getGlobal("settings") as Settings;
return require("@electron/remote").getGlobal("settings") as Settings;
};
export const fileName2treeName = (filename: string) => {