standalone-ruby 1.3.1 → 1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +27 -23
  3. data/bin/standalone-ruby +3 -3
  4. data/lib/data/exe_template/launcher_stub.c +35 -0
  5. data/lib/data/exe_template/launcher_stub.cpp +9 -0
  6. data/lib/data/tcc/include/_mingw.h +54 -0
  7. data/lib/data/tcc/include/assert.h +71 -0
  8. data/lib/data/tcc/include/conio.h +159 -0
  9. data/lib/data/tcc/include/ctype.h +232 -0
  10. data/lib/data/tcc/include/dir.h +26 -0
  11. data/lib/data/tcc/include/direct.h +95 -0
  12. data/lib/data/tcc/include/dirent.h +96 -0
  13. data/lib/data/tcc/include/dos.h +110 -0
  14. data/lib/data/tcc/include/errno.h +117 -0
  15. data/lib/data/tcc/include/excpt.h +20 -0
  16. data/lib/data/tcc/include/fcntl.h +135 -0
  17. data/lib/data/tcc/include/fenv.h +85 -0
  18. data/lib/data/tcc/include/float.h +224 -0
  19. data/lib/data/tcc/include/inttypes.h +275 -0
  20. data/lib/data/tcc/include/io.h +296 -0
  21. data/lib/data/tcc/include/limits.h +115 -0
  22. data/lib/data/tcc/include/locale.h +100 -0
  23. data/lib/data/tcc/include/malloc.h +87 -0
  24. data/lib/data/tcc/include/math.h +438 -0
  25. data/lib/data/tcc/include/mem.h +8 -0
  26. data/lib/data/tcc/include/memory.h +9 -0
  27. data/lib/data/tcc/include/process.h +158 -0
  28. data/lib/data/tcc/include/setjmp.h +72 -0
  29. data/lib/data/tcc/include/share.h +44 -0
  30. data/lib/data/tcc/include/signal.h +111 -0
  31. data/lib/data/tcc/include/stdarg.h +16 -0
  32. data/lib/data/tcc/include/stdbool.h +10 -0
  33. data/lib/data/tcc/include/stddef.h +26 -0
  34. data/lib/data/tcc/include/stdint.h +184 -0
  35. data/lib/data/tcc/include/stdio.h +413 -0
  36. data/lib/data/tcc/include/stdlib.h +482 -0
  37. data/lib/data/tcc/include/string.h +206 -0
  38. data/lib/data/tcc/include/sys/fcntl.h +8 -0
  39. data/lib/data/tcc/include/sys/file.h +9 -0
  40. data/lib/data/tcc/include/sys/locking.h +52 -0
  41. data/lib/data/tcc/include/sys/stat.h +190 -0
  42. data/lib/data/tcc/include/sys/time.h +3 -0
  43. data/lib/data/tcc/include/sys/timeb.h +82 -0
  44. data/lib/data/tcc/include/sys/types.h +118 -0
  45. data/lib/data/tcc/include/sys/unistd.h +9 -0
  46. data/lib/data/tcc/include/sys/utime.h +89 -0
  47. data/lib/data/tcc/include/tchar.h +367 -0
  48. data/lib/data/tcc/include/time.h +219 -0
  49. data/lib/data/tcc/include/unistd.h +10 -0
  50. data/lib/data/tcc/include/values.h +4 -0
  51. data/lib/data/tcc/include/varargs.h +11 -0
  52. data/lib/data/tcc/include/wchar.h +318 -0
  53. data/lib/data/tcc/include/wctype.h +127 -0
  54. data/lib/data/tcc/include/winapi/basetsd.h +119 -0
  55. data/lib/data/tcc/include/winapi/basetyps.h +144 -0
  56. data/lib/data/tcc/include/winapi/winbase.h +1852 -0
  57. data/lib/data/tcc/include/winapi/wincon.h +207 -0
  58. data/lib/data/tcc/include/winapi/windef.h +240 -0
  59. data/lib/data/tcc/include/winapi/windows.h +176 -0
  60. data/lib/data/tcc/include/winapi/winerror.h +1054 -0
  61. data/lib/data/tcc/include/winapi/wingdi.h +2843 -0
  62. data/lib/data/tcc/include/winapi/winnetwk.h +346 -0
  63. data/lib/data/tcc/include/winapi/winnls.h +651 -0
  64. data/lib/data/tcc/include/winapi/winnt.h +2667 -0
  65. data/lib/data/tcc/include/winapi/winreg.h +159 -0
  66. data/lib/data/tcc/include/winapi/winsvc.h +309 -0
  67. data/lib/data/tcc/include/winapi/winuser.h +3472 -0
  68. data/lib/data/tcc/include/winapi/winver.h +133 -0
  69. data/lib/data/tcc/lib/gdi32.def +337 -0
  70. data/lib/data/tcc/lib/kernel32.def +763 -0
  71. data/lib/data/tcc/lib/libtcc1.a +0 -0
  72. data/lib/data/tcc/lib/msvcrt.def +782 -0
  73. data/lib/data/tcc/lib/user32.def +654 -0
  74. data/lib/data/tcc/tcc.exe +0 -0
  75. data/lib/data/tcc/tiny_impdef.exe +0 -0
  76. data/lib/data/tcc/tiny_libmaker.exe +0 -0
  77. data/lib/data/vbs/default_vbs.txt +1 -1
  78. data/lib/data/vbs/vbs_gui.txt +1 -1
  79. data/lib/standalone_ruby.rb +6 -6
  80. data/lib/utils/config_generator.rb +5 -0
  81. data/lib/utils/displayer.rb +61 -59
  82. data/lib/utils/exe_packer.rb +68 -0
  83. data/lib/utils/launcher.rb +15 -16
  84. data/lib/utils/launcher_handler.rb +2 -0
  85. data/lib/utils/logger_helper.rb +24 -24
  86. data/lib/utils/parameter_parser.rb +206 -201
  87. data/lib/utils/ruby_copy.rb +26 -26
  88. metadata +77 -3
  89. data/lib/data/bat/default_bat.txt +0 -9
@@ -1,201 +1,206 @@
1
- require 'fileutils'
2
- require 'optparse'
3
-
4
- require_relative 'logger_helper'
5
-
6
- class ParameterParser
7
- def initialize
8
- @params = {
9
- threads: 5
10
- }
11
-
12
- @logger = LoggerHelper.instance
13
- end
14
-
15
- def normalize_paths!
16
- @params.each do |key, value|
17
- @params[key] = value.gsub('\\', '/') if value.is_a?(String)
18
- end
19
- end
20
-
21
- def display_help
22
- help_text = <<~EOT
23
- Standalone-Ruby - Make your projects installation independent!
24
-
25
- Usage: standalone-ruby [subcommand] [options]
26
-
27
- Subcommands:
28
- archive - archived default output
29
- exe - Compressed output to exe file (will be added soon)
30
- setup - Output converted to setup file (will be added soon)
31
- zip - Reduced size archive output (will be added soon)
32
-
33
- Options:
34
- -p, --project PROJECT_PATH Target Ruby project path.
35
- Ensures that the given project path exists. If not, an error is displayed.
36
-
37
- -r, --ruby RUBY_PATH Path to the Ruby interpreter.
38
- Ensures that the given Ruby path exists and contains a 'bin' directory.
39
-
40
- -m, --main MAIN_FILE Path to the main Ruby file of the project.
41
- Ensures that the specified Ruby file exists.
42
-
43
- -l, --launcher LAUNCHER Launcher file name (either .vbs or .bat-cmd).
44
- Ensure the launcher file exists and is of the correct type (either .vbs or .bat-cmd).
45
-
46
- -t, --template TEMPLATE Template file for launcher.
47
- Ensures that the specified template file exists.
48
-
49
- -c, --threads THREADS Number of threads to use (default is 5).
50
- Determines the number of threads used during the Ruby interpreter copy process and for Rubocopy operations.
51
- A higher number of threads can speed up the process, but requires more system resources.
52
-
53
- -g, --gui This option allows the rubyw.exe file in the bin folder to be used.
54
- You can choose it for projects that include GUI.
55
-
56
- -h, --help Show this help message.
57
-
58
- --version Show program version.
59
-
60
- For more details, please visit the documentation at:
61
- https://github.com/ardatetikbey/Standalone-Ruby
62
-
63
- EOT
64
-
65
- puts help_text
66
- end
67
-
68
- def parse
69
- begin
70
- OptionParser.new do |opts|
71
- note = "Note: https://github.com/ardatetikbey/Standalone-Ruby Don't forget to review my github document to get the best results."
72
- opts.banner = "Usage: ruby #{$0} [options]\n#{note}"
73
-
74
- opts.on("-p", "--project PROJECT_PATH", String, "Target Ruby project path") do |project_path|
75
- project_path.strip!
76
- if Dir.exist?("#{project_path}")
77
- @params[:project_path] = project_path
78
- else
79
- print("Parser Error: ".red); puts("The specified project path #{project_path} could not be found!")
80
- @logger.error("Parser Error: The project path #{project_path} could not be found!")
81
- exit!
82
- end
83
- end
84
-
85
- opts.on("-r", "--ruby RUBY_PATH", String, "Ruby interpreter path") do |ruby_path|
86
- ruby_path.strip!
87
- if Dir.exist?("#{ruby_path}")
88
- if Dir.exist?(File.join(ruby_path, "bin"))
89
- @params[:ruby_path] = ruby_path
90
- end
91
- else
92
- print("Parser Error: ".red); puts("The specified Ruby path #{ruby_path} could not be found!")
93
- @logger.error("Parser Error: The specified Ruby path #{ruby_path} could not be found!")
94
- exit!
95
- end
96
- end
97
-
98
- opts.on("-m", "--main MAIN_FILE", String, "Path to the main ruby file of the project") do |main_file|
99
- main_file.strip!
100
- if File.exist?(main_file)
101
- @params[:main_file] = main_file
102
- else
103
- print("Parser Error: ".red); puts("The specified file #{main_file} could not be found!")
104
- @logger.error("Parser Error: The specified file #{main_file} could not be found!")
105
- exit!
106
- end
107
- end
108
-
109
- opts.on("-c", "--threads THREADS", Integer, "Number of threads to use (default is 5)") do |threads|
110
- if threads.is_a?(Integer)
111
- @params[:threads] = threads
112
- else
113
- print("Parser Error: ".red); puts("Invalid value for threads. Please provide an integer.")
114
- @logger.error("Parser Error: Invalid value for threads.")
115
- exit!
116
- end
117
- end
118
-
119
- opts.on("-l", "--launcher LAUNCHER", String, "Launcher file name.type (vbs or bat-cmd)") do |launcher|
120
- launcher.strip!
121
- if launcher.include?(".vbs")
122
- @params[:launcher] = launcher
123
- @params[:launcher_type] = "vbs"
124
- @params[:launcher_name] = File.basename(launcher)
125
- elsif launcher.include?(".bat")
126
- @params[:launcher] = launcher
127
- @params[:launcher_type] = "bat"
128
- @params[:launcher_name] = File.basename(launcher)
129
- elsif launcher.include?(".cmd")
130
- @params[:launcher] = launcher
131
- @params[:launcher_type] = "cmd"
132
- @params[:launcher_name] = File.basename(launcher)
133
- else
134
- print("Parser Error: ".red); puts("The supported launcher #{launcher} could not be found!")
135
- @logger.error("Parser Error: The supported launcher path #{launcher} could not be found!")
136
- exit!
137
- end
138
- end
139
-
140
- opts.on("-t", "--template TEMPLATE", "Template file for launcher") do |template|
141
- template.strip!
142
- if File.exist?(template)
143
- @params[:template] = template
144
- else
145
- print("Parser Error: ".red); puts("The specified template file #{template} could not be found!")
146
- @logger.error("Parser Error: The specified template file #{template} could not be found!")
147
- exit!
148
- end
149
- end
150
-
151
- opts.on("-g", "--gui", "Project mode with visual interface") do
152
- @params[:gui] = true
153
- end
154
-
155
- opts.on("--version") do
156
- puts "Standalone Ruby Gem Version 1.3.1"
157
- exit!
158
- end
159
-
160
- opts.on("-h", "--help", "Show this help message") do
161
- display_help
162
- exit!
163
- end
164
- end.parse!
165
-
166
- if @params[:project_path].nil? || @params[:ruby_path].nil? || @params[:main_file].nil?
167
- print("Error: ".red); puts("Missing required parameters. Please provide the necessary parameters:\n -p, -r, -m.\nYou can use the -h parameter for the help menu.")
168
- @logger.error("Parser Error: Missing required parameters.")
169
- exit!
170
- end
171
-
172
- normalize_paths!
173
- rescue Exception => e
174
- print("Parser Error: ".red); puts("#{e.message}".red)
175
- @logger.error("Parser Error: #{e.message}")
176
- exit!
177
- end
178
- end
179
-
180
- def params
181
- @params
182
- end
183
- end
184
-
185
- class String
186
- def red
187
- "\e[31m#{self}\e[0m"
188
- end
189
-
190
- def green
191
- "\e[32m#{self}\e[0m"
192
- end
193
-
194
- def magenta
195
- "\e[35m#{self}\e[0m"
196
- end
197
-
198
- def yellow
199
- "\e[33m#{self}\e[0m"
200
- end
201
- end
1
+ require 'fileutils'
2
+ require 'optparse'
3
+
4
+ require_relative 'logger_helper'
5
+
6
+ class ParameterParser
7
+ def initialize
8
+ @params = {
9
+ threads: 5
10
+ }
11
+
12
+ @logger = LoggerHelper.instance
13
+ end
14
+
15
+ def normalize_paths!
16
+ @params.each do |key, value|
17
+ @params[key] = value.gsub('\\', '/') if value.is_a?(String)
18
+ end
19
+ end
20
+
21
+ def display_help
22
+ help_text = <<~EOT
23
+ Standalone-Ruby v1.4 - Package your Ruby projects as exe!
24
+
25
+ Usage: standalone-ruby [-h] [-p PROJECT_PATH] [-r RUBY_PATH] [-m MAIN_FILE] [-l LAUNCHER] [-t TEMPLATE] [-e EXE_FILE] [-c THREADS] [-g] [-v]
26
+
27
+ Options:
28
+ -p, --project PROJECT_PATH Target Ruby project path.
29
+ Ensures that the given project path exists. If not, an error is displayed.
30
+
31
+ -r, --ruby RUBY_PATH Path to the Ruby interpreter.
32
+ Ensures that the given Ruby path exists and contains a 'bin' directory.
33
+
34
+ -m, --main MAIN_FILE Path to the main Ruby file of the project.
35
+ Ensures that the specified Ruby file exists.
36
+
37
+ -l, --launcher LAUNCHER Launcher file name (either .vbs or .bat-cmd).
38
+ Ensure the launcher file exists and is of the correct type (either .vbs or .bat-cmd).
39
+
40
+ -t, --template TEMPLATE Template file for launcher.
41
+ Ensures that the specified template file exists.
42
+
43
+ -e, --exe EXE_FILE Name of the exe file to be used for output
44
+
45
+ -c, --threads THREADS Number of threads to use (default is 5).
46
+ Determines the number of threads used during the Ruby interpreter copy process and for Rubocopy operations.
47
+ A higher number of threads can speed up the process, but requires more system resources.
48
+
49
+ -g, --gui This option allows the rubyw.exe file in the bin folder to be used.
50
+ You can choose it for projects that include GUI.
51
+
52
+ -h, --help Show this help message.
53
+
54
+ -v, --version Show program version.
55
+
56
+ For more details, please visit the documentation at:
57
+ https://github.com/ardatetikbey/Standalone-Ruby
58
+
59
+ EOT
60
+
61
+ puts help_text
62
+ end
63
+
64
+ def parse
65
+ begin
66
+ OptionParser.new do |opts|
67
+ note = "Note: https://github.com/ardatetikbey/Standalone-Ruby Don't forget to review my github document to get the best results."
68
+ opts.banner = "Usage: ruby #{$0} [options]\n#{note}"
69
+
70
+ opts.on("-p", "--project PROJECT_PATH", String, "Target Ruby project path") do |project_path|
71
+ project_path.strip!
72
+ if Dir.exist?("#{project_path}")
73
+ @params[:project_path] = project_path
74
+ else
75
+ print("Parser Error: ".red); puts("The specified project path #{project_path} could not be found!")
76
+ @logger.error("Parser Error: The project path #{project_path} could not be found!")
77
+ exit!
78
+ end
79
+ end
80
+
81
+ opts.on("-e", "--exe EXE", "Exe file name") do |exe|
82
+ @params[:exe] = exe
83
+ end
84
+
85
+ opts.on("-r", "--ruby RUBY_PATH", String, "Ruby interpreter path") do |ruby_path|
86
+ ruby_path.strip!
87
+ if Dir.exist?("#{ruby_path}")
88
+ if Dir.exist?(File.join(ruby_path, "bin"))
89
+ @params[:ruby_path] = ruby_path
90
+ end
91
+ else
92
+ print("Parser Error: ".red); puts("The specified Ruby path #{ruby_path} could not be found!")
93
+ @logger.error("Parser Error: The specified Ruby path #{ruby_path} could not be found!")
94
+ exit!
95
+ end
96
+ end
97
+
98
+ opts.on("--gcc") do
99
+ @params[:use_gcc] = true
100
+ end
101
+
102
+ opts.on("-m", "--main MAIN_FILE", String, "Path to the main ruby file of the project") do |main_file|
103
+ main_file.strip!
104
+ if File.exist?(main_file)
105
+ @params[:main_file] = main_file
106
+ else
107
+ print("Parser Error: ".red); puts("The specified file #{main_file} could not be found!")
108
+ @logger.error("Parser Error: The specified file #{main_file} could not be found!")
109
+ exit!
110
+ end
111
+ end
112
+
113
+ opts.on("-c", "--threads THREADS", Integer, "Number of threads to use (default is 5)") do |threads|
114
+ if threads.is_a?(Integer)
115
+ @params[:threads] = threads
116
+ else
117
+ print("Parser Error: ".red); puts("Invalid value for threads. Please provide an integer.")
118
+ @logger.error("Parser Error: Invalid value for threads.")
119
+ exit!
120
+ end
121
+ end
122
+
123
+ opts.on("-l", "--launcher LAUNCHER", String, "Launcher file name.type (vbs or bat-cmd)") do |launcher|
124
+ launcher.strip!
125
+ if launcher.include?(".vbs")
126
+ @params[:launcher] = launcher
127
+ @params[:launcher_type] = "vbs"
128
+ @params[:launcher_name] = File.basename(launcher)
129
+ elsif launcher.include?(".bat")
130
+ @params[:launcher] = launcher
131
+ @params[:launcher_type] = "bat"
132
+ @params[:launcher_name] = File.basename(launcher)
133
+ elsif launcher.include?(".cmd")
134
+ @params[:launcher] = launcher
135
+ @params[:launcher_type] = "cmd"
136
+ @params[:launcher_name] = File.basename(launcher)
137
+ else
138
+ print("Parser Error: ".red); puts("The supported launcher #{launcher} could not be found!")
139
+ @logger.error("Parser Error: The supported launcher path #{launcher} could not be found!")
140
+ exit!
141
+ end
142
+ end
143
+
144
+ opts.on("-t", "--template TEMPLATE", "Template file for launcher") do |template|
145
+ template.strip!
146
+ if File.exist?(template)
147
+ @params[:template] = template
148
+ else
149
+ print("Parser Error: ".red); puts("The specified template file #{template} could not be found!")
150
+ @logger.error("Parser Error: The specified template file #{template} could not be found!")
151
+ exit!
152
+ end
153
+ end
154
+
155
+ opts.on("-g", "--gui", "Project mode with visual interface") do
156
+ @params[:gui] = true
157
+ end
158
+
159
+ opts.on("-v", "--version") do
160
+ puts "Standalone Ruby Gem Version 1.4"
161
+ exit!
162
+ end
163
+
164
+ opts.on("-h", "--help", "Show this help message") do
165
+ display_help
166
+ exit!
167
+ end
168
+
169
+ normalize_paths!
170
+ end.parse!
171
+
172
+ if @params[:project_path].nil? || @params[:ruby_path].nil? || @params[:main_file].nil?
173
+ print("Error: ".red); puts("Missing required parameters. Please provide the necessary parameters:\n -p, -r, -m.\nYou can use the -h parameter for the help menu.")
174
+ @logger.error("Parser Error: Missing required parameters.")
175
+ exit!
176
+ end
177
+
178
+ rescue Exception => e
179
+ print("Parser Error: ".red); puts("#{e.message}".red)
180
+ @logger.error("Parser Error: #{e.message}")
181
+ exit!
182
+ end
183
+ end
184
+
185
+ def params
186
+ @params
187
+ end
188
+ end
189
+
190
+ class String
191
+ def red
192
+ "\e[31m#{self}\e[0m"
193
+ end
194
+
195
+ def green
196
+ "\e[32m#{self}\e[0m"
197
+ end
198
+
199
+ def magenta
200
+ "\e[35m#{self}\e[0m"
201
+ end
202
+
203
+ def yellow
204
+ "\e[33m#{self}\e[0m"
205
+ end
206
+ end
@@ -1,27 +1,27 @@
1
- require_relative 'logger_helper'
2
-
3
- class RubyCopy
4
- def initialize(params)
5
- @params = params
6
- @logger = LoggerHelper.instance
7
- end
8
-
9
- def robocopy_interpreter
10
- begin
11
- puts("\nThe Ruby interpreter copying process has been started.")
12
- print("WARNING: ".yellow); puts("If you are using a development kit, the copying process may take a long time.")
13
-
14
- @logger.info("Robocopy process started using backticks.")
15
- copy_output = `robocopy "#{@params[:ruby_path]}" "#{File.join(@params[:project_path].to_s, File.basename(@params[:ruby_path].to_s))}" /E /MT:#{@params[:threads].to_i} /V /ETA /NFL /NDL /R:1000000 /W:30 /NP`
16
- puts "Robocopy Command: robocopy \"#{@params[:ruby_path]}\" \"#{File.join(@params[:project_path], File.basename(@params[:ruby_path]))}\" /E /MT:#{@params[:threads].to_i} /V /ETA /NFL /NDL /R:1000000 /W:30 /NP"
17
-
18
- puts copy_output
19
- @logger.info("Robocopy output printed to screen.")
20
-
21
- puts("The Ruby interpreter copying process has been completed.")
22
- rescue Exception => e
23
- print("Copy Error: ".red); puts("#{e.message}".red)
24
- @logger.error("Copy Error: #{e.message}")
25
- end
26
- end
1
+ require_relative 'logger_helper'
2
+
3
+ class RubyCopy
4
+ def initialize(params)
5
+ @params = params
6
+ @logger = LoggerHelper.instance
7
+ end
8
+
9
+ def robocopy_interpreter
10
+ begin
11
+ puts("\nThe Ruby interpreter copying process has been started.")
12
+ print("WARNING: ".yellow); puts("If you are using a development kit, the copying process may take a long time.")
13
+
14
+ @logger.info("Robocopy process started using backticks.")
15
+ copy_output = `robocopy "#{@params[:ruby_path]}" "#{File.join(@params[:project_path].to_s, File.basename(@params[:ruby_path].to_s))}" /E /MT:#{@params[:threads].to_i} /V /ETA /NFL /NDL /R:1000000 /W:30 /NP`
16
+ puts "Robocopy Command: robocopy \"#{@params[:ruby_path]}\" \"#{File.join(@params[:project_path], File.basename(@params[:ruby_path]))}\" /E /MT:#{@params[:threads].to_i} /V /ETA /NFL /NDL /R:1000000 /W:30 /NP"
17
+
18
+ puts copy_output
19
+ @logger.info("Robocopy output printed to screen.")
20
+
21
+ puts("The Ruby interpreter copying process has been completed.")
22
+ rescue Exception => e
23
+ print("Copy Error: ".red); puts("#{e.message}".red)
24
+ @logger.error("Copy Error: #{e.message}")
25
+ end
26
+ end
27
27
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standalone-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arda Tetik
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-04 00:00:00.000000000 Z
10
+ date: 2025-04-06 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Make your projects installation independent!
13
13
  email:
@@ -20,11 +20,85 @@ files:
20
20
  - CHANGELOG.md
21
21
  - bin/standalone-ruby
22
22
  - lib/data/bat-cmd/default_bat_cmd.txt
23
- - lib/data/bat/default_bat.txt
23
+ - lib/data/exe_template/launcher_stub.c
24
+ - lib/data/exe_template/launcher_stub.cpp
25
+ - lib/data/tcc/include/_mingw.h
26
+ - lib/data/tcc/include/assert.h
27
+ - lib/data/tcc/include/conio.h
28
+ - lib/data/tcc/include/ctype.h
29
+ - lib/data/tcc/include/dir.h
30
+ - lib/data/tcc/include/direct.h
31
+ - lib/data/tcc/include/dirent.h
32
+ - lib/data/tcc/include/dos.h
33
+ - lib/data/tcc/include/errno.h
34
+ - lib/data/tcc/include/excpt.h
35
+ - lib/data/tcc/include/fcntl.h
36
+ - lib/data/tcc/include/fenv.h
37
+ - lib/data/tcc/include/float.h
38
+ - lib/data/tcc/include/inttypes.h
39
+ - lib/data/tcc/include/io.h
40
+ - lib/data/tcc/include/limits.h
41
+ - lib/data/tcc/include/locale.h
42
+ - lib/data/tcc/include/malloc.h
43
+ - lib/data/tcc/include/math.h
44
+ - lib/data/tcc/include/mem.h
45
+ - lib/data/tcc/include/memory.h
46
+ - lib/data/tcc/include/process.h
47
+ - lib/data/tcc/include/setjmp.h
48
+ - lib/data/tcc/include/share.h
49
+ - lib/data/tcc/include/signal.h
50
+ - lib/data/tcc/include/stdarg.h
51
+ - lib/data/tcc/include/stdbool.h
52
+ - lib/data/tcc/include/stddef.h
53
+ - lib/data/tcc/include/stdint.h
54
+ - lib/data/tcc/include/stdio.h
55
+ - lib/data/tcc/include/stdlib.h
56
+ - lib/data/tcc/include/string.h
57
+ - lib/data/tcc/include/sys/fcntl.h
58
+ - lib/data/tcc/include/sys/file.h
59
+ - lib/data/tcc/include/sys/locking.h
60
+ - lib/data/tcc/include/sys/stat.h
61
+ - lib/data/tcc/include/sys/time.h
62
+ - lib/data/tcc/include/sys/timeb.h
63
+ - lib/data/tcc/include/sys/types.h
64
+ - lib/data/tcc/include/sys/unistd.h
65
+ - lib/data/tcc/include/sys/utime.h
66
+ - lib/data/tcc/include/tchar.h
67
+ - lib/data/tcc/include/time.h
68
+ - lib/data/tcc/include/unistd.h
69
+ - lib/data/tcc/include/values.h
70
+ - lib/data/tcc/include/varargs.h
71
+ - lib/data/tcc/include/wchar.h
72
+ - lib/data/tcc/include/wctype.h
73
+ - lib/data/tcc/include/winapi/basetsd.h
74
+ - lib/data/tcc/include/winapi/basetyps.h
75
+ - lib/data/tcc/include/winapi/winbase.h
76
+ - lib/data/tcc/include/winapi/wincon.h
77
+ - lib/data/tcc/include/winapi/windef.h
78
+ - lib/data/tcc/include/winapi/windows.h
79
+ - lib/data/tcc/include/winapi/winerror.h
80
+ - lib/data/tcc/include/winapi/wingdi.h
81
+ - lib/data/tcc/include/winapi/winnetwk.h
82
+ - lib/data/tcc/include/winapi/winnls.h
83
+ - lib/data/tcc/include/winapi/winnt.h
84
+ - lib/data/tcc/include/winapi/winreg.h
85
+ - lib/data/tcc/include/winapi/winsvc.h
86
+ - lib/data/tcc/include/winapi/winuser.h
87
+ - lib/data/tcc/include/winapi/winver.h
88
+ - lib/data/tcc/lib/gdi32.def
89
+ - lib/data/tcc/lib/kernel32.def
90
+ - lib/data/tcc/lib/libtcc1.a
91
+ - lib/data/tcc/lib/msvcrt.def
92
+ - lib/data/tcc/lib/user32.def
93
+ - lib/data/tcc/tcc.exe
94
+ - lib/data/tcc/tiny_impdef.exe
95
+ - lib/data/tcc/tiny_libmaker.exe
24
96
  - lib/data/vbs/default_vbs.txt
25
97
  - lib/data/vbs/vbs_gui.txt
26
98
  - lib/standalone_ruby.rb
99
+ - lib/utils/config_generator.rb
27
100
  - lib/utils/displayer.rb
101
+ - lib/utils/exe_packer.rb
28
102
  - lib/utils/launcher.rb
29
103
  - lib/utils/launcher_handler.rb
30
104
  - lib/utils/logger_helper.rb
@@ -1,9 +0,0 @@
1
- @echo off
2
- setlocal
3
-
4
- set "RUBY_PATH=%~dp0STANDALONE_RUBY_PATH"
5
- set "SCRIPT_PATH=%~dp0STANDALONE_MAIN_FILE"
6
-
7
- start "" /B "%RUBY_PATH%" "%SCRIPT_PATH%"
8
-
9
- exit