You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`--no-dep-run`: Do not run the source script to check for dependencies. Use this if your script has side effects during load or if you are manually specifying all dependencies.
105
+
*`--no-autoload`: Do not attempt to load or include `autoload`ed constants.
106
+
*`--no-autodll`: Disable the automatic detection of runtime DLL dependencies.
110
107
111
-
Auto-detection options:
108
+
#### Output options:
112
109
113
-
--no-dep-run Don't run script.rb to check for dependencies.
--no-autodll Disable detection of runtime DLL dependencies.
110
+
*`--output <file>`: Specify the name and path of the generated executable. Defaults to `./<scriptname>.exe`.
111
+
*`--no-lzma`: Disable LZMA compression. This results in faster build times but a significantly larger executable.
112
+
*`--innosetup <file>`: Use the specified Inno Setup script (.iss) to create a Windows installer instead of a single standalone executable.
116
113
117
-
Output options:
114
+
#### Executable options:
118
115
119
-
--output <file> Name the exe to generate. Defaults to ./<scriptname>.exe.
120
-
--no-lzma Disable LZMA compression of the executable.
121
-
--innosetup <file> Use given Inno Setup script (.iss) to create an installer.
122
-
123
-
Executable options:
124
-
125
-
--windows Force Windows application (rubyw.exe)
126
-
--console Force console application (ruby.exe)
127
-
--chdir-first When exe starts, change working directory to app dir.
128
-
--icon <ico> Replace icon with a custom one.
129
-
--rubyopt <str> Set the RUBYOPT environment variable when running the executable
130
-
--debug Executable will be verbose.
131
-
--debug-extract Executable will unpack to local dir and not delete after.
116
+
*`--windows`: Force the creation of a Windows GUI application (uses `rubyw.exe`).
117
+
*`--console`: Force the creation of a console application (uses `ruby.exe`).
118
+
*`--chdir-first`: Changes the working directory to the application's temporary extraction directory before the script starts.
119
+
*`--icon <ico>`: Replace the default Ruby icon with a custom `.ico` file.
120
+
*`--rubyopt <str>`: Set the `RUBYOPT` environment variable that will be used when the executable runs.
121
+
*`--debug`: Enables verbose output when the generated executable is run.
122
+
*`--debug-extract`: The executable will unpack its contents to a local directory and will not delete them after execution, which is helpful for troubleshooting extraction issues.
0 commit comments