Skip to content

Commit 03a7eff

Browse files
committed
Add StoreHelper to replace getmicrosoftstorelink.ps1
1 parent 065f9fa commit 03a7eff

File tree

6 files changed

+1112
-393
lines changed

6 files changed

+1112
-393
lines changed

Assets/Scripts/getmicrosoftstorelink.ps1

Lines changed: 0 additions & 279 deletions
This file was deleted.

Helpers/GPU/IntelHelper.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using AutoOS.Views.Installer.Actions;
22
using PuppeteerSharp;
33
using System.Text.RegularExpressions;
4+
using AutoOS.Helpers.Store;
45

56
namespace AutoOS.Helpers.GPU
67
{
@@ -119,10 +120,10 @@ public static partial class IntelHelper
119120
(gpu.IsInstalled ? "Updating INTEL driver" : "Installing INTEL driver", async () => GpuHelper.RefreshGpu(gpu), null),
120121

121122
// download intel® graphics command center (beta)
122-
("Downloading Intel® Graphics Command Center (Beta)", async () => await ProcessActions.RunMicrosoftStoreDownload("AppUp.IntelGraphicsCommandCenterBeta", "20ad3d91-bf78-4dbd-86cd-e9d215cc9299", "appxBundle", 0, false), () => Intel_6th == true || Intel_7th_10th == true || Intel_11th_14th == true || Intel_11th_14th == true),
123+
("Downloading Intel® Graphics Command Center (Beta)", async () => await StoreHelper.Download("AppUp.IntelGraphicsCommandCenterBeta_8wekyb3d8bbwe"), () => Intel_6th == true || Intel_7th_10th == true || Intel_11th_14th == true || Intel_11th_14th == true),
123124

124125
// install intel® graphics command center (beta)
125-
("Installing Intel® Graphics Command Center (Beta)", async () => await ProcessActions.RunPowerShell(@"Add-AppxPackage -Path (Get-ChildItem -Path \""$env:TEMP\AppUp.IntelGraphicsCommandCenterBeta (Package)\"" | Select-Object -First 1).FullName"), () => Intel_6th == true || Intel_7th_10th == true || Intel_11th_14th == true),
126+
("Installing Intel® Graphics Command Center (Beta)", async () => await StoreHelper.Install("AppUp.IntelGraphicsCommandCenterBeta_8wekyb3d8bbwe"), () => Intel_6th == true || Intel_7th_10th == true || Intel_11th_14th == true),
126127

127128
// configure settings
128129
("Configuring settings", async () => await ProcessActions.RunNsudo("TrustedInstaller", @"reg add ""HKEY_LOCAL_MACHINE\SOFTWARE\Intel\Display\igfxcui\MediaKeys"" /v ""ProcAmpApplyAlways"" /t REG_DWORD /d 0 /f"), () => Intel_6th == true || Intel_7th_10th == true || Intel_11th_14th == true),

0 commit comments

Comments
 (0)