Boxedwine icon indicating copy to clipboard operation
Boxedwine copied to clipboard

Make it to where people can upload files to boxed wine even in browser.

Open blind09 opened this issue 2 years ago • 3 comments

blind09 avatar Nov 28 '21 04:11 blind09

You are able to manually add files to the root filesystem (before starting boxedwine) on Windows look at: Users/YOUR_NAME/AppData/Roaming/Boxedwine/Containers/APP_CONTAINER_NAME/root/home/username/.wine/drive_c Emscripten Add upload/download button by editing boxedwine-shell.js and set: DEFAULT_AUTO_RUN = false; Config.showUploadDownload = true; If you want to persist files (d:/) you can change the filesystem from MEMORY to LOCAL STORAGE via: Config.storageMode = STORAGE_LOCAL_STORAGE; There is also an option to use a dropbox account as a back-end, but I haven't tested that in years and probably is now out-of-date. See instructions for more options

kevodwyer avatar Dec 02 '21 16:12 kevodwyer

@kevodwyer Is it possible to load .exe files in Boxedwine from a URL, instead of manually adding them to the root file system?

jarble avatar May 07 '22 21:05 jarble

Yes, you can. See buildFlags.txt mentioned above for instructions. Various options:

  • directly add fetch() call to the boxedwine-shell.js
  • use existing &app-payload=[base64 string] url parameter
  • use drag and drop to copy a zip file onto the canvas or use existing upload button
  • for full control - build upon boxedwine-shell-simple.js example in the project/emscripten directory

kevodwyer avatar May 09 '22 09:05 kevodwyer