From d94d5eee6da69e7bf714dd24783fbed58061be1a Mon Sep 17 00:00:00 2001 From: Alexandre Teoi Date: Tue, 2 May 2023 00:44:46 -0300 Subject: [PATCH] update readme --- README.md | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 20e83c5..e312171 100644 --- a/README.md +++ b/README.md @@ -23,30 +23,14 @@ winget install --id DEVCOM.Lua [Clang](https://clang.llvm.org/)) - [CMake](https://cmake.org/) - [Ninja](https://ninja-build.org/) -- [ImageMagick](https://imagemagick.org/) -- [GhostScript](https://www.ghostscript.com/) -- [WiX v3](https://wixtoolset.org/docs/wix3/) -You can install the first five components with the following +You can install these components with the following [winget](https://learn.microsoft.com/windows/package-manager/winget/) commands: ```powershell winget install --id LLVM.LLVM winget install --id Kitware.CMake winget install --id Ninja-build.Ninja -winget install --id ImageMagick.ImageMagick -winget install --id ArtifexSoftware.GhostScript -``` - -WiX v3 is available at . It -requires .NET Framework 3.5 that can be installed with the following command: - -```powershell -Start-Process ` - -FilePath pwsh ` - -ArgumentList "-Command `"& {Enable-WindowsOptionalFeature -Online -FeatureName NetFx3}`"" ` - -Wait ` - -Verb RunAs ``` Update your path environment with `setx` (supposing you installed the tools in @@ -63,8 +47,6 @@ Check if `PATH` was set correctly: Get-Command clang Get-Command cmake Get-Command ninja -Get-Command magick -Get-Command gswin64 ``` You may need to restart your Windows session if you can't find `ninja` even @@ -72,8 +54,7 @@ after restarting your terminal. ## Build -Use the following commands to generate the installation package in both ZIP and -MSI formats: +Use the following commands to generate a ZIP package with Lua and LuaRocks: ```powershell cmake -B build -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo @@ -85,4 +66,4 @@ code and LuaRocks binaries. For convenience, you can use the `Build-Lua.ps1` script to run these commands. -If successful, the ZIP and MSI files will be available in the `build` directory. +If successful, the ZIP file will be available in the `build` directory.