bitburner-src/src/Script
Alain Bryden ef23033b2c #1773 - Fix duplicate file extensions
For some time now, filenames have included the extension, so there's no need to append ".js" either on a single-file download or zip download.

While I was in the area, I also fixed .txt files in a folder - they had the same bug as scripts used to (appear in the zip as an underscore). I consolidated the code since it was the same for script files and text files.

I also added the ability to download *.js and *.ns (previously only supported *, *.script, and *.txt)

I also made the wildcard matching just a bit more flexible, so if someone really wanted to, they could go "download *blah.js" and get all scripts ending with that pattern ¯\_(ツ)_/¯
2021-11-25 23:06:13 -04:00
..
isScriptFilename.ts convert to ts 2021-09-24 16:34:21 -04:00
RamCalculationErrorCodes.ts prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00
RamCalculations.ts dont run inf loop check on ns1 scripts 2021-10-29 01:23:15 -04:00
RunningScript.ts working on timestamps and make netscript function highlight more specific. 2021-11-11 10:07:16 -05:00
RunningScriptHelpers.ts more convertion from ip to hostname 2021-10-07 16:56:01 -04:00
Script.ts #1773 - Fix duplicate file extensions 2021-11-25 23:06:13 -04:00
ScriptHelpers.ts finish convert to hostname 2021-10-07 17:55:49 -04:00
ScriptUrl.ts prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00