Skip to content

Commit c7403cf

Browse files
authored
Alpha v0.1.1
2 parents 8517893 + 8c72378 commit c7403cf

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

cli.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ local config;
3535
local sourceFile;
3636
local outFile;
3737

38+
Prometheus.colors.enabled = true;
39+
3840
-- Parse Arguments
3941
local i = 1;
4042
while i <= #arg do
@@ -71,6 +73,8 @@ while i <= #arg do
7173
Prometheus.Logger:warn("The output file was specified multiple times!");
7274
end
7375
outFile = arg[i];
76+
elseif curr == "--nocolors" then
77+
Prometheus.colors.enabled = false;
7478
else
7579
Prometheus.Logger:warn(string.format("The option \"%s\" is not valid and therefore ignored"));
7680
end

doc/getting-started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
To install Prometheus, simply clone the Github Repository using:
44

55
```batch
6-
git clone https://github.com/Levno710/Prometheus.git
6+
git clone "https://github.com/levno-710/Prometheus.git"
77
```
88

9-
Alternatively you can download the Sources [here](https://github.com/Levno710/Prometheus/archive/refs/heads/master.zip).
9+
Alternatively you can download the Sources [here](https://github.com/levno-710/Prometheus/archive/refs/heads/master.zip).
1010

1111
Prometheus also Requires LuaJIT or Lua51 in order to work. The Lua51 binaries can be downloaded [here](https://sourceforge.net/projects/luabinaries/files/5.1.5/Tools%20Executables/).

doc/obfuscating-your-first-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ print("Hello, World")
2626
```
2727
{% endcode %}
2828

29-
As you can see, the file hasn't changed at all. That is because by default prometheus is just a minifier and the code we gave it was already as small as possible. To actually obfuscate the file, prometheus must be told which obfuscation steps it should apply in which order. In order to do this, the cli has the `--preset` option which allows you to specify the name of a predefined configuration. There are currently only two presets:
29+
As you can see, the file hasn't changed at all. That is because by default prometheus is just a minifier and the code we gave it was already as small as possible. To actually obfuscate the file, prometheus must be told which obfuscation steps it should apply in which order. In order to do this, the cli provides the `--preset` option which allows you to specify the name of a predefined configuration. There are currently only two presets:
3030

3131
* Minify
3232
* Strong

0 commit comments

Comments
 (0)