Skip to content

Commit

Permalink
- Fixed the text file open function; it was missing the mode argument…
Browse files Browse the repository at this point in the history
… in the definition

- Added a shortcut to the online user guide to the start menu
  • Loading branch information
keelanstuart committed May 6, 2020
1 parent cf37af3 commit 17b8e9c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sfx/sfx/ProgressDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ DWORD CProgressDlg::RunInstall()
theApp.m_js.addNative(_T("function SetRegistryKeyValue(root, key, name, val)"), scSetRegistryKeyValue, (void *)this);
theApp.m_js.addNative(_T("function ShowLicenseDlg()"), scShowLicenseDlg, (void *)this);
theApp.m_js.addNative(_T("function SpawnProcess(cmd, params, rundir, block)"), scSpawnProcess, (void *)this);
theApp.m_js.addNative(_T("function TextFileOpen(filename)"), scTextFileOpen, (void *)this);
theApp.m_js.addNative(_T("function TextFileOpen(filename, mode)"), scTextFileOpen, (void *)this);
theApp.m_js.addNative(_T("function TextFileClose(handle)"), scTextFileClose, (void *)this);
theApp.m_js.addNative(_T("function TextFileReadLn(handle)"), scTextFileReadLn, (void *)this);
theApp.m_js.addNative(_T("function TextFileWrite(handle, text)"), scTextFileWrite, (void *)this);
Expand Down
Binary file modified sfx/sfxPackager/sfxPackager.rc
Binary file not shown.
2 changes: 1 addition & 1 deletion sfxPackagerSetup.sfxpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<scripts>
<script type="init">CreateDirectoryTree(&quot;%APPDATA%/Microsoft/Windows/Start Menu/Programs/sfxPackager&quot;);Echo(&quot;Created Start Menu folder...\n&quot;);</script>
<script type="perfile">function CreateStartMenuEntry(){ CreateShortcut(&quot;%APPDATA%/Microsoft/Windows/Start Menu/Programs/sfxPackager/sfxPackager.lnk&quot;, FILEPATH, &quot;&quot;, BASEPATH, &quot;sfxPackager (64-bit) install creation utility&quot;, 1, FILEPATH, 0); Echo(&quot;Created Start Menu shortcut...\n&quot;);}</script>
<script type="finish"></script>
<script type="finish">CreateShortcut(&quot;%APPDATA%/Microsoft/Windows/Start Menu/Programs/sfxPackager/sfxPackager User Guide.lnk&quot;, &quot;https://docs.google.com/presentation/d/e/2PACX-1vRAVGjiJbSYUrOWB8jEzqG7hMwVbZqvCiAbVmOeL25hoEmN909H-BtGjEawmTMZLta5qHfhGydWDqQd/pub?start=false&amp;loop=false&amp;delayms=30000&quot;, &quot;&quot;, BASEPATH, &quot;sfxPackager User Guide&quot;, 1, &quot;&quot;, 0);Echo(&quot;Created shortcut to online user guide...\n&quot;);</script>
</scripts>

<files>
Expand Down

0 comments on commit 17b8e9c

Please sign in to comment.