Skip to content

How to save 60 plus MBs while installing an Electron App for a web link  #323

@subhaniminhas

Description

@subhaniminhas

So here is what i did to save me the trouble of installing a deb file

  1. Create an html file like this:
<title>AI Engines</title> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; } .button-container { display: flex; justify-content: center; align-items: center; height: 100vh; flex-wrap: wrap; } a.button { display: inline-block; padding: 20px; margin: 10px; background-color: #4CAF50; color: white; text-align: center; text-decoration: none; font-size: 24px; border: 2px solid #4CAF50; border-radius: 5px; transition: all 0.3s; cursor: pointer; } a.button:hover { background-color: white; color: #4CAF50; border: 2px solid #4CAF50; } </style>
<script>
    function openNewWindow(url) {
        var height = window.screen.height - 100;
        var width = window.screen.width / 3;
        var left = window.screen.width;
        window.open(url, '_blank', 'height=' + height + ',width=' + width + ',left=' + left);
        window.close();
    }
</script>
  1. Put the link on desktop. Open it to use all these links.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions