Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
subhaniminhas opened this issue Jun 20, 2024 · 0 comments

Comments

@subhaniminhas
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant