![]() |
|
[C#] File size pretty big (Selenium) - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] File size pretty big (Selenium) (/showthread.php?tid=6095721) |
File size pretty big (Selenium) - zxPhantomBlade - Jul 17, 2020 Hello, I have made a small tool which uses selenium and the geckodriver (for Firefox) aswell as the Webdriver.dll file. In order for other people to use it they must have both the geckodriver and the Webdriver.dll so i embeded them into the C# project and when the program runs it extracts both files in the current directory so i can run selenium. Now the problem is, that the file size is now 11 MB big which is pretty huge. How can i reduce the file size? RE: File size pretty big (Selenium) - Sickness - Jul 17, 2020 (Jul 17, 2020 12:34 PM)zxPhantomBlade Wrote: Hello, Host those files online and whenever the program initializes just check if they have that files, if not download them from the internet automatically with a WebClient. RE: File size pretty big (Selenium) - iolaka - Jul 17, 2020 (Jul 17, 2020 12:43 PM)Sickness. Wrote: Host those files online and whenever the program initializes just check if they have that files, if not download them from the internet. That's the same thing as downloading them from the get-go. Zip your file/folder with best compression. RE: File size pretty big (Selenium) - Accord - Jul 17, 2020 Use installer, and let the installer do its job |