Skip to content

Commit

Permalink
Fixed a JS function mapping problem
Browse files Browse the repository at this point in the history
 - GetLicense* all called scGetLicenseKey
  • Loading branch information
keelanstuart committed Mar 26, 2020
1 parent e5c5ae0 commit cf37af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sfx/sfx/ProgressDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,8 @@ DWORD CProgressDlg::RunInstall()
theApp.m_js.addNative(_T("function GetGlobalInt(name)"), scGetGlobalInt, (void *)this);
theApp.m_js.addNative(_T("function GetExeVersion(file)"), scGetExeVersion, (void*)this);
theApp.m_js.addNative(_T("function GetLicenseKey()"), scGetLicenseKey, (void *)this);
theApp.m_js.addNative(_T("function GetLicenseOrg()"), scGetLicenseKey, (void *)this);
theApp.m_js.addNative(_T("function GetLicenseUser()"), scGetLicenseKey, (void *)this);
theApp.m_js.addNative(_T("function GetLicenseOrg()"), scGetLicenseOrg, (void *)this);
theApp.m_js.addNative(_T("function GetLicenseUser()"), scGetLicenseUser, (void *)this);
theApp.m_js.addNative(_T("function IsDirectory(path)"), scIsDirectory, (void *)this);
theApp.m_js.addNative(_T("function IsDirectoryEmpty(path)"), scIsDirectoryEmpty, (void *)this);
theApp.m_js.addNative(_T("function MessageBox(title, msg)"), scMessageBox, (void *)this);
Expand Down
Binary file modified sfx/sfxPackager/sfxPackager.rc
Binary file not shown.

0 comments on commit cf37af3

Please sign in to comment.