Go Down

Topic: (Windows) Packaging the arduino app with custom libraries and sketchbook (Read 429 times) previous topic - next topic

lloudermilk

Hello all,
I'm interested in packaging the Arduino app with a custom sketchbook and library set that works without the receiver of the package having to do any editing of preferences. I would like a user be able to unzip the package I create, open the arduino app for the first time, and have their sketchbook and libraries listed and ready to upload.
For the Mac version of the Arduino app I found this fairly simple as all the necessary files to be included are in the "package contents" of the app. However, I run into the issue with the Windows version where the preferences.txt file in AppData/Roaming/Arduino is essential to changing the sketchbook directory yet is not created until after the app opens for the first time. I have tried altering the preferences.txt file in the lib folder but that doesn't seem to work.
Is there a way to include the preferences.txt file in AppData in the package that I want to distribute?

Thanks,

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview