mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
ide: Fixed instant setup
git-svn-id: svn://ultimatepp.org/upp/trunk@9164 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a4f0acacd0
commit
6413d01ac4
1 changed files with 3 additions and 3 deletions
|
|
@ -367,9 +367,9 @@ String GetWinRegStringWOW64(const char *value, const char *path, HKEY base_key
|
|||
|
||||
void AutoInstantSetup()
|
||||
{
|
||||
String sgn = ToLower(GetFileFolder(GetExeFilePath()));
|
||||
String cf = GetExeDirFile("setup-path") + "\n" +
|
||||
GetWinRegStringWOW64("MachineGuid", "SOFTWARE\\Microsoft\\Cryptography");
|
||||
String sgn = ToLower(GetFileFolder(GetExeFilePath())) + "\n" +
|
||||
GetWinRegStringWOW64("MachineGuid", "SOFTWARE\\Microsoft\\Cryptography");
|
||||
String cf = GetExeDirFile("setup-path");
|
||||
String sgn0 = LoadFile(cf);
|
||||
if(sgn != sgn0) {
|
||||
InstantSetup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue