暂存
This commit is contained in:
1 parent
d035361718
commit
6d1bc8e2c8
5 files changed
+20
-9
No files matched your search
@@ -10,6 +10,7 @@ using UnityEngine.EventSystems;
|
||||
using DG.Tweening;
|
||||
using Assets.Scripts.Devices.Ble.Devices;
|
||||
using Assets.Scripts;
|
||||
using System.IO;
|
||||
|
||||
public class DeviceController : PFUIPanel
|
||||
{
|
||||
@@ -91,7 +92,13 @@ public class DeviceController : PFUIPanel
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
//Debug.Log("device awake");
|
||||
#if UNITY_STANDALONE_WIN
|
||||
Debug.Log("进入设备连接页面");
|
||||
if (!File.Exists("C:\\Windows\\System32\\msvcp140.dll") && File.Exists("C:\\Program Files\\PowerFun\\_CommonRedist\\vcredist\\VC_redist.x64.exe"))
|
||||
{
|
||||
Utils.ExecFile("C:\\Program Files\\PowerFun\\_CommonRedist\\vcredist\\VC_redist.x64.exe", "/passive");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Start is called before the first frame update
|
||||
|
||||
Reference in new issue
Block a user