Skip to content

Instantly share code, notes, and snippets.

Avatar

Double Sine DoubleLabyrinth

  • Tianjin University
View GitHub Profile
@DoubleLabyrinth
DoubleLabyrinth / fix.py
Last active Aug 18, 2022
Remove mutant entry in Start: ms-resource:AppName/Text
View fix.py
import os, sqlite3
conn = sqlite3.connect(os.path.expandvars(r'%ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.srd'))
cursor = conn.execute(
'''
SELECT _PackageID, PackageFullName FROM main.Package
WHERE PackageFullName LIKE "Microsoft.Windows.HolographicFirstRun%";
'''
)