GithubHelp home page GithubHelp logo

alexanderadam / ade2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ideologysec/ade2

1.0 1.0 0.0 285 KB

Adobe Digital Editions v2.0.1 in a Snap package

Home Page: https://github.com/ideologysec/ade2

License: MIT License

Shell 100.00%

ade2's Introduction

ADEv2
Adobe Digital Editions 2.0.1

This is the snap for Adobe Digital Editions v2.0.1. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

Published for with ๐Ÿ’ by Snapcrafters

Install

snap install ade2

(Don't have snapd installed?)

Adobe Digital Editions v2.0.1

Reusing this snap

You can use this snap as a reference for creating snaps of other WINE compatible 32-bit Windows applications or games. Here are the main things you'll need to modify:

  • Change the meta data and apps: and parts: names from tsun.
  • Modify the command: to reference the executable the application/game should launch.
  • If you can't redistrbute the application/game use INSTALL_URL: to reference a web accessible installer.
  • Modify the install_app() and launch_app() functions in snap/scripts/sommelier to suit the application/game you're snapping.
  • Modify the TITLE and NOTICE in snap/scripts/sommelier to suit the application/game you're snapping.
  • If you can't redistrbute the application/game use INSTALL_URL: in the environment: of the main command: to reference a web accessible installer.
  • Some games require a virtual desktop to function correctly. Add VIRTDESKTOP: 1 to the environment: of the main command: to enable virtual desktop or set it to 0 or remove it completely to disable a virtual desktop.
  • Some applications/games require that WINE DLLs are overriden, you can specify then via DLLOVERRIDES: in the environment: of the main command:.
  • If the application/game requires some winetricks to work then you can specify them via TRICKS: in the environment: of the main command:.

Here's an example environment: that shows how to use some of the capabilities outlined above:

    environment:
      WINEPREFIX: "$SNAP_USER_COMMON/.wine"
      DLLOVERRIDES: "mscoree,mshtml=" # Prevent pop-ups about Wine Mono and Wine Gecko
      INSTALL_URL: "https://www.xyz.com/setup.exe"
      TRICKS: "winxp corefonts d3dx9_43"
      VIRTDESKTOP: 1
      LC_ALL: "C.UTF-8"

One other point of interest is that yad is staged in the snap and a faux zenity script is included that execs yad. We do this because yad is argument compatible with zenity but pulls far fewer package dependencies.

If you have any questions about creating snaps of WINE compatible Windows applications then post in the Snapcraft forum.

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.