2
0
Эх сурвалжийг харах

Merge branch 'main' into trustfunc

Martijn Laan 4 сар өмнө
parent
commit
ddf221c08d
3 өөрчлөгдсөн 11 нэмэгдсэн , 9 устгасан
  1. 9 7
      README.md
  2. 1 1
      build-ce.bat
  3. 1 1
      build.bat

+ 9 - 7
README.md

@@ -59,14 +59,15 @@ Getting Started
    from the Community Edition, which means there's two different build
    from the Community Edition, which means there's two different build
    scripts.
    scripts.
 
 
-   Community Edition: To build all files run **build-ce.bat** and follow the
-   instructions.
+   Community Edition: To build all files in Release mode run **build-ce.bat**
+   and follow the instructions.
 
 
-   Otherwise: To build all files run **build.bat** and follow the instructions.
+   Otherwise: To build all files in Release mode run **build.bat** and follow
+   the instructions.
 
 
-   To just compile Inno Setup run **compile.bat** and follow the instructions.
-   This batch file cannot be used with the Community Edition, open
-   Projects\Projects.groupproj instead.
+   To just compile Inno Setup in Release mode run **compile.bat** and follow
+   the instructions. This batch file cannot be used with the Community Edition,
+   open Projects\Projects.groupproj instead.
 
 
    To just compile the Inno Setup help file and its web version run
    To just compile the Inno Setup help file and its web version run
    **ISHelp\ISHelpGen\compile.bat** and **ISHelp\compile.bat** and follow the
    **ISHelp\ISHelpGen\compile.bat** and **ISHelp\compile.bat** and follow the
@@ -158,7 +159,8 @@ Source code tips
 
 
 - When building the projects in Debug mode it outputs to [Projects\Bin] and when
 - When building the projects in Debug mode it outputs to [Projects\Bin] and when
   debugging it will run from within this directory. To prepare this directory
   debugging it will run from within this directory. To prepare this directory
-  with some extra files you must run **Projects\Bin\synch-isfiles.bat**.
+  with some extra files you must run **Projects\Bin\synch-isfiles.bat**. Running
+  the aforementioned **build.bat** or **build-ce.bat** first is not necessary.
 
 
 - When debugging the Setup project you should first build all projects in Debug
 - When debugging the Setup project you should first build all projects in Debug
   mode, then run the Compil32 project and compile the Debug.iss script which
   mode, then run the Compil32 project and compile the Debug.iss script which

+ 1 - 1
build-ce.bat

@@ -103,7 +103,7 @@ if errorlevel 1 goto failed
 cd ..
 cd ..
 if errorlevel 1 goto failed
 if errorlevel 1 goto failed
 echo Creating Inno Setup installer done
 echo Creating Inno Setup installer done
-powershell.exe -Command "Write-Host -NoNewline 'SHA256 hash: '; (Get-FileHash -Algorithm SHA256 -Path output\innosetup-%VER%.exe).Hash.ToLower()"
+powershell.exe -NoProfile -Command "Write-Host -NoNewline 'SHA256 hash: '; (Get-FileHash -Algorithm SHA256 -Path output\innosetup-%VER%.exe).Hash.ToLower()"
 
 
 echo All done!
 echo All done!
 pause
 pause

+ 1 - 1
build.bat

@@ -88,7 +88,7 @@ if errorlevel 1 goto failed
 cd ..
 cd ..
 if errorlevel 1 goto failed
 if errorlevel 1 goto failed
 echo Creating Inno Setup installer done
 echo Creating Inno Setup installer done
-powershell.exe -Command "Write-Host -NoNewline 'SHA256 hash: '; (Get-FileHash -Algorithm SHA256 -Path output\innosetup-%VER%.exe).Hash.ToLower()"
+powershell.exe -NoProfile -Command "Write-Host -NoNewline 'SHA256 hash: '; (Get-FileHash -Algorithm SHA256 -Path output\innosetup-%VER%.exe).Hash.ToLower()"
 
 
 echo All done!
 echo All done!
 pause
 pause