Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use Resource instead of Filename? #37

Open
Maaacoooo opened this issue Aug 12, 2018 · 1 comment
Open

Is it possible to use Resource instead of Filename? #37

Maaacoooo opened this issue Aug 12, 2018 · 1 comment

Comments

@Maaacoooo
Copy link

I'm doing a custom Sketch Uploader, and I find this handy.
However, would like to ask if it is possible to use a Resource rather than a filename/file location.

@christophediericx
Copy link
Collaborator

Hi Maaacoooo,

Thank you for your interest in this library, and sorry for the late response. I think the following UploadSketch overload is usable for your purposes (e.g. you can save the file contents as a resource, and then feed it to the method as List): https://github.com/christophediericx/ArduinoSketchUploader/blob/7781f9459f34a493793dd1ad9126dcea3d650032/Source/ArduinoUploader/ArduinoSketchUploader.cs#L54

Best regards,

Christophe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants