GithubHelp home page GithubHelp logo

voxelum / deskgap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from branchseer/deskgap

1.0 1.0 2.0 834 KB

A cross-platform desktop app framework based on Node.js and the system webview

Home Page: https://deskgap.com/

License: MIT License

CMake 2.27% CSS 0.31% HTML 2.22% JavaScript 7.65% TypeScript 13.61% C++ 59.20% Objective-C++ 11.96% Objective-C 0.68% C 1.35% Shell 0.73%

deskgap's People

Contributors

branchseer avatar ci010 avatar temporalagent7 avatar ziishaned avatar

Stargazers

 avatar

deskgap's Issues

Goal & Roadmap

The main purpose of this fork is to swap the xmcl runtime from electron to deskgap.

So, the goal of this fork is implementing the APIs used by the xmcl, and these APIs implementations will TRY to be compatible with electron API.

The high priority APIs to implement:

  • Tray, use case, the tray will only support icon via file path for ico on win32, icns on mac, and png on linux.
    • win32
    • mac
    • linux
  • app.setAsDefaultProtocolClient
    • win32
    • mac
    • linux
  • app.requestSingleInstanceLock
    • win32
    • mac
    • linux
  • app.isDefaultProtocolClient
    • win32
    • mac
    • linux
  • app.getLocale
    • win32
    • mac
    • linux
  • app.relaunch
    • win32
    • mac
    • linux
  • win32 window background color (with alpha transparency)

The low priority APIs, which might be dropped if I don't have time:

Can you support access to get drag file path, it very useful

like electron

<div id="main">
  drop file to here
</div>

<script>
  var main = document.getElementById('main');
  main.ondragover = function () {
    return false;
  };
  main.ondragleave = main.ondragend = function () {
    return false;
  };
  main.ondrop = function (e) {
    e.preventDefault();
    var file = e.dataTransfer.files[0];
    console.log('filePath:', file.path);
    return false;
  };
</script>

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.