Code Monkey home page Code Monkey logo

Comments (8)

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 23, 2024 1

I am currently working on YAML based recipes similar to pkg2appimage, this is the reason for the absence of a "hello world". I wrote this script to demonstration, is basically the same of README.md but using a real application:

#!/usr/bin/env bash

PATH=".:${PATH}"

download_urls=(
  "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
  "https://web.archive.org/web/2016/https://dl.google.com/picasa/picasa39-setup.exe"
  "https://github.com/sudo-give-me-coffee/win32-appimage/releases/download/continuous/Wine-4.21-x86_64.AppImage"
  )

# Download assets
wget -q -c --show-progress --progress=bar:force:noscroll ${download_urls[@]}

# Turns AppImages executables:
chmod +x *.AppImage

# Create the bottle
./Wine-4.21-x86_64.AppImage create-bottle "Picasa 3"

# Install Picasa
./Wine-4.21-x86_64.AppImage install       "Picasa 3" ./picasa39-setup.exe  /S /L

# Strip unneeded files:
./Wine-4.21-x86_64.AppImage --strip       "Picasa 3" mesa3D mono gecko style

# Remove application specific unneeded files (TODO: Native solution)
rm "Picasa_3/prefix/drive_c/Program Files/Google/Picasa3/PicasaPhotoViewer.exe"

# Create the package
./Wine-4.21-x86_64.AppImage package "Picasa 3"                                         \
                                    "C:/Program Files/Google/Picasa3/Picasa3.exe"      \
                                    "Graphics"                                         \
                                    "$(find ./Picasa_3 | grep Picasa3 | grep 256x256)"

# Build the AppImage
ARCH=x86_64 ./appimagetool-x86_64.AppImage "Picasa_3"

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 23, 2024 1

Hi, very cool project.

Thanks a lot. I hope that’s example is helpful, feel free to post any questions, report a problem or suggest a feature

from wine32-deploy.

probonopd avatar probonopd commented on May 23, 2024

Very cool. I think I know a killer application, one that many Linux users would like to use but is traditionally very hard to get running properly on WINE:

https://gist.github.com/probonopd/0fab254aa0b6fc371d8db641822bd530#wine-on-linux

from wine32-deploy.

probonopd avatar probonopd commented on May 23, 2024

Following the example given. Am I caught in an infinite loop? Would be good to know how many passes this will do...

Copying Wine32-AppImage...
Removing unneeded files...
Purging temporary dir...
Purging Gecko...
Removing Mesa32...
Purging Mono...
Deduplicating files...
Removing unnecessary bytes...
Purging temporary dir...
Deduplicating files...
Removing unnecessary bytes...
Purging temporary dir...
Deduplicating files...
Removing unnecessary bytes...
Purging temporary dir...
Deduplicating files...
Removing unnecessary bytes...
Purging temporary dir...
Deduplicating files...
Removing unnecessary bytes...
Purging temporary dir...
Deduplicating files...
Removing unnecessary bytes...
Purging temporary dir...
Deduplicating files...
Removing unnecessary bytes...
Purging temporary dir...
Deduplicating files...

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 23, 2024

Am I caught in an infinite loop?

Yes and it's my fault, I'm sorry,

In this example script i has added this line:

PATH=".:${PATH}"

To avoid using ./ when calling Wine-4.21-x86_64.AppImage. The problem is that this commit commit was still sent to GitHub. So strip script is self calling instead calling the system strip.

Would be good to know how many passes this will do...

Is 10 steps, generally done between 1 and 3 minutes, on a Celeron 450 with 2 Ghz

Copying Wine32-AppImage...
Removing unneeded files...
Purging temporary dir...
Purging Gecko...
Removing Mesa32...
Purging Mono...
Deduplicating files...
Removing unnecessary bytes...
Done!
Getting differential entries on regedit...

I will add a counter

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 23, 2024

In the case of Fusion 360, is a 32 bits application?

from wine32-deploy.

probonopd avatar probonopd commented on May 23, 2024

Err, good point. I think it is 64bit.

from wine32-deploy.

probonopd avatar probonopd commented on May 23, 2024

The Picasa example works great for me. So satisfying to see. Awesome work πŸ‘

from wine32-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.