Skip to content

主程序无法唤醒升级程序 #10

@JackGuogit

Description

@JackGuogit

这个方法public override bool StartApp(string appName, int appType)有逻辑bug,导致主程序无法唤醒升级程序。

switch (appType)
  {
      case AppType.ClientApp:
          Process.Start(path);
          Process.GetCurrentProcess().Kill();
          break;

      case AppType.UpgradeApp:
          Process.Start(path, Packet.ProcessBase64);
          break;
  }

修改为这样就可以了

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions